Y1 receptor (npy1r_human)

FAMILY

Class A (Rhodopsin) Peptide receptors Neuropeptide Y receptors Y1 receptor

GENE

NPY1R (NPYR, NPYY1)

ORGANISM

Human (Homo sapiens)

ALT. NAMES

Neuropeptide Y receptor type 1, NPY1-R

SOURCE

SWISSPROT

SEQUENCE

N-term        
M
N
S
T
L
F
S
Q
V
E
10
                   
N
H
S
V
H
S
N
F
S
E
20
                   
K
N
A
Q
L
L
A
F
E
N
30
          TM1    
D
D
C
H
L
P
L
A
M
I
40
                   
F
T
L
A
L
A
Y
G
A
V
50
                   
I
I
L
G
V
S
G
N
L
A
60
                   
L
I
I
I
I
L
K
Q
K
E
70
ICL1 TM2      
M
R
N
V
T
N
I
L
I
V
80
                   
N
L
S
F
S
D
L
L
V
A
90
                   
I
M
C
L
P
F
T
F
V
Y
100
        ECL1    
T
L
M
D
H
W
V
F
G
E
110
TM3              
A
M
C
K
L
N
P
F
V
Q
120
                   
C
V
S
I
T
V
S
I
F
S
130
                   
L
V
L
I
A
V
E
R
H
Q
140
        ICL2    
L
I
I
N
P
R
G
W
R
P
150
TM4              
N
N
R
H
A
Y
V
G
I
A
160
                   
V
I
W
V
L
A
V
A
S
S
170
                   
L
P
F
L
I
Y
Q
V
M
T
180
ECL2            
D
E
P
F
Q
N
V
T
L
D
190
                   
A
Y
K
D
K
Y
V
C
F
D
200
      TM5        
Q
F
P
S
D
S
H
R
L
S
210
                   
Y
T
T
L
L
L
V
L
Q
Y
220
                   
F
G
P
L
C
F
I
F
I
C
230
                   
Y
F
K
I
Y
I
R
L
K
R
240
            ICL3
R
N
N
M
M
D
K
M
R
D
250
TM6              
N
K
Y
R
S
S
E
T
K
R
260
                   
I
N
I
M
L
L
S
I
V
V
270
                   
A
F
A
V
C
W
L
P
L
T
280
                   
I
F
N
T
V
F
D
W
N
H
290
ECL3 TM7      
Q
I
I
A
T
C
N
H
N
L
300
                   
L
F
L
L
C
H
L
T
A
M
310
                   
I
S
T
C
V
N
P
I
F
Y
320
      H8          
G
F
L
N
K
N
F
Q
R
D
330
                   
L
Q
F
F
F
N
F
C
D
F
340
C-term        
R
S
R
D
D
D
Y
E
T
I
350
                   
A
M
S
T
M
H
T
D
V
S
360
                   
K
T
S
L
K
Q
A
S
P
V
370
                   
A
F
K
K
I
N
N
N
D
D
380
       
N
E
K
I

LINKS

DIAGRAMS

L N G S V G L I I V A G Y A L A L T F I 1 V N L S F S D L L V A M I C L P F T F V Y 2 L V L S F I S V T I S V C Q V F P N L K 3 A Y V G I A V I W V L A V A S S L P F 4 Y C I F I F C L P G F Y Q L V L L L T T Y 5 L S I V V A F A V C W L P L T I F N T V 6 I P N V C T S I M A T L H C L L F L L 7
Pick color:
 
 
 
 
 
 
 
 
 
 
 
 




Invitro Mutant Data: Increased binding/potency: >5-fold, >10-fold; Reduced binding/potency: >5-fold, >10-fold; No/low effect (<5-fold); and N/A

ICL1 K E M R ICL1ECL1 H W V F ECL1ICL2 P R G W R P ICL2ECL2 V M T D E P F Q N V T L D A Y K D K Y V C F D Q F P ECL2ICL3 K M R ICL3ECL3 H Q I I A ECL3N-term M N S T L F S Q V E N H S V H S N F S E K N A Q L L A F E N D D C H L N-termC-term N F C D F R S R D D D Y E T I A M S T M H T D V S K T S L K Q A S P V A F K K I N N N D D N E K I C-term P L A M I F T L A L A Y G A V I I L G V S G N L A L I I I I L K Q N V T N I L I V N L S F S D L L V A I M C L P F T F V Y T L M D G E A M C K L N P F V Q C V S I T V S I F S L V L I A V E R H Q L I I N N N R H A Y V G I A V I W V L A V A S S L P F L I Y Q S D S H R L S Y T T L L L V L Q Y F G P L C F I F I C Y F K I Y I R L K R R N N M M D D N K Y R S S E T K R I N I M L L S I V V A F A V C W L P L T I F N T V F D W N T C N H N L L F L L C H L T A M I S T C V N P I F Y G F L N K N L Q F F Q R D F F
Pick color:
 
 
 
 
 
 
 
 
 
 
 
 




Invitro Mutant Data: Increased binding/potency: >5-fold, >10-fold; Reduced binding/potency: >5-fold, >10-fold; No/low effect (<5-fold); and N/A

MUTATIONS

ENDOGENOUS LIGANDS

neuropeptide Y,

pancreatic polypeptide,

peptide YY

HOMOLOGY MODELS

STRUCTURES

View in Structures

«

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 1149.819 msec
System CPU time 55.819 msec
Total CPU time 1205.638 msec
Elapsed time 1343.212 msec
Context switches 162 voluntary, 4 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
User-Agent CCBot/2.0 (https://commoncrawl.org/faq/)
X-Forwarded-For 18.207.157.152
X-Forwarded-Proto https
X-Real-Ip 18.207.157.152

Response headers

Key Value
Cache-Control max-age=604800
Content-Length 821938
Content-Type text/html; charset=utf-8
Expires Sat, 20 Aug 2022 09:36:16 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 /protein/npy1r_human/
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
protein.views.detail () {'slug': 'npy1r_human'} detail

No cookies

No session data

No GET data

No POST data

SQL queries from 1 connection

  •   default 144.13 ms (56 queries including 25 similar and 13 duplicates )
  Query Timeline Time (ms) Action
  +
SELECT ••• (1) AS "a" FROM "protein" WHERE "protein"."entry_name" = 'npy1r_human' LIMIT 1
1.9091621919385415%
2.75

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_test/protein/views.py in detail(37)
  if Protein.objects.filter(entry_name=slug).exists():
  +
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" INNER JOIN "protein_sequence_type" ON ("protein"."sequence_type_id" = "protein_sequence_type"."id") WHERE ("protein"."entry_name" = 'npy1r_human' AND "protein_sequence_type"."slug" = 'wt')
0.9482122592662439%
1.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_test/protein/views.py in detail(38)
  p = Protein.objects.prefetch_related('web_links__web_resource').get(entry_name=slug, sequence_type__slug='wt')
  +
SELECT ••• ("protein_web_links"."protein_id") AS "_prefetch_related_val_protein_id", "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" INNER JOIN "protein_web_links" ON ("web_link"."id" = "protein_web_links"."weblink_id") WHERE "protein_web_links"."protein_id" IN (76)
2.5743334226624714%
3.71

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_test/protein/views.py in detail(38)
  p = Protein.objects.prefetch_related('web_links__web_resource').get(entry_name=slug, sequence_type__slug='wt')
  +
SELECT ••• "web_resource"."id", "web_resource"."slug", "web_resource"."name", "web_resource"."url" FROM "web_resource" WHERE "web_resource"."id" IN (8, 9, 5)
0.34739109289237824%
0.50

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_test/protein/views.py in detail(38)
  p = Protein.objects.prefetch_related('web_links__web_resource').get(entry_name=slug, sequence_type__slug='wt')
  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 107
  5 similar queries.
0.31794556216150044%
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_test/protein/views.py in detail(62)
  if p.family.slug.startswith('100') or p.family.slug.startswith('200'):
  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 106
  5 similar queries.
0.1928847687202443%
0.28

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_test/protein/views.py in detail(69)
  while pf.parent.parent:
  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 47
  5 similar queries.
0.20380277449686188%
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_test/protein/views.py in detail(69)
  while pf.parent.parent:
  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 2
  5 similar queries.
0.19387731469993683%
0.28

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_test/protein/views.py in detail(69)
  while pf.parent.parent:
  +
SELECT ••• "protein_family"."id", "protein_family"."parent_id", "protein_family"."slug", "protein_family"."name" FROM "protein_family" WHERE "protein_family"."id" = 1
  5 similar queries.
0.19404273902988556%
0.28

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_test/protein/views.py in detail(69)
  while pf.parent.parent:
  +
SELECT ••• "protein_conformation"."id", "protein_conformation"."protein_id", "protein_conformation"."state_id" FROM "protein_conformation" WHERE "protein_conformation"."protein_id" = 76
0.31695301618180793%
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_test/protein/views.py in detail(75)
  pc = ProteinConformation.objects.get(protein=p)
  +
SELECT ••• "gene"."name" FROM "gene" INNER JOIN "gene_proteins" ON ("gene"."id" = "gene_proteins"."gene_id") WHERE "gene_proteins"."protein_id" = 76 ORDER BY "gene"."position" ASC
0.6029716826631993%
0.87

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_test/protein/views.py in detail(85)
  if len(genes)>0:
  +
SELECT ••• "residue"."id", "residue"."protein_conformation_id", "residue"."protein_segment_id", "residue"."generic_number_id", "residue"."display_generic_number_id", "residue"."sequence_number", "residue"."amino_acid" FROM "residue" WHERE "residue"."protein_conformation_id" = 76 ORDER BY "residue"."sequence_number" ASC
2.943725951438034%
4.24

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_test/protein/views.py in detail(121)
  for i, r in enumerate(residues):
  +
SELECT ••• "protein_segment"."id", "protein_segment"."slug", "protein_segment"."name", "protein_segment"."category", "protein_segment"."fully_aligned", "protein_segment"."partial", "protein_segment"."proteinfamily" FROM "protein_segment" WHERE "protein_segment"."id" IN (1, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21) ORDER BY "protein_segment"."id" ASC
  3 similar queries.   Duplicated 3 times.
0.40925979229321136%
0.59

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_test/protein/views.py in detail(121)
  for i, r in enumerate(residues):
  +
SELECT ••• "residue_generic_number"."id", "residue_generic_number"."scheme_id", "residue_generic_number"."protein_segment_id", "residue_generic_number"."label" FROM "residue_generic_number" WHERE "residue_generic_number"."id" IN (88576, 30722, 37378, 43010, 2, 6, 7, 4, 79876, 85510, 83467, 9, 10, 11, 15, 16, 17, 18, 19, 20, 21, 13, 23, 24, 66072, 27, 16414, 2079, 10270, 18462, 32802, 39458, 45089, 94759, 52780, 53806, 55347, 80949, 77366, 26168, 57400, 59448, 61496, 68152, 12, 3646, 5694, 22078, 26174, 28226, 34882, 47169, 51266, 70718, 81989, 84544, 84547, 596, 89174, 63576, 24158, 7774, 13918, 69216, 98, 30306, 36962, 72295, 73322, 93849, 65656, 79480, 86651, 78461, 9854, 18046, 11390, 15998, 32386, 39042, 44673, 75396, 76414, 92800, 87176, 74380, 54927, 92307, 56984, 59032, 61080, 67736, 94364, 88056, 5278, 3230, 1695, 46753, 27810, 34466, 85164, 80559, 93361, 52404, 183, 63160, 89785, 187, 19646, 23742, 7358, 11966, 13502, 29890, 36546, 48833, 91838, 83146, 84171, 65240, 25307, 71900, 9438, 15582, 73952, 44257, 31970, 38626, 81632, 84191, 54507, 70898, 86259, 8190, 24574, 56568, 60664, 67320, 53500, 4862, 46337, 27394, 34050, 87809, 88322, 70419, 77076, 78102, 74007, 25880, 62744, 53532, 6942, 13086, 21278, 1313, 29474, 23326, 36130, 48417, 50466, 50465, 75046, 76072, 91437, 64824, 82746, 52027, 9022, 15166, 88894, 43841, 31554, 38210, 54087, 73034, NULL, 80210, 71509, 56152, 66904, 89432, 86875, 11102, 17246, 45921, 26978, 33634, 40290, 95588, 68964, 83810, 92526, 58232, 62328, 12670, 20862, 6526, 22910, 29058, 35714, 48001, 50049, 83838, 93066, 81293, 64408, 85912, 410, 11678, 2463, 8606, 929, 24990, 14750, 31138, 37794, 43426, 73635, 63992, 78761, 76714, 77739, 91563, 25005, 53165, 84911, 93615, 95153, 66488, 51642, 10686, 16830, 75712, 45505, 33218, 39874, 82370, 69573, 87493, 53191, 92098, 73674, 55758, 74704, 26584, 57816, 59864, 61912, 68568, 72668, 22494, 20446, 4062, 6110, 12254, 28642, 35298, 47585, 49633, 71138, 91122, 25592, 14334)
  6 similar queries.   Duplicated 3 times.
1.0130585966061545%
1.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_test/protein/views.py in detail(121)
  for i, r in enumerate(residues):
  +
SELECT ••• "residue_generic_number"."id", "residue_generic_number"."scheme_id", "residue_generic_number"."protein_segment_id", "residue_generic_number"."label" FROM "residue_generic_number" WHERE "residue_generic_number"."id" IN (47617, 28674, 35330, 49665, 71172, 88068, 90119, 90635, 64024, 25, 25625, 88601, 24606, 8222, 32, 2080, 14366, 30754, 37410, 43043, 79903, 85541, 93630, 84574, 83498, 91181, 84575, 66104, 68600, 572, 10302, 16446, 18494, 45121, 32834, 39490, 71, 55379, 80979, 77399, 26200, 94809, 57432, 59480, 61528, 68184, 22110, 20062, 3678, 5726, 28258, 34914, 47201, 49249, 52837, 53859, 70752, 82022, 89186, 118, 4094, 20478, 26230, 63608, 69245, 13950, 7806, 24190, 30338, 36994, 72323, 138, 73356, 86668, 51347, 65688, 79512, 87193, 78491, 92829, 16030, 9886, 1696, 18078, 11422, 32418, 39074, 44705, 75426, 76446, 74409, 92339, 93876, 54965, 22526, 57016, 59064, 61112, 67768, 5310, 3262, 21694, 46785, 27842, 34498, 50882, 85196, 93390, 80591, 94417, 63192, 89816, 90330, 19678, 23774, 224, 7390, 29922, 11998, 13534, 36578, 48865, 84193, 91871, 83178, 246, 84215, 65272, 90874, 9470, 17662, 15614, 44289, 32002, 38658, 70910, 52485, 71935, 81664, 86285, 54546, 87826, 88343, 25368, 56600, 58648, 60696, 67352, 74011, 4894, 2847, 1312, 46369, 27426, 34082, 77091, 79141, 59896, 53553, 78131, 25912, 62776, 74041, 19262, 23358, 6974, 13118, 21310, 29506, 36162, 48449, 50498, 70469, 75076, 76096, 91462, NULL, 88916, 64856, 53593, 82778, 9054, 15198, 43873, 31586, 38242, 73062, 61944, 80234, 54127, 89457, 12286, 56184, 60280, 66936, 71545, 86907, 17278, 11134, 4478, 45953, 27010, 33666, 40322, 68995, 83841, 92552, 52108, 58264, 62360, 81307, 95644, 6558, 12702, 928, 2464, 20894, 29090, 22942, 35746, 48033, 50081, 83876, 93099, 64440, 85944, 91578, 18878, 8638, 11710, 14782, 25022, 31170, 37826, 43459, 77766, 78791, 76744, 84933, 73679, 66520, 75738, 25051, 73692, 92123, 10718, 16862, 87519, 45537, 26594, 33250, 39906, 69603, 82402, 95207, 55785, 74732, 51699, 53238, 53239, 57848, 91126, 72701, 6142)
  6 similar queries.   Duplicated 3 times.
0.7946984810738025%
1.15

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_test/protein/views.py in detail(121)
  for i, r in enumerate(residues):
  +
SELECT ••• "species"."id", "species"."latin_name", "species"."common_name" FROM "species" WHERE "species"."id" = 1
0.3136445295828329%
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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(188)
  return template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(173)
  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/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)
1 {% extends "home/base.html" %}
2 {% load static %}
3 {% load structure_extras %}
4

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "protein_alias"."name" FROM "protein_alias" WHERE "protein_alias"."protein_id" = 76 ORDER BY "protein_alias"."position" ASC
1.462020228087066%
2.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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(188)
  return template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(173)
  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/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(696)
  new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/defaultfilters.py in join(529)
  value = [conditional_escape(v) for v in value]
42 <h4>DIAGRAMS</h4>
43 </div>
44 <div class="col-md-10">
45 {{ p.get_helical_box }}
46 <p><div class="btn-group">
47 <button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown"
48 aria-haspopup="true" aria-expanded="false">
49 <span class="glyphicon glyphicon-download"></span> Download <span class="caret"></span>

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "protein_source"."id", "protein_source"."name" FROM "protein_source" WHERE "protein_source"."id" = 1
0.28237933122251885%
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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(188)
  return template.render(context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render(173)
  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/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)
1 {% extends "home/base.html" %}
2 {% load static %}
3 {% load structure_extras %}
4

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• DISTINCT ON ("web_resource"."slug") "web_link"."id", "web_link"."web_resource_id", "web_link"."index" FROM "web_link" INNER JOIN "protein_web_links" ON ("web_link"."id" = "protein_web_links"."weblink_id") INNER JOIN "web_resource" ON ("web_link"."web_resource_id" = "web_resource"."id") WHERE "protein_web_links"."protein_id" = 76
0.4825427704605083%
0.70

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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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)
29 <h4>LINKS</h4>
30 </div>
31 <div class="col-md-10">
32 {% for link in protein_links %}
33 <p><a href="{{ link }}">{{ link.web_resource.name }}</a></p>
34 {% empty %}
35 No links available
36 {% endfor %}

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "web_resource"."id", "web_resource"."slug", "web_resource"."name", "web_resource"."url" FROM "web_resource" WHERE "web_resource"."id" = 9
  3 similar queries.
0.1842827035629092%
0.27

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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(993)
  return render_value_in_context(output, context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_value_in_context(972)
  value = str(value)
/home/protwis/gpcrdb_test/common/models.py in __str__(49)
  return Template(str(self.web_resource)).substitute(index=self.index)
30 </div>
31 <div class="col-md-10">
32 {% for link in protein_links %}
33 <p><a href="{{ link }}">{{ link.web_resource.name }}</a></p>
34 {% empty %}
35 No links available
36 {% endfor %}
37 </div>

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "web_resource"."id", "web_resource"."slug", "web_resource"."name", "web_resource"."url" FROM "web_resource" WHERE "web_resource"."id" = 5
  3 similar queries.
0.20347192583696438%
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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(993)
  return render_value_in_context(output, context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_value_in_context(972)
  value = str(value)
/home/protwis/gpcrdb_test/common/models.py in __str__(49)
  return Template(str(self.web_resource)).substitute(index=self.index)
30 </div>
31 <div class="col-md-10">
32 {% for link in protein_links %}
33 <p><a href="{{ link }}">{{ link.web_resource.name }}</a></p>
34 {% empty %}
35 No links available
36 {% endfor %}
37 </div>

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "web_resource"."id", "web_resource"."slug", "web_resource"."name", "web_resource"."url" FROM "web_resource" WHERE "web_resource"."id" = 8
  3 similar queries.
0.1829593089233192%
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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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(993)
  return render_value_in_context(output, context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/base.py in render_value_in_context(972)
  value = str(value)
/home/protwis/gpcrdb_test/common/models.py in __str__(49)
  return Template(str(self.web_resource)).substitute(index=self.index)
30 </div>
31 <div class="col-md-10">
32 {% for link in protein_links %}
33 <p><a href="{{ link }}">{{ link.web_resource.name }}</a></p>
34 {% empty %}
35 No links available
36 {% endfor %}
37 </div>

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "residue"."id", "residue"."protein_conformation_id", "residue"."protein_segment_id", "residue"."generic_number_id", "residue"."display_generic_number_id", "residue"."sequence_number", "residue"."amino_acid" FROM "residue" INNER JOIN "protein_conformation" ON ("residue"."protein_conformation_id" = "protein_conformation"."id") INNER JOIN "protein" ON ("protein_conformation"."protein_id" = "protein"."id") WHERE "protein"."entry_name" = 'npy1r_human' ORDER BY "residue"."sequence_number" ASC
  2 similar queries.   Duplicated 2 times.
0.7879160835459037%
1.14

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_test/protein/views.py in detail(156)
  return render(request, 'protein/protein_detail.html', context)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/shortcuts.py in render(36)
  content = loader.render_to_string(template_name, context, request, using=using)
/home/protwis/gpcrdb_env/lib/python3.6/site-packages/django/template/loader.py in render_to_string(62)
  return template.render(context, 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(309)
  return 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/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(858)
  current = current()
/home/protwis/gpcrdb_test/protein/models.py in get_helical_box(48)
  return DrawHelixBox(residuelist,self.get_protein_class(),str(self))
/home/protwis/gpcrdb_test/common/diagrams_gpcr.py in __init__(1217)
  for r in residue_list:
42 <h4>DIAGRAMS</h4>
43 </div>
44 <div class="col-md-10">
45 {{ p.get_helical_box }}
46 <p><div class="btn-group">
47 <button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown"
48 aria-haspopup="true" aria-expanded="false">
49 <span class="glyphicon glyphicon-download"></span> Download <span class="caret"></span>

/home/protwis/gpcrdb_test/protein/templates/protein/protein_detail.html

  +
SELECT ••• "protein_segment"."id", "protein_segment"."slug", "protein_segment"."name", "protein_segment"."category", "protein_segment"."fully_aligned", "protein_segment"."partial", "protein_segment"."proteinfamily" FROM "protein_segment" WHERE "protein_segment"."id" IN (1, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21) ORDER BY "protein_segment"."id" ASC