Skip to content

Commit

Permalink
issue #1093 - Add examples of how to customise VEP in settings template
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Jul 12, 2024
1 parent d820ddc commit ed386d7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions variantgrid/settings/env/_settings_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,28 @@
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')

# PEDIGREE_MADELINE2_COMMAND = "madeline2"


# Here is how you'd customise your VEP version and whether you want RefSeq etc:

_different_vep_version = False
if _different_vep_version:
ANNOTATION_VEP_VERSION = "112"
ANNOTATION_VEP_BASE_DIR = os.path.join(ANNOTATION_BASE_DIR, "VEP")
ANNOTATION_VEP_VERSION_DIR = os.path.join(ANNOTATION_VEP_BASE_DIR, "vep_code", ANNOTATION_VEP_VERSION)
ANNOTATION_VEP_CODE_DIR = os.path.join(ANNOTATION_VEP_VERSION_DIR, "ensembl-vep")
ANNOTATION_VEP_PLUGINS_DIR = os.path.join(ANNOTATION_VEP_VERSION_DIR, "plugins")

_use_grch38 = False
if _use_grch38:
ANNOTATION[BUILD_GRCH38]["enabled"] = True

_use_refseq = True
if _use_refseq:
ANNOTATION[BUILD_GRCH37].update({
"annotation_consortium": "RefSeq",
})
ANNOTATION[BUILD_GRCH38].update({
"annotation_consortium": "RefSeq",
})

0 comments on commit ed386d7

Please sign in to comment.