Repository navigation
Closed
Description
There's a discrepancy between structural variants present in Purple SV VCF files and their representation in circos plots, for exemple with PON variants appearing in cancer reports SV Map table but not in visualization.
Example from Oncoanalyser 2.0.0 and sash
Variant: chr3:9,086,729-9,086,807 deletion
PON_COUNT: 2,692
1. Variant Call from ESVee
bcftools view -H esvee/caller/L2500251.esvee.somatic.vcf.gz | grep "9086729"
chr3 9086729 6817 A ]chr3:9086807]A 62 PON AF=0.075;ASMID=3625;ASMLEN=242;ASMSEG=1;AVGLEN=534;BEAOR=1;BEAPOS=100;BEOR=-1;CIPOS=-2,1;DF=0;HOMSEQ=ATA;IHOMPOS=-2,1;MATEID=6819;PON_COUNT=2692;REF=148;REFPAIR=133;SEGALEN=142;SEGID=3625;SEGMAPQ=60;SEGRL=122;SEGSCO=135;SF=9;SVID=6817_6819;SVTYPE=DUP;VF=9 GT:AD:AF:DF:DP:REF:REFPAIR:SB:SF:VF ./.:84,0:0:0:84:37:47:0:0:0 ./.:197,9:0.044:0:206:111:86:0.444:9:9
chr3 9086807 6819 T T[chr3:9086729[ 62 PON AF=0.074;ASMID=3625;ASMLEN=242;ASMSEG=0;AVGLEN=534;BEAOR=1;BEAPOS=0;BEOR=1;CIPOS=-2,1;DF=0;HOMSEQ=ATA;IHOMPOS=-2,1;MATEID=6817;PON_COUNT=2692;REF=153;REFPAIR=121;SEGALEN=103;SEGID=3625;SEGMAPQ=60;SEGRL=92;SEGSCO=103;SF=9;SVID=6817_6819;SVTYPE=DUP;VF=9 GT:AD:AF:DF:DP:REF:REFPAIR:SB:SF:VF ./.:83,0:0:0:83:40:43:0:0:0 ./.:191,9:0.045:0:200:113:78:0.444:9:9
2. Passed into Purple VCF
bcftools view purple/L2500251.purple.sv.vcf.gz | grep "9086729"
chr3 9086729 6817 A ]chr3:9086807]A 62 PON AF=0.075;ASMID=3625;ASMLEN=242;ASMSEG=1;AVGLEN=534;BEAOR=1;BEAPOS=100;BEOR=-1;CIPOS=-2,1;DF=0;HOMSEQ=ATA;IHOMPOS=-2,1;MATEID=6819;PON_COUNT=2692;PURPLE_AF=0.101,0.099;PURPLE_CN=5.39,5.39;PURPLE_CN_CHANGE=0,0;PURPLE_JCN=0.539;REF=148;REFG=TACATATAATATGTATTTTAT;REFPAIR=133;SEGALEN=142;SEGID=3625;SEGMAPQ=60;SEGRL=122;SEGSCO=135;SF=9;SVID=6817_6819;SVTYPE=DUP;VF=9 GT:AD:AF:DF:DP:REF:REFPAIR:SB:SF:VF ./.:84,0:0:0:84:37:47:0:0:0 ./.:197,9:0.044:0:206:111:86:0.444:9:9
chr3 9086807 6819 T T[chr3:9086729[ 62 PON AF=0.074;ASMID=3625;ASMLEN=242;ASMSEG=0;AVGLEN=534;BEAOR=1;BEAPOS=0;BEOR=1;CIPOS=-2,1;DF=0;HOMSEQ=ATA;IHOMPOS=-2,1;MATEID=6817;PON_COUNT=2692;PURPLE_AF=0.099,0.101;PURPLE_CN=5.39,5.39;PURPLE_CN_CHANGE=0,0;PURPLE_JCN=0.539;REF=153;REFG=CATATACATATAATATACATA;REFPAIR=121;SEGALEN=103;SEGID=3625;SEGMAPQ=60;SEGRL=92;SEGSCO=103;SF=9;SVID=6817_6819;SVTYPE=DUP;VF=9 GT:AD:AF:DF:DP:REF:REFPAIR:SB:SF:VF ./.:83,0:0:0:83:40:43:0:0:0 ./.:191,9:0.045:0:200:113:78:0.444:9:9
3. ❌ Absent from Purple Circos
grep 9086729 /purple/circos/L2500251.link.circos | wc -l
0
4. ✅ Passed into BOLT prioritized files
grep "9086729" sv_somatic/prioritise/L2500251.sv.prioritised.tsv
3 9086729 DUP 9 9 111 86 62.0 2 ]chr3:9086807]A|frameshift_variant&gene_fusion|SRGAP3|ENST00000383836_exon_3/21|key_gene|2,]chr3:9086807]A|gene_fusion|SRGAP3|ENST00000383836_exon_3/21|key_gene|2 0.10100000351667404,0.0989999994635582 5.389999866485596,5.389999866485596 0.0,0.0 6817 6819 ]chr3:9086807]A
3 9086807 DUP 9 9 113 78 62.0 2 T[chr3:9086729[|frameshift_variant&gene_fusion|SRGAP3|ENST00000383836_exon_3/21|key_gene|2,T[chr3:9086729[|gene_fusion|SRGAP3|ENST00000383836_exon_3/21|key_gene|2 0.0989999994635582,0.10100000351667404 5.389999866485596,5.389999866485596 0.0,0.0 6819 6817 T[chr3:9086729[
5. ✅ Present in Cancer Report SV Map Table
Hmftools
The SomaticVariantFactory uses a PassingVariantFilter by default, which filters out PON variants before they reach the Circos visualization.
For the SV VCF the file, cache the SV input file, and add context of of the variant without using the SomaticVariantFactory
Conclusion
- The SV call in eSVee that is a PON are keep from purple to final cancer report SV Map table but doesn't appear in Circos plot.
It maybe in SV Map for completeness and excluded from circos for visualization clarity
Reacted by Peter Diakumis
Metadata
Metadata
Assignees
Labels
No labels
Activity
charlesshale commentedon May 30, 2025
That is as intended - the PON entries should be in the VCF (both Esvee and Purple) but are excluded from the Circos plot since they are not somatic.
p-priestley commentedon May 30, 2025
PON filtered variants are not hard filtered as a precaution as they may be somatic variants that by chance matched a variant in our PON file. However, we do not use these variants for any downstream application currently
qclayssen commentedon May 30, 2025
Thanks @p-priestley and @charlesshale
qclayssen commentedon Jun 4, 2025
We decided to filter the PoN SV variants remaining in the cancer report tables in gpgr.
See related discussion in Slack thread.