why did I get 0 at the 3rd column with samtools depth?
1
0
Entering edit mode
7.9 years ago
xjli • 0

I use "samtools depth bam" but get some zeros at the 3rd column.

  1. It says "positions with zero coverage may be omitted by default" with "samtools depth", why did I still get 0?
  2. Should I use the original bam file or the bam file after mark duplicates and realign the indel region?
  3. Is there any difference between "samtools depth'' and "samtools depth -q 0 -Q 0" in samtools (version 1.3.1)?
  4. How can I do this in multi-threads? I can't figure out the right way of using "nthreads=" Thank you.
alignment coverage samtools • 2.5k views
ADD COMMENT
0
Entering edit mode
7.9 years ago
  1. "May" is the operative word.
  2. You likely want to run it on the duplicate marked file.
  3. Those are the same. It's not documented, but the defaults are 0 for -q and -Q.
  4. You can't, though you could run samtools depth on different chromosomes in parallel.
ADD COMMENT

Login before adding your answer.

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