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?