The RMSD values compare the latest model before a structure of the same receptor in the same state was published. Documentation


Loading...
ROOT-MEAN-SQUARE DEVIATION (Å)
RECEPTOR
EXPERIMENTAL STRUCTURE
MODEL
MAIN TEMPLATE
Overall
all
Overall
backbone
7TM
all
7TM
backbone
H8 ICL1 ECL1 ICL2 ECL2 ECL3
UniProt
IUPHAR Receptor family Cl.
PDB
State Degree
active (%)
Version Note GN seq.
id. (%)
GN seq.
sim. (%)
UniProt
IUPHAR Receptor family Species
PDB
State Degree
active (%)
Resolution
7.1 6.1 4.0 2.8 21.5 5.2 4.0 2.8 8.7 7.3 PE2R4 EP4 Prostanoid A (Rhodopsin) 5YWY Inactive 15 2018-07-17 TM5 modeled incorrectly due to alignment shift in TM5. The orientation of H8 is different in the structure than what was expected 18 37 5HT2C 5-HT2C 5-Hydroxytryptamine Human 6BQH Inactive 1 2.7
8.3 8.0 7.3 7.0 16.3 - 6.6 5.3 8.6 13.2 TA2R TP Prostanoid A (Rhodopsin) 6IIU Intermediate 35 2018-07-17 TM5 modeled incorrectly due to alignment shift in TM5. The orientation of H8 is different in the structure than what was expected 16 35 5HT2C 5-HT2C 5-Hydroxytryptamine Human 6BQH Inactive 1 2.7
3.6 2.5 2.7 1.8 0.4 1.6 3.0 3.5 3.8 - NK1R NK1 Tachykinin A (Rhodopsin) 6HLP Inactive 1 2018-07-17 - 30 50 OX2R OX2 Orexin Human 5WS3 Inactive 1 2.3
3.7 2.9 3.4 2.5 4.7 1.1 - 4.6 3.4 5.9 PTH1R PTH1 Parathyroid hormone B1 (Secretin) 6FJ3 Inactive 0 2018-07-17 - 42 60 GLP1R GLP-1 Glucagon Human 5VEW Inactive 0 2.7
4.4 3.7 2.7 2.1 5.5 2.2 2.9 1.7 10.4 5.5 CNR2 CB2 Cannabinoid A (Rhodopsin) 5ZTY Inactive 5 2019-01-31 - 48 67 CNR1 CB1 Cannabinoid Human 5TGZ Inactive 10 2.8
2.9 2.1 2.3 1.8 0.7 0.5 1.7 6.2 0.9 5.3 5HT2A 5-HT2A 5-Hydroxytryptamine A (Rhodopsin) 6A94 Inactive 1 2019-01-31 - 70 83 5HT2C 5-HT2C 5-Hydroxytryptamine Human 6BQH Inactive 1 2.7
5.5 4.4 3.9 2.6 5.6 3.0 7.6 1.6 9.1 4.9 GPR52 GPR52 A orphans A (Rhodopsin) 6LI0 Intermediate 42 2019-03-14 Target is closer to an intermediate activation state than inactive 21 41 5HT2A 5-HT2A 5-Hydroxytryptamine Human 6A94 Inactive 1 2.9
5.1 4.3 3.0 2.3 2.9 4.6 5.4 1.8 13.3 7.7 MTR1B MT2 Melatonin A (Rhodopsin) 6ME6 Inactive 1 2019-03-14 - 24 47 OX2R OX2 Orexin Human 5WS3 Inactive 1 2.3
6.3 5.8 6.2 5.8 4.5 2.3 - 5.5 8.2 4.2 MC4R MC4 Melanocortin A (Rhodopsin) 6W25 Intermediate 49 2019-03-14 Target is closer to an intermediate activation state than inactive. TM5 modeled incorrectly due to alignment shift in ECL2 and TM5 27 49 S1PR1 S1P1 Lysophospholipid (S1P) Human 3V2Y Inactive 1 2.8
4.7 3.8 3.4 2.5 1.7 3.7 4.4 6.9 9.8 8.3 MTR1A MT1 Melatonin A (Rhodopsin) 6ME2 Inactive 1 2019-03-14 - 25 49 NPY1R Y1 Neuropeptide Y Human 5ZBH Inactive 0 3.0
3.4 2.6 2.7 2.0 2.0 3.8 1.1 6.9 4.7 - CCR7 CCR7 Chemokine A (Rhodopsin) 6QZH Inactive 6 2019-03-14 - 39 62 CCR5 CCR5 Chemokine Human 5UIW Inactive 26 2.2
3.7 2.7 2.5 1.8 0.9 0.8 4.1 4.7 7.2 4.1 ADA2C α2C Adrenoceptors A (Rhodopsin) 6KUW Inactive 1 2019-03-14 - 42 63 DRD2 D2 Dopamine Human 6CM4 Inactive 0 2.9
3.1 2.3 2.6 1.7 1.7 3.1 3.8 4.1 5.7 3.7 ADA2A α2A Adrenoceptors A (Rhodopsin) 6KUX Inactive 1 2019-03-14 - 43 64 DRD2 D2 Dopamine Human 6CM4 Inactive 0 2.9
1.6 1.2 1.4 1.0 1.8 0.8 0.7 2.6 0.9 1.4 ACM5 M5 Acetylcholine (muscarinic) A (Rhodopsin) 6OL9 Inactive 4 2019-03-14 - 80 93 ACM3 M3 Acetylcholine (muscarinic) Rat 4U15 Inactive 4 2.8
3.4 2.4 3.0 1.9 2.1 0.8 3.0 4.2 3.8 - CXCR2 CXCR2 Chemokine A (Rhodopsin) 6LFL Inactive 6 2019-09-02 - 41 63 CCR7 CCR7 Chemokine Human 6QZH Inactive 6 2.1
7.0 6.3 3.2 2.4 - 4.8 6.6 9.5 15.3 2.6 GABR2 GABAB2 GABAB C (Glutamate) 6VJM Inactive 6 2020-07-30 - 20 40 GRM5 mGlu5 Metabotropic glutamate Human 4OO9 Inactive 15 2.6
5.5 4.9 2.8 2.0 - 1.3 11.1 - 10.1 5.4 GABR1 GABAB1 GABAB C (Glutamate) 6W2Y Inactive 0 2020-07-30 - 19 40 GRM5 mGlu5 Metabotropic glutamate Human 4OO9 Inactive 15 2.6
3.5 2.5 3.0 2.3 - - 3.0 2.8 3.4 3.1 OXYR OT Vasopressin and oxytocin A (Rhodopsin) 6TPK Inactive 20 2020-07-30 - 19 39 NK1R NK1 Tachykinin Human 6HLP Inactive 1 2.2
3.9 2.7 3.1 2.1 2.1 4.7 2.9 4.0 3.3 - GHSR ghrelin Ghrelin A (Rhodopsin) 6KO5 Inactive 1 2020-07-30 - 35 53 NTR1 NTS1 Neurotensin Rat 4BUO Inactive 3 2.8
4.6 4.4 3.0 2.3 - - 5.7 - 8.8 4.5 GNRHR GnRH1 Gonadotrophin-releasing hormone A (Rhodopsin) 7BR3 Inactive 20 2020-09-02 - 27 50 OXYR OT Vasopressin and oxytocin Human 6TPK Inactive 20 3.2
5.7 4.9 2.4 1.4 2.3 2.4 17.4 1.5 1.1 - FZD5 FZD5 Frizzled F (Frizzled) 6WW2 Inactive 17 2020-09-02 GPCRdb ECL1 was modeled freely without a template 58 75 FZD4 FZD4 Frizzled Human 6BD4 Inactive 17 2.4
«

Versions

Package Name Version
Django 2.2.1
Python 3.6.7
debug_toolbar Debug Toolbar 1.11
polymorphic Polymorphic 2.0.3
rest_framework Django REST framework 3.9.3
rest_framework_swagger Rest_Framework_Swagger 2.2.0

Time

Resource usage

Resource Value
User CPU time 4408.352 msec
System CPU time 256.495 msec
Total CPU time 4664.847 msec
Elapsed time 4767.783 msec
Context switches 344 voluntary, 38 involuntary

Browser timing

Timing attribute Timeline Milliseconds since navigation start (+length)

Settings from protwis.settings

Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS []
ALLOWED_HOSTS ['*']
APPEND_SLASH True
AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS '********************'
AUTH_USER_MODEL 'auth.User'
BASE_DIR '/home/protwis/gpcrdb_test'
BUILD_CACHE_DIR '/home/protwis/gpcrdb_data/cache'
CACHES {'alignments': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/home/protwis/caches/test_alignment', 'OPTIONS': {'MAX_ENTRIES': 1000}}, 'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/home/protwis/caches/test/', 'OPTIONS': {'MAX_ENTRIES': 10000000}}}
CACHE_MIDDLEWARE_ALIAS 'default'
CACHE_MIDDLEWARE_KEY_PREFIX '********************'
CACHE_MIDDLEWARE_SECONDS 600
CSRF_COOKIE_AGE 31449600
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_HTTPONLY False
CSRF_COOKIE_NAME 'csrftoken'
CSRF_COOKIE_PATH '/'
CSRF_COOKIE_SAMESITE 'Lax'
CSRF_COOKIE_SECURE False
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS []
CSRF_USE_SESSIONS False
DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'protwis_202107', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'protwis'}}
DATABASE_ROUTERS []
DATA_DIR '/home/protwis/gpcrdb_data'
DATA_UPLOAD_MAX_MEMORY_SIZE 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS 1000
DATETIME_FORMAT 'N j, Y, P'
DATETIME_INPUT_FORMATS ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEBUG_TOOLBAR_PATCH_SETTINGS False
DECIMAL_SEPARATOR '.'
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_NUMBERING_SCHEME 'gpcrdb'
DEFAULT_PROTEIN_STATE 'inactive'
DEFAULT_SITE 'gpcr'
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS []
DOCUMENTATION_URL 'https://docs.gpcrdb.org/'
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'localhost'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PORT 25
EMAIL_SSL_CERTFILE None
EMAIL_SSL_KEYFILE '********************'
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_TIMEOUT None
EMAIL_USE_LOCALTIME False
EMAIL_USE_SSL False
EMAIL_USE_TLS False
FILE_CHARSET 'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS None
FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
FILE_UPLOAD_PERMISSIONS None
FILE_UPLOAD_TEMP_DIR None
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS []
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH None
FORM_RENDERER 'django.forms.renderers.DjangoTemplates'
GOOGLE_ANALYTICS_API '********************'
GOOGLE_ANALYTICS_KEY '********************'
IGNORABLE_404_URLS []
INSTALLED_APPS ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'debug_toolbar', 'rest_framework', 'rest_framework_swagger', 'polymorphic', 'common', 'api', 'news', 'pages', 'home', 'protein', 'family', 'residue', 'alignment', 'similaritysearch', 'similaritymatrix', 'structure', 'ligand', 'interaction', 'mutation', 'phylogenetic_trees', 'sitesearch', 'build_gpcr', 'construct', 'tools', 'drugs', 'signprot', 'signprot2', 'mutational_landscape', 'contactnetwork', 'seqsign', 'angles', 'hotspots')
INTERNAL_IPS '10.0.2.2'
LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI ['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE 'en-us'
LANGUAGE_COOKIE_AGE None
LANGUAGE_COOKIE_DOMAIN None
LANGUAGE_COOKIE_NAME 'django_language'
LANGUAGE_COOKIE_PATH '/'
LOCALE_PATHS []
LOGGING {'disable_existing_loggers': False, 'formatters': {'verbose': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s ' '[%(name)s:%(lineno)s] %(message)s'}, 'verbose_low': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s ' '[%(name)s:%(lineno)s]'}}, 'handlers': {'build': {'class': 'logging.FileHandler', 'filename': 'logs/build.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'django': {'class': 'logging.FileHandler', 'filename': 'logs/django.log', 'formatter': 'verbose', 'level': 'WARNING'}, 'protwis': {'class': 'logging.FileHandler', 'filename': 'logs/protwis.log', 'formatter': 'verbose', 'level': 'DEBUG'}}, 'loggers': {'build': {'handlers': ['build'], 'level': 'DEBUG'}, 'django': {'handlers': ['django'], 'level': 'WARNING', 'propagate': True}, 'protwis': {'handlers': ['protwis'], 'level': 'DEBUG'}}, 'version': 1}
LOGGING_CONFIG 'logging.config.dictConfig'
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_REDIRECT_URL None
MANAGERS []
MEDIA_ROOT '/protwis/media/protwis'
MEDIA_URL '/media/'
MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE ('common.middleware.stats.StatsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')
MIGRATION_MODULES {}
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
PASSWORD_HASHERS '********************'
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
REFERENCE_POSITIONS {'D1S1': 'D1S1x50', 'D1S2': 'D1S2x50', 'D1T1': 'D1T1x50', 'D1e1': 'D1e1x50', 'ECL1': '23x50', 'ECL2': '45x50', 'H8': '8x50', 'ICL1': '12x50', 'ICL2': '34x50', 'TM1': '1x50', 'TM2': '2x50', 'TM3': '3x50', 'TM4': '4x50', 'TM5': '5x50', 'TM6': '6x50', 'TM7': '7x50'}
ROOT_URLCONF 'protwis.urls'
SECRET_KEY '********************'
SECURE_BROWSER_XSS_FILTER False
SECURE_CONTENT_TYPE_NOSNIFF False
SECURE_HSTS_INCLUDE_SUBDOMAINS False
SECURE_HSTS_PRELOAD False
SECURE_HSTS_SECONDS 0
SECURE_PROXY_SSL_HEADER None
SECURE_REDIRECT_EXEMPT []
SECURE_SSL_HOST None
SECURE_SSL_REDIRECT False
SERVER_EMAIL 'root@localhost'
SESSION_CACHE_ALIAS 'default'
SESSION_COOKIE_AGE 86400
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_HTTPONLY True
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SAMESITE 'Lax'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SESSION_SERIALIZER 'django.contrib.sessions.serializers.PickleSerializer'
SETTINGS_MODULE 'protwis.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SIGNING_BACKEND 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS []
SITE_NAME 'gpcr'
SITE_TITLE 'GPCRdb'
STATICFILES_DIRS ('/home/protwis/gpcrdb_test/static',)
STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT '/home/protwis/static_test/'
STATIC_URL '/static/'
SWAGGER_SETTINGS {'USE_SESSION_AUTH': False}
TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'protwis.context_processors.current_site', 'protwis.context_processors.canonical_tag', 'protwis.context_processors.documentation_url', 'protwis.context_processors.google_analytics', 'protwis.context_processors.site_title'], 'debug': True}}]
TEST_NON_SERIALIZED_APPS []
TEST_RUNNER 'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE 'Europe/Copenhagen'
USE_I18N True
USE_L10N True
USE_THOUSAND_SEPARATOR False
USE_TZ True
USE_X_FORWARDED_HOST False
USE_X_FORWARDED_PORT False
WSGI_APPLICATION None
X_FRAME_OPTIONS 'SAMEORIGIN'
YEAR_MONTH_FORMAT 'F Y'

Headers

Request headers

Key Value
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding br,gzip
Accept-Language en-US,en;q=0.5
Connection close
Host test.gpcrdb.org
If-Modified-Since Thu, 30 Jun 2022 09:31:02 GMT
User-Agent CCBot/2.0 (https://commoncrawl.org/faq/)
X-Forwarded-For 44.210.77.106
X-Forwarded-Proto https
X-Real-Ip 44.210.77.106

Response headers

Key Value
Cache-Control max-age=86400
Content-Length 117797
Content-Type text/html; charset=utf-8
Expires Sun, 04 Dec 2022 11:20:54 GMT
Vary Cookie
X-Frame-Options SAMEORIGIN

WSGI environ

Since the WSGI environ inherits the environment of the server, only a significant subset is shown below.

Key Value
PATH_INFO /structure/model_statistics
QUERY_STRING
REMOTE_ADDR
REQUEST_METHOD GET
SCRIPT_NAME
SERVER_NAME test.gpcrdb.org
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.0
SERVER_SOFTWARE gunicorn/19.9.0

Request

View information

View function Arguments Keyword arguments URL name
structure.views.ServeModelStatistics () {} model_statistics

No cookies

No session data

No GET data

No POST data

SQL queries from 1 connection

  •   default 131.32 ms (321 queries including 317 similar and 203 duplicates )
  Query Timeline Time (ms) Action
  +
SELECT ••• "structure_model_rmsd"."id", "structure_model_rmsd"."homology_model_id", "structure_model_rmsd"."target_structure_id", "structure_model_rmsd"."main_template_id", "structure_model_rmsd"."version", "structure_model_rmsd"."seq_id", "structure_model_rmsd"."seq_sim", "structure_model_rmsd"."overall_all", "structure_model_rmsd"."overall_backbone", "structure_model_rmsd"."TM_all", "structure_model_rmsd"."TM_backbone", "structure_model_rmsd"."H8", "structure_model_rmsd"."ICL1", "structure_model_rmsd"."ECL1", "structure_model_rmsd"."ICL2", "structure_model_rmsd"."ECL2", "structure_model_rmsd"."ECL3", "structure_model_rmsd"."binding_pocket", "structure_model_rmsd"."notes" FROM "structure_model_rmsd"
5.411754880619316%
7.11

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "structure"."id", "structure"."protein_conformation_id", "structure"."structure_type_id", "structure"."pdb_code_id", "structure"."state_id", "structure"."author_state_id", "structure"."publication_id", "structure"."preferred_chain", "structure"."resolution", "structure"."publication_date", "structure"."pdb_data_id", "structure"."representative", "structure"."distance_representative", "structure"."contact_representative", "structure"."contact_representative_score", "structure"."inactive_class_contacts_fraction", "structure"."active_class_contacts_fraction", "structure"."class_contact_representative", "structure"."annotated", "structure"."refined", "structure"."distance", "structure"."tm6_angle", "structure"."gprot_bound_likeness", "structure"."sodium", "structure"."signprot_complex_id", "structure"."stats_text_id", "structure"."mammal", "structure"."closest_to_human" FROM "structure" WHERE "structure"."id" IN (1, 3, 131, 5, 140, 13, 146, 25, 48, 49, 51, 312, 455, 72, 79, 80, 337, 86, 601, 345, 93)
1.5940421313686794%
2.09

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."id" IN (55041, 55171, 55177, 54926, 55441, 55442, 55063, 55197, 55214, 55093, 55102, 55360, 54852, 54860, 54864, 55252, 54885, 55146, 55402, 55030, 55033) ORDER BY "protein_conformation"."id" ASC
0.7530850524962736%
0.99

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" IN (55041, 55171, 55177, 54926, 55441, 55442, 55063, 55197, 55214, 55093, 55102, 55360, 54852, 54860, 54864, 55252, 54885, 55146, 55402, 55030, 55033)
  2 similar queries.
1.2892133456547827%
1.69

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" IN (6, 17, 21, 23, 164, 300, 174, 177, 178, 179, 58, 59, 66, 339, 340, 104, 233, 365, 112, 120, 125)
  2 similar queries.
0.48166216110718757%
0.63

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" IN (390, 10, 144, 23, 156, 28, 30, 167, 172, 309, 447, 448, 79, 81, 219, 91, 484, 232, 235, 238, 239) ORDER BY "protein_family"."id" ASC
0.5551914393764716%
0.73

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(166)
  len_values = len(values)
180 </tr>
181 </thead>
182 <tbody>
183 {% for smr in structure_model_rmsds.all %}
184 <tr>
185 <!-- RMSD -->
186 <td class="text-center"><input class="alt" type="checkbox" id="{{ smr.pk }}"></td>
187 <td class="text-center color-set1 color-reverse">{{ smr.overall_all }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 232
  126 similar queries.
0.29157536024807507%
0.38

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 226
  126 similar queries.   Duplicated 2 times.
0.2734199828976346%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 191
  126 similar queries.   Duplicated 3 times.
0.2850394244019165%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 2
  126 similar queries.   Duplicated 17 times.
0.26761026214549355%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59367
  42 similar queries.
0.44498829885929764%
0.58

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.4302824432054408%
0.57

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->
246 <td>{{ smr.version|date:"Y-m-d" }}</td>
247 <td class="expand">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "structure"."id", "structure"."protein_conformation_id", "structure"."structure_type_id", "structure"."pdb_code_id", "structure"."state_id", "structure"."author_state_id", "structure"."publication_id", "structure"."preferred_chain", "structure"."resolution", "structure"."publication_date", "structure"."pdb_data_id", "structure"."representative", "structure"."distance_representative", "structure"."contact_representative", "structure"."contact_representative_score", "structure"."inactive_class_contacts_fraction", "structure"."active_class_contacts_fraction", "structure"."class_contact_representative", "structure"."annotated", "structure"."refined", "structure"."distance", "structure"."tm6_angle", "structure"."gprot_bound_likeness", "structure"."sodium", "structure"."signprot_complex_id", "structure"."stats_text_id", "structure"."mammal", "structure"."closest_to_human" FROM "structure" WHERE "structure"."id" = 127
  21 similar queries.   Duplicated 3 times.
0.6732013921543353%
0.88

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."id" = 55348
  21 similar queries.   Duplicated 3 times.
0.22548978669247152%
0.30

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 55348
  42 similar queries.   Duplicated 3 times.
0.32280260929083276%
0.42

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 8
  42 similar queries.   Duplicated 3 times.
0.3140880281626214%
0.41

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 12
  126 similar queries.   Duplicated 3 times.
0.283042332893368%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 4
  126 similar queries.   Duplicated 5 times.
0.22984707725657727%
0.30

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "species"."id", "species"."latin_name", "species"."common_name" FROM "species" WHERE "species"."id" = 1
  21 similar queries.   Duplicated 19 times.
0.4344581799960421%
0.57

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59460
  42 similar queries.   Duplicated 3 times.
0.26579472441044955%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.25998500365830857%
0.34

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>
267 </tr>
268 {% endfor %}

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 235
  126 similar queries.
0.29084914515405746%
0.38

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 226
  126 similar queries.   Duplicated 2 times.
0.2694257998805376%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 191
  126 similar queries.   Duplicated 3 times.
0.26343452535489226%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 2
  126 similar queries.   Duplicated 17 times.
0.26978890742754646%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59933
  42 similar queries.
0.283042332893368%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 2
  42 similar queries.   Duplicated 3 times.
0.26143743384634377%
0.34

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->
246 <td>{{ smr.version|date:"Y-m-d" }}</td>
247 <td class="expand">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "structure"."id", "structure"."protein_conformation_id", "structure"."structure_type_id", "structure"."pdb_code_id", "structure"."state_id", "structure"."author_state_id", "structure"."publication_id", "structure"."preferred_chain", "structure"."resolution", "structure"."publication_date", "structure"."pdb_data_id", "structure"."representative", "structure"."distance_representative", "structure"."contact_representative", "structure"."contact_representative_score", "structure"."inactive_class_contacts_fraction", "structure"."active_class_contacts_fraction", "structure"."class_contact_representative", "structure"."annotated", "structure"."refined", "structure"."distance", "structure"."tm6_angle", "structure"."gprot_bound_likeness", "structure"."sodium", "structure"."signprot_complex_id", "structure"."stats_text_id", "structure"."mammal", "structure"."closest_to_human" FROM "structure" WHERE "structure"."id" = 127
  21 similar queries.   Duplicated 3 times.
0.396331887560117%
0.52

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."id" = 55348
  21 similar queries.   Duplicated 3 times.
0.2730568753506257%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 55348
  42 similar queries.   Duplicated 3 times.
0.3453152772053791%
0.45

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 8
  42 similar queries.   Duplicated 3 times.
0.34676770739341434%
0.46

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 12
  126 similar queries.   Duplicated 3 times.
0.2741461979916522%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 4
  126 similar queries.   Duplicated 5 times.
0.26688404705147595%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "species"."id", "species"."latin_name", "species"."common_name" FROM "species" WHERE "species"."id" = 1
  21 similar queries.   Duplicated 19 times.
0.2803190262908019%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59460
  42 similar queries.   Duplicated 3 times.
0.2663393857309627%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.26071121875232617%
0.34

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>
267 </tr>
268 {% endfor %}

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 144
  126 similar queries.   Duplicated 2 times.
0.2734199828976346%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 143
  126 similar queries.   Duplicated 2 times.
0.2737830904446434%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 47
  126 similar queries.   Duplicated 5 times.
0.27287532157712135%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 2
  126 similar queries.   Duplicated 17 times.
0.27051512252156407%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59347
  42 similar queries.   Duplicated 2 times.
0.3050103394874011%
0.40

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.26034811120531737%
0.34

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->
246 <td>{{ smr.version|date:"Y-m-d" }}</td>
247 <td class="expand">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "structure"."id", "structure"."protein_conformation_id", "structure"."structure_type_id", "structure"."pdb_code_id", "structure"."state_id", "structure"."author_state_id", "structure"."publication_id", "structure"."preferred_chain", "structure"."resolution", "structure"."publication_date", "structure"."pdb_data_id", "structure"."representative", "structure"."distance_representative", "structure"."contact_representative", "structure"."contact_representative_score", "structure"."inactive_class_contacts_fraction", "structure"."active_class_contacts_fraction", "structure"."class_contact_representative", "structure"."annotated", "structure"."refined", "structure"."distance", "structure"."tm6_angle", "structure"."gprot_bound_likeness", "structure"."sodium", "structure"."signprot_complex_id", "structure"."stats_text_id", "structure"."mammal", "structure"."closest_to_human" FROM "structure" WHERE "structure"."id" = 50
  21 similar queries.   Duplicated 2 times.
0.36238133191479316%
0.48

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."id" = 55036
  21 similar queries.   Duplicated 2 times.
0.45588152526956194%
0.60

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 55036
  42 similar queries.   Duplicated 2 times.
0.3179006574062138%
0.42

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 88
  42 similar queries.   Duplicated 2 times.
0.330064760231009%
0.43

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 122
  126 similar queries.   Duplicated 2 times.
0.27777727346174025%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 120
  126 similar queries.   Duplicated 2 times.
0.2746908593121654%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "species"."id", "species"."latin_name", "species"."common_name" FROM "species" WHERE "species"."id" = 1
  21 similar queries.   Duplicated 19 times.
0.2650685093164319%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59242
  42 similar queries.   Duplicated 2 times.
0.2835869942138812%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.22222181876939223%
0.29

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>
267 </tr>
268 {% endfor %}

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 390
  126 similar queries.
0.19644118293176663%
0.26

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 389
  126 similar queries.
0.2737830904446434%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 369
  126 similar queries.
0.22748687820101998%
0.30

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 368
  126 similar queries.
0.2280315395215332%
0.30

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59470
  42 similar queries.
0.2627083102608746%
0.34

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.26361607912839663%
0.35

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->
246 <td>{{ smr.version|date:"Y-m-d" }}</td>
247 <td class="expand">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "structure"."id", "structure"."protein_conformation_id", "structure"."structure_type_id", "structure"."pdb_code_id", "structure"."state_id", "structure"."author_state_id", "structure"."publication_id", "structure"."preferred_chain", "structure"."resolution", "structure"."publication_date", "structure"."pdb_data_id", "structure"."representative", "structure"."distance_representative", "structure"."contact_representative", "structure"."contact_representative_score", "structure"."inactive_class_contacts_fraction", "structure"."active_class_contacts_fraction", "structure"."class_contact_representative", "structure"."annotated", "structure"."refined", "structure"."distance", "structure"."tm6_angle", "structure"."gprot_bound_likeness", "structure"."sodium", "structure"."signprot_complex_id", "structure"."stats_text_id", "structure"."mammal", "structure"."closest_to_human" FROM "structure" WHERE "structure"."id" = 59
  21 similar queries.
0.4059542375558505%
0.53

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."id" = 55086
  21 similar queries.
0.308096753636976%
0.40

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 55086
  42 similar queries.
0.315722012124161%
0.41

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein"."id", "protein"."parent_id", "protein"."family_id", "protein"."species_id", "protein"."source_id", "protein"."residue_numbering_scheme_id", "protein"."sequence_type_id", "protein"."entry_name", "protein"."accession", "protein"."name", "protein"."sequence" FROM "protein" WHERE "protein"."id" = 296
  42 similar queries.
0.3153589045771522%
0.41

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
254 <!-- Main template -->
255 <td class="text-center color-column">{{ smr.seq_id }}</td>
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 385
  126 similar queries.
0.2719675527095993%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 382
  126 similar queries.
0.27251221403011255%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
256 <td class="text-center color-column">{{ smr.seq_sim }}</td>
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "species"."id", "species"."latin_name", "species"."common_name" FROM "species" WHERE "species"."id" = 1
  21 similar queries.   Duplicated 19 times.
0.27741416591473145%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
257 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.main_template.protein_conformation.protein.parent.accession }}">{{ smr.main_template.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
258 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.main_template.protein_conformation.protein.parent.entry_name }}">{{ smr.main_template.protein_conformation.protein.parent.short|safe }}</a></td>
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59271
  42 similar queries.
0.2752355206326786%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
259 <td class="expand" style="max-width: 80px;"><span>{{ smr.main_template.protein_conformation.protein.family.parent.short|safe }}</span></td>
260 <td>{{ smr.main_template.protein_conformation.protein.species.common_name }}</td>
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_state"."id", "protein_state"."slug", "protein_state"."name" FROM "protein_state" WHERE "protein_state"."id" = 1
  42 similar queries.   Duplicated 39 times.
0.3035579092993658%
0.40

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
261 <td class="pdb text-left">
262 <a target="_blank" href="{{ smr.main_template.pdb_code.index}}">{{ smr.main_template.pdb_code.index}}</a>
263 </td>
264 <td>{{ smr.main_template.state.name }}</td>
265 <td class="text-center">{{ smr.main_template.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
266 <td class="text-center color-column">{{ smr.main_template.resolution|floatformat:"1" }}</td>
267 </tr>
268 {% endfor %}

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 219
  126 similar queries.
0.2846763168549077%
0.37

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 217
  126 similar queries.   Duplicated 2 times.
0.2723306602566081%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
234 <!-- Receptor -->
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 191
  126 similar queries.   Duplicated 3 times.
0.2309363998976037%
0.30

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 2
  126 similar queries.   Duplicated 17 times.
0.22385580273093186%
0.29

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
235 <td><span><a target="_blank" href="https://www.uniprot.org/uniprot/{{ smr.target_structure.protein_conformation.protein.parent.accession }}">{{ smr.target_structure.protein_conformation.protein.parent.entry_short|safe }}</a></span></td>
236 <td class="uniprot"><a target="_blank" href="/protein/{{ smr.target_structure.protein_conformation.protein.parent.entry_name }}">{{ smr.target_structure.protein_conformation.protein.parent.short|safe }}</a></td>
237 <td class="expand" style="max-width: 80px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.short|safe }}</span></td>
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT ••• "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" WHERE "web_link"."id" = 59080
  42 similar queries.
0.2768695045942182%
0.36

Connection: default

/usr/lib/python3.6/concurrent/futures/thread.py in _worker(69)
  work_item.run()
/usr/lib/python3.6/concurrent/futures/thread.py in run(56)
  result = self.fn(*self.args, **self.kwargs)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle(279)
  keepalive = self.handle_request(req, conn)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/gunicorn/workers/gthread.py in handle_request(328)
  respiter = self.wsgi(environ, resp.start_response)
/home/protwis/gpcrdb_test/common/middleware/stats.py in __call__(34)
  response = self.get_response(request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in render(106)
  self.content = self.rendered_content
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/response.py in rendered_content(83)
  content = template.render(context, self._request)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/backends/django.py in render(61)
  return self.template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(171)
  return self._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(150)
  return compiled_parent._render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render(96)
  return self.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader_tags.py in render(62)
  result = block.nodelist.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(937)
  bit = node.render_annotated(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaulttags.py in render(209)
  nodelist.append(node.render_annotated(context))
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_annotated(904)
  return self.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(987)
  output = self.filter_expression.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(671)
  obj = self.var.resolve(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in resolve(796)
  value = self._resolve_lookup(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup(837)
  current = getattr(current, bit)
238 <td class="expand" style="max-width: 30px;"><span>{{ smr.target_structure.protein_conformation.protein.family.parent.parent.parent.short|safe }}</span></td>
239 <!-- Experimental structure -->
240 <td class="pdb text-left">
241 <a target="_blank" href="{{ smr.target_structure.pdb_code.index}}">{{ smr.target_structure.pdb_code.index}}</a>
242 </td>
243 <td>{{ smr.target_structure.state.name }}</td>
244 <td class="text-center">{{ smr.target_structure.gprot_bound_likeness|floatformat|dashwhenempty }}</td>
245 <!-- Model -->

/home/protwis/gpcrdb_test/structure/templates/model_statistics.html

  +
SELECT