Entering edit mode
10.7 years ago
Maria333
▴
20
Hi everyone,
I've been stuck on this for several days. I want to use the samtools depth command but not only for a single bam file. I need to find a way to include all my bam files downloaded in the command.
Has anyone got an idea of how i can do this??
Thank you in advance, Maria
Be warned though, samtools depth (at least as of version 1.1-30-g7f47a7c) doesn't combine the depth info across bam files for samples (same SM tag) occurring in multiple files.
I expected it to output one column per sample since most other commands work that way, but instead it outputs one column per bam file.
Hey, If my command is :
and list.txt looks like this:
Is samtools output in the same order?
I mean is the third column F1.bam, the fourth F2.bam, and so on?