Entering edit mode
6.9 years ago
Prakki Rama
★
2.7k
I have a bam file and want to generate a consensus from it.
Which parameters in vcftools/bcftools are supposed to be tuned in order to have for each nucleotide atleast 75% consensus, with at-least "n" reads support? Please help me redirect if it is answered elsewhere. Many thanks in advance.
Hi Joesph. Many thanks. May I know if you mean to use the numbers from DP4 tag? But it appears these values are after filtering. I would like to do some thing like this "A consensus of at least 75% was required to support an SNV, and calls were required to be homozygous under a diploid model." Is there something which I am missing. Thanks.
You probably want to filter based on the alternate allele frequency (AF) with values above 0.75 being kept.