This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Samtools mpileup refrence fasta file input

I'm using Samtools mpileup to convert my sorted.bam file to .bcf files. i've used multiple refrences to align my paired end reads. I've used GRCh38_Chr1 and GRCh38_Chr10.

samtools mpileup -g -f ref.fna aligned.sorted.bam > sim_variants.bcf

In above argument, how do i mention multiple reference fasta files ?

alignment snp assembly next-gen

1 answer

Just concatenate the files and use that.

okay . thanks Devon Ryan !!

Log in to answer this question.