SV annotation gaps: whole-gene vs partial effect, intron and regulatory context, repeat class of inserted sequence
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend, bioinformatics
Research direction
Start by listing the full AnnotSV output columns against the gaps in annotation/annotsv_columns.py; inspect annotation/models/repeat_masker.py and the related issues #1040 and #2540 for existing import and gene-ranking work. Then identify which gaps AnnotSV fills directly and which need transcript, enhancer, TAD, or inserted-sequence calculations. Done means the gaps and their data sources are mapped; the issue leaves implementation scope open.
Written by the indexing model from the issue text.
Description
🤖 Written by Claude
This compares our SV annotation with what other tools compute: SVlog in GenTechGp/puzzleapp (inst/extdata/db/table_schema/documentation/svlog_predicates_format.tsv), and gnomAD's SVAnnotate.
What we have
- VEP SV consequences:
transcript_ablation,transcript_amplification,feature_truncation/feature_elongation. - Imported AnnotSV columns (
annotation/annotsv_columns.py): ACMG class and score,Frameshift,Exons_spanned,Dist_nearest_SS,Nearest_SS_type,RE_gene, OMIM, pathogenic overlaps, and repeat / segdup / ENCODE blacklist at each breakpoint. - RepeatMasker through VEP, over the reference span (
annotation/models/repeat_masker.py).
Gaps
Whole-gene vs partial effect
- Whole-gene inversion: the inversion spans the transcript from the first base of the 5′ UTR to the last base of the 3′ UTR (SVAnnotate
PREDICTED_INV_SPAN). - Partial duplication: one breakpoint inside the transcript and one beyond its end, so the TSS isn't duplicated (SVAnnotate
PREDICTED_DUP_PARTIAL). A tandem duplication like this leaves one intact copy of the gene, so it usually isn't LoF. - Promoter only: overlaps a gene's promoter but not the transcript.
- #2540's gene ranking needs the same "breakpoint inside the gene vs gene wholly inside the SV" calculation, so the two should share it.
Intron context for an intronic SV
- Which intron of the MANE transcript, the intron's length, and the distance to the 5′ and 3′ splice sites.
- The fraction of the intron removed. SVlog's
lof_intronfires when the SV covers more than 50% of the intron or is within 1 kb of a splice site. Dist_nearest_SScovers part of this.
Regulatory context for an intergenic SV
- Enhancers deleted or duplicated, the nearest enhancer and nearest TAD boundary with their distances, and whether a TAD boundary is crossed.
- SVlog uses these to call an SV "ordinary intergenic", one of its strongest reasons to exclude a variant.
RE_genecovers enhancer → gene. We have no TAD source.
Repeat class of the inserted sequence
- For a sequence-resolved insertion: whether the inserted sequence is a mobile element (Alu / L1 / SVA) or a tandem repeat expansion, with its motif, period and copy number. SVscanner in puzzleapp runs RepeatMasker and TRF over the SV sequence.
- RepeatMasker through VEP and AnnotSV's
Repeat_type_left/rightdescribe the reference. They can say a deletion removed an Alu, but not what an insertion inserted. - This enables "STR expansion at a known pathogenic locus" and "mobile element inserted into an exon, UTR or promoter".
- Explicit insertions stay explicit at import (only DEL / DUP / INV become symbolic), so the sequence survives for callers that write it. A symbolic
<INS>with no sequence gets nothing.
Check AnnotSV first
AnnotSV's full output already has columns we don't import that cover part of the above, and part of #1040:
Location/Location2(for exampleintron3-intron5,txStart-exon2),Overlapped_CDS_percent,Overlapped_tx_length,Exon_count,Closest_left/rightHI/TS(ClinGen dosage),ExAC_delZ/dupZ/cnvZ(requested in #1040),LOEUF_binB_*_source/B_*_coord(which benign records matched),po_B_*_allG/someG,po_P_*
The first step is to list which gaps AnnotSV fills cheaply and which need our own calculation from transcripts, enhancers or TADs.
Related: #1040, #1793, #2540
- Dominant language
- Python
- Stars
- 31
- Forks
- 4
- Avg merge
- 4h 52m
- Merged PRs (30d)
- 183
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SACGF/variantgrid
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
SACGF/variantgrid#2964 · 1 comment ·
Maintainers usually reply within 1 day
-
Genome build now duplicated in "imported as" on allele pagePossibly taken @TheMadBug claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
SACGF/variantgrid#2950 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
SACGF/variantgrid#2865 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SACGF/variantgrid#2647 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
SACGF/variantgrid#2341 · 3 comments ·
Maintainers usually reply within 1 day
All issues in SACGF/variantgrid
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day