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

sniffles 2.5 produces variant longer than contig #522

Open
bbimber opened this issue Nov 11, 2024 · 5 comments
Open

sniffles 2.5 produces variant longer than contig #522

bbimber opened this issue Nov 11, 2024 · 5 comments

Comments

@bbimber
Copy link
Contributor

bbimber commented Nov 11, 2024

Hello,

I ran sniffles 2.5 to produce a merged VCF, after processing 59 PacBio CLR and CCS datasets with sniffles. I ran this with default params:

$SNIFFLES \
	--no-progress \
	--input fileList.tsv \
	--allow-overwrite \
	--vcf $VCF

The resulting VCF has a variant on contig QNVO02001917.1 (an unplaced contig from the MMul_10 genome), which starts at 51115 and would end at 57949; however, the contig is 57948 bp long. GATK and similar tools complain about it being non-compliant. I attached the variants from this contig in a text file. Should this occur?

QNVO02001917.1.txt

@bbimber
Copy link
Contributor Author

bbimber commented Nov 12, 2024

I have a second similar site from the same dataset:

QNVO02002480.1	594	Sniffles2.DUP.2M174A	N	<DUP>	34	PASS	PRECISE;SVTYPE=DUP;SVLEN=5142;END=5736;SUPPORT=1;COVERAGE=0,4,13,10,3;STRAND=+-;AC=6;STDEV_LEN=0.806;STDEV_POS=292.300;SUPP_VEC=10101010001001000000101100000010000001000010100000001000000

All variants from that contig are here:

QNVO02002480.1.txt

@bbimber
Copy link
Contributor Author

bbimber commented Nov 14, 2024

Hello - just wanted to check back and see if anyone has comments on this. While we can manually drop these invalid SVs, it would be very helpful if sniffles did not output them to begin with.

@fritzsedlazeck
Copy link
Owner

So you pointing at that the end position is +1 bp too long? @hermannromanek we can put a cross check in the output.
Thanks
Fritz

@bbimber
Copy link
Contributor Author

bbimber commented Nov 14, 2024

Yes, 1bp longer than the reference length

@lfpaulin
Copy link
Collaborator

@hermannromanek check if POS and END are 0-based or 1-based
we had had discussion some months ago with a file having a POS=0

@lfpaulin lfpaulin changed the title sniffles 2.5 produces variant longer than config sniffles 2.5 produces variant longer than contig Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants