Skip to content

Commit

Permalink
issue #1022 - document why
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Aug 8, 2024
1 parent d0c105d commit c49beda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions annotation/tasks/annotate_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def _unannotated_variants_to_vcf(genome_build: GenomeBuild, vcf_filename,


def write_qs_to_vcf(vcf_filename, genome_build, qs, info_dict=VARIANT_GRID_INFO_DICT, use_accession=False):
# We had an issue with writing accessions in VEP, so use chrom names and the default VEP fasta instead
# @see https://github.com/Ensembl/ensembl-vep/issues/1635
qs = qs.order_by("locus__contig__genomebuildcontig__order", "locus__position")
if use_accession:
chrom_key = "locus__contig__refseq_accession"
Expand Down

0 comments on commit c49beda

Please sign in to comment.