read depth using samtools

read depth using samtools

1

Hello all,

I’m using samtools in order to get the depth of a file called file.bam, but the output I have is like this:

samtools depth file.bam > output.txt

11  88911833    2
11  88911834    2
11  88911835    2

I understand that the first column is the name of the reference sequence, the second column is the base index within the reference, and the third column is the depth of coverage for that base.

But I need at the end the read depth represented like 100X, 150X and something like this.

Is there any calculation should I follow/apply to the output file?


depth


samtools

• 14k views

updated 2 hours ago by

0

written 2.8 years ago by

▴

10

Read more here: Source link