I was wondering if there is an good way of converting an aligned bam into a consensus fasta file. I was following the solution on Questions Regarding Consensus Sequence Calling With Samtools / Bcftools / Vcfutils.Pl but the discuss has me a little worried. In addition, the first step takes a long time and my runs keep failing without any errors. Any suggestions would be most appreciated.
Thanks in advance.
Thanks but bam -> fa generates an output for each read pair - I want to generate a combined consensus bam file. Any suggestions?
Oh right, I guess PyPerl and I missed the bit about "consensus" fasta file. Perhaps you have seen this post?
@diviya.smith Did you find the solution?