How can I input a BAM file to the samtools mpileup command without using a text file?
0
0
Entering edit mode
7.7 years ago
biomagician ▴ 410

Dear all,

I am using the following command:

samtools mpileup -t DP -u --fasta-ref output/genome/ref/seq/celegans.fa --bam-list BLAA.txt

to give a BAM file as an input to the 'samtools mpileup' command. The 'BLAA.txt' contains the location of my unique BAM file. Is there a way to give the name of the BAM file to the samtools mpileup command without creating this text file?

Thanks.

Cordially, C.

samtools mpileup bam variant calling • 4.1k views
ADD COMMENT
4
Entering edit mode

Hi, I hope that I understood right the question. I usually use this command:

samtools mpileup -f file.fa file.bam > output.pileup

therefore I give directly the bam file as input...

ADD REPLY

Login before adding your answer.

Traffic: 1799 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