Hi everyone!
I am new to this forum and have the following question:
How can I extract the consensus sequence from a BAM alignment AND fill positions where there might be gaps in the alignment with the reference sequence from the alignment?
I know that there is a way using samtools mpileup to extract a consensus sequence from a BAM file but the "fill from reference" option is very important to me.
Any ideas what tools I could use to easily extract the consensus this way?
Thanks for your help!
I am new to this forum and have the following question:
How can I extract the consensus sequence from a BAM alignment AND fill positions where there might be gaps in the alignment with the reference sequence from the alignment?
I know that there is a way using samtools mpileup to extract a consensus sequence from a BAM file but the "fill from reference" option is very important to me.
Any ideas what tools I could use to easily extract the consensus this way?
Thanks for your help!
Comment