Skip to content

Commit

Permalink
issue - SACGF/variantgrid_private#3688 - enable bcftools / biocommons…
Browse files Browse the repository at this point in the history
… for Shariant test
  • Loading branch information
davmlaw committed Aug 9, 2024
1 parent 1aac030 commit c571783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion variantgrid/settings/components/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
LIFTOVER_TO_CHROMOSOMES_ONLY = True # False = Liftover to alt/patches
LIFTOVER_DBSNP_ENABLED = False # Default=False - doesn't work so well due to dbSNP IDs being for loci

LIFTOVER_BCFTOOLS_ENABLED = False
LIFTOVER_BCFTOOLS_ENABLED = True
LIFTOVER_BCFTOOLS_PLUGIN_DIR = "/usr/share/bcftools/plugins"
BCFTOOLS_COMMAND = "bcftools" # if not absolute, needs to be in path

Expand Down
5 changes: 2 additions & 3 deletions variantgrid/settings/env/sharianttest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@
_ANNOTATION_BASE_DIR = "/data/annotation" # Set this to where you downloaded annotation (${ANNOTATION_BASE_DIR} from wiki)
ANNOTATION_VCF_DUMP_DIR = os.path.join(_ANNOTATION_BASE_DIR, 'test_annotation_scratch')

# LIFTOVER_BCFTOOLS_ENABLED = True

SHARIANT_STATIC_FILES_DIR = os.path.join(VARIANTGRID_APP_DIR, "static_files", "shariant_static")
SHARIANT_TEST_STATIC_FILES_DIR = os.path.join(VARIANTGRID_APP_DIR, "static_files", "shariant_test_static")
STATICFILES_DIRS = (SHARIANT_TEST_STATIC_FILES_DIR, SHARIANT_STATIC_FILES_DIR,) + STATICFILES_DIRS
SHARIANT_TEMPLATES_DIR = os.path.join(VARIANTGRID_APP_DIR, "templates/shariant_templates")
TEMPLATES[0]["DIRS"].insert(0, SHARIANT_TEMPLATES_DIR)

VARIANT_SYMBOLIC_ALT_ENABLED = True
VARIANT_SYMBOLIC_ALT_ENABLED = True
HGVS_DEFAULT_METHOD = "biocommons_hgvs"

0 comments on commit c571783

Please sign in to comment.