Closed Manuel-DominguezCBG closed 1 year ago
Hi, can you pls send me a small bam that reproduces this and I'll take a look? Pisces was designed with amplicons in mind, and it should handle sections where coverage only goes in one direction. In general these should not get flagged with SB. In your case it might be an interaction with all the other filters. I can take a look.
You can also try the "-OutputSBFiles" option to output some extra files, which should show the counts in each direction, to verify the reads are only going in one direction.
best Tamsen
Hello,
please find in this link a bam file and the VCF file as a result of analyzing the BAM with the exact code provided above.
Again it can be seen the -100.000 flag.
I am validating my pipeline and to do this I took demo data provided by Illumina. I took this https://basespace.illumina.com/projects/27687666/samples. I took the fastq files but I had a look at the BAM files generated by them (I don't know what pipeline they used) and I saw the same flag in the VCF they generated. In case this info helps you.
Hello @tamsen, any update about this issue?? No rush, just checking if you figure out this. We can perferly remove the flag from the VCF but if this can be done directly from PISCES, that would be great!! ;)
Hi Sorry! I missed that you added the bam. Hang on.
OK, it looks like a small bug, so that when other filters are activated in a particular combination the SB flag shows up. You have the ssFilter off, and the actual SB being reported is "-100" so PISCES is not finding any real SB in your data.
Thanks for finding this issue. It must have been around a long time. Sorry you have to have the extra step to remove the flag.
Ok! Thank you @tamsen. Are you planning to remove the SB flag when the ssFilter is off in a future release? If so, please le me know. I am happy to add an extra step to delete this flag.
Thank you for your help!
This command does the bit
bcftools annotate -x FORMAT/SB input.vcf > output.vcf
I close this issue. Thanks!!
In our test, we only obtained R1 reads. I was wondering if there is a way to not flag variants based on SB. Is this possible?
My code
and a couple of variants
I know that the tool is not filtering out variant based on SB but it is weird that the flag is still there.