Dear all,
I need some help to understand the -d option of samtools, which is meant to do:
- At a position, read maximally INT reads per input BAM. [250]
I am working on PCR amplified data and the extreme read depth ~ 2,000 is affecting the QC steps. Hence I would like to make sure that I do not load more than 250 reads at each position. However, whatever I do using:
samtools mpileup -d 200 -f ...
I still get the same VCF output:
11 26463579 . C T 9.52 . DP=1990;VDB=0.0000;AF1=0.5;AC1=1;DP4=960,0,998,0;MQ=60;FQ=12.3;PV4=1,0,1,1
With the DP4 flags indicating a read depth around 2,000, so the full dataset without any cap on read depth. It looks like samtools is completely ignoring the -d option. Am I missing something here? How do I force samtools to cap the read depth?
Suggestions welcome,
Thanks,
Vincent
I need some help to understand the -d option of samtools, which is meant to do:
- At a position, read maximally INT reads per input BAM. [250]
I am working on PCR amplified data and the extreme read depth ~ 2,000 is affecting the QC steps. Hence I would like to make sure that I do not load more than 250 reads at each position. However, whatever I do using:
samtools mpileup -d 200 -f ...
I still get the same VCF output:
11 26463579 . C T 9.52 . DP=1990;VDB=0.0000;AF1=0.5;AC1=1;DP4=960,0,998,0;MQ=60;FQ=12.3;PV4=1,0,1,1
With the DP4 flags indicating a read depth around 2,000, so the full dataset without any cap on read depth. It looks like samtools is completely ignoring the -d option. Am I missing something here? How do I force samtools to cap the read depth?
Suggestions welcome,
Thanks,
Vincent
Comment