Entering edit mode
3.7 years ago
cg1440
▴
60
Greetings.
I'm running the basic pipeline to call variants and generate consensus sequences using bcftools: mpileup | call | filter low qual variants (set FILTER to "LowQual") | consensus.
However, bcftools consensus is still counting low quality variants and outputting them as variants in the consensus genome. Is there a way to exclude such low quality variants?
Thanks.
--exclude 'FILTER~"LowQual"'
http://samtools.github.io/bcftools/bcftools.html
It seems that it's working. Thanks!
Thank you for your input. You guided me to the right path, although your syntax did not work. I used
'FILTER~"LowQual"'
as highlighted by the other reply.