Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VEP csqs in impact categories to match VEP #703

Merged
merged 2 commits into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions gnomad/utils/vep.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,30 @@
Versions of VEP used in gnomAD data, the latest version is 105.
"""

# Note that this is the current as of v81 with some included for backwards
# Note that this is the current as of v105 with some included for backwards
# compatibility (VEP <= 75)
# See: https://www.ensembl.org/info/genome/variation/prediction/predicted_data.html
CSQ_CODING_HIGH_IMPACT = [
"transcript_ablation",
"splice_acceptor_variant",
"splice_donor_variant",
"stop_gained",
"frameshift_variant",
"stop_lost",
"start_lost", # Considered high impact in v105, previously medium
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it won't let me comment above, but lines 24-25 say:

# Note that this is the current as of v81 with some included for backwards
# compatibility (VEP <= 75)

how about

# Note that this is the current as of v105 with some included for backwards
# compatibility (VEP <= 75)
# See: https://www.ensembl.org/info/genome/variation/prediction/predicted_data.html

]

CSQ_CODING_MEDIUM_IMPACT = [
"start_lost", # new in v81
"initiator_codon_variant", # deprecated
"transcript_amplification",
"inframe_insertion",
"inframe_deletion",
"missense_variant",
"protein_altering_variant", # new in v79
"splice_region_variant",
]

CSQ_CODING_LOW_IMPACT = [
"splice_region_variant", # Considered low impact in v105, previously medium
"incomplete_terminal_codon_variant",
"start_retained_variant", # new in v92
"stop_retained_variant",
Expand Down
Loading