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

What is "forced vcf calling" #30

Closed
smehringer opened this issue Sep 29, 2017 · 5 comments
Closed

What is "forced vcf calling" #30

smehringer opened this issue Sep 29, 2017 · 5 comments

Comments

@smehringer
Copy link

Hi,

I am wondering what exactly sniffles is going to do when I specify the option --Ivcf?
In the wiki, it says that this 'enables forced calling'. Does this mean sniffles will limit variant calling to regions of previously seen variants? If so, are the regions exact positions (variants in vcf file) or do they include flanking regions for variability?

Sorry if I misunderstood.

@fritzsedlazeck
Copy link
Owner

Hi,
so this is still a prototype.
So Sniffles will limit the search to those SV sites. It will not detect any novel SV.
It will allow however for re-definement of the breakpoints. Meaning that the breakpoints are not constrained to the reported bp and it will report the breakpoints that Sniffles things are correct.

The idea was to enable multi sample calling by using this option.
I hope that makes sense.
Cheers
Fritz

@smehringer
Copy link
Author

Thanks a lot for the quick and clear answer!
How large is the allowed span for breakpoint re-definement? Because sometimes SVs (especially insertions) tend to be very imprecise.

PS: I think I have a minor bug report:
When providing sniffles with a vcf file for forced calling, in my case there happened to be some variants in the vcf where NO reads were mapped at that position in the bam file (I worked on extracted sub regions and did not crop the vcf file accordingly) causing SNIFFLES to seg fault after finalizing.

Finalizing ..
[1]     21487 segmentation fault (core dumped)   path/to/sniffles 

When I limit the VCF file, it works fine.

@fritzsedlazeck
Copy link
Owner

The span is up to 1kb (user parameter -d ) or determined according to the size of the SV.

Thanks for reporting this. Obviously a test case that I did not check :). Is that on the newest version?
I guess it happens over the genotyping?

Thanks
Fritz

@smehringer
Copy link
Author

Thanks, 1kb should be enough.
I'm actually using this for re-calling variants after break point polishing by the way. 'Forced calling' therefore is very neat feature when I want to compare variants afterwards, thanks for that :)

Yes, I'm using SNIFFLES 1.0.6 and since it happens after the "Finalizing" Step I guess it could be the genotyping.

Cheers,
Svenja

@fritzsedlazeck
Copy link
Owner

It may not help much, but the SV should be reported to the file by that time.
It might take me a week or so to fix this since I am slammed with work right now.
Sorry.
Fritz

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

2 participants