Samtools mpileup refrence fasta file input
1
0
Entering edit mode
9.8 years ago
cvu ▴ 180

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 • 3.2k views
ADD COMMENT
2
Entering edit mode
9.8 years ago

Just concatenate the files and use that.

ADD COMMENT
0
Entering edit mode

okay . thanks Devon Ryan !!

ADD REPLY

Login before adding your answer.

Traffic: 2932 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6