Mpileup Multiple Samples - Individual DP Values
1
0
Entering edit mode
4.7 years ago
Ks-seq ▴ 10

Hi I used mpileup (samtools and bcftools) for multiple samples (.bam files), and found that there is only single INFO field providing values for DP,AD etc. If I use single .bam file then INFO field is for single sample, that is quite clear:

#CHROM  POS ID  REF ALT QUAL    FILTER  INFO    FORMAT  chr1.bam
1   629150  .   G   T   3.22451 .   DP=19;ADF=0,10;ADR=0,9;AD=0,19;VDB=0.000446291;SGB=-0.69168;MQSB=0.992528;MQ0F=0.315789;AC=2;AN=2;DP4=0,0,10,9;MQ=0 GT:PL:DP:SP:ADF:ADR:AD:GP:GQ    1/1:30,57,0:19:0:0,10:0,9:0,19:-2.14748e+09,-2.14748e+09,0:127

However, using multiple samples I get like this:

#CHROM  POS ID  REF ALT QUAL    FILTER  INFO    FORMAT  chr1.bam    chr12.bam
1   629136  .   G   C   4.79824 .   DP=19;ADF=0,10;ADR=0,9;AD=0,19;VDB=0.000613736;SGB=10.4471;MQSB=0.992528;MQ0F=0.315789;AC=2;AN=2;DP4=0,0,10,9;MQ=0  GT:PL:DP:SP:ADF:ADR:AD:GP:GQ    1/1:30,57,0:19:0:0,10:0,9:0,19:-2.14748e+09,-2.14748e+09,0:127  ./.:0,0,0:0:0:0,0:0,0:0,0:0,0,0:0

What is the relation of DP, AD values here with my samples (chr1.bam and ch12.bam) ? I was wondering whether it is possible to get DP,AD values for each individual? Similar question was asked years ago but no proper answer :( Mpileup Multiple Samples - Individual Dp4 Values
Thank you.

SNP alignment rna-seq • 1.9k views
ADD COMMENT
0
Entering edit mode
4.7 years ago

DP, AD values here

so we have two genotypes with a DP field (the 3rd). and the AD field (7th)

  GT:PL:DP:SP:ADF:ADR:AD:GP:GQ    1/1:30,57,0:19:0:0,10:0,9:0,19:-2.14748e+09,-2.14748e+09,0:127  ./.:0,0,0:0:0:0,0:0,0:0,0:0,0,0:0

there is no call for the 2nd genotype

1st genotype is DP=19 and AD=0,19 (0 read matching REF, 19 reads matching ALT)

in the INFO field, the sum of genotypes DPs is 19, the sum of genotypes ADs is 0,19

ADD COMMENT
0
Entering edit mode

Thanks for reply. Does it mean that INFO filed is sum of 1st and 2nd genotype i.e. DP=19 of chr1.bam + DP=0 of chr1.bam = total DP=19 in INFO field ?

ADD REPLY
0
Entering edit mode

yes .

ADD REPLY
0
Entering edit mode

Thanks, Is there anyway to seperate INFO field for each ? It will not be standard vcf file, however, if it is possible?

ADD REPLY

Login before adding your answer.

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