You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using same_type=1 all "INV" records (and other SO types) are skipped on the following line:
next if $olap_sv->class_SO_term() ne $svf->class_SO_term() && $self->{same_type} ==1;
The test is "INV" ne "inversion" which fails - this is because there is very similar VCF parsing code in VEP and Ensembl Variation tools that doesn't quite convert terms identically:
For test purposes, grep a <INV> record from the gnomad_v2.1_sv.sites VCF - so you know it should get an overlap. I've attached a VCF that should def get an overlap
Thanks for flagging this issue!
I can re-produce the issue and will add a fix hopefully along with the next release. As alternative, for now, you can try using --custom option with same_type=1, which is working.
When using same_type=1 all "INV" records (and other SO types) are skipped on the following line:
The test is
"INV" ne "inversion"
which fails - this is because there is very similar VCF parsing code in VEP and Ensembl Variation tools that doesn't quite convert terms identically:"INV"
This returns "INV" as the code runs through
"inversion"
This returns "inversion" as the code does the conversion:
Test data
For test purposes, grep a
<INV>
record from the gnomad_v2.1_sv.sites VCF - so you know it should get an overlap. I've attached a VCF that should def get an overlaptest_grch37_symbolic_alt.vcf.gz
The text was updated successfully, but these errors were encountered: