Skip to content

Commit

Permalink
deployment check - add chain files check
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Aug 20, 2024
1 parent 6dbde4e commit c386686
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions variantgrid/deployment_validation/annotation_files_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ def annotation_data_exists(flat=False) -> dict:
filename = os.path.join(settings.ANNOTATION_VEP_BASE_DIR, filename)
check_files[key] = filename

if settings.LIFTOVER_BCFTOOLS_ENABLED:
annotation_build_config = settings.ANNOTATION[genome_build.name]
for dest_genome_build, chain_filename in annotation_build_config["liftover"].items():
key = f"bcftools_chain_{genome_build.name}_to_{dest_genome_build}"
check_files[key] = chain_filename

vep_config = VEPConfig(genome_build)
for key, rel_path in vep_config.vep_data.items():
if rel_path is not None:
Expand Down

0 comments on commit c386686

Please sign in to comment.