This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to get consensus sequences in FASTA format from BAM

I've searched for an answer but I only got this command:

samtools mpileup -uf reference.fa aligment.bam | bcftools view -cg - |
vcfutils.pl vcf2fq

Anyway, I cannot use it to generate consensus sequences since the changing of the version of each tool, which mean the options are also changed.

Is there any idea that can to this?

alignment sequence genome

Thank you so much for your help.

So I'll try this :)

0 answers

No answers yet.

Log in to answer this question.