View Single Post
Old 03-30-2011, 01:03 PM   #1
Junior Member
Location: New Haven

Join Date: Apr 2010
Posts: 2
Default pileup output different using Maq and Samtools commands

Dear all,

We are trying to detect allelic specific expression with RNA-seq data by mapping against a masked genome (with the reference allele substituted for N's at known SNP positions). We have followed the approach of the Degner/Pritchard paper (2009) where they perform the mapping step using Maq. Our approach has been to use the pileup command in Maq to derive the allele counts at each position. We thought we were getting good results. However, we recently realized that the counts from the Maq produced pileup file do not agree with the counts from a visual inspection of the BAM file produced from the mapping. (This BAM file was produced by converting the .map file from Maq to a .bam file using Samtools). However, when we use the Samtools pileup command on this BAM file, the counts in the pileup file do agree with a visual inspection of the counts when viewing the BAM file in a genome browser.

For instance, for the Maq produced pileup file we get 24 T's and 0 C's at a particular base, whereas in the Samtools produced pileup file we get
14C's and 35T's.

Does anyone have any idea of what is happening here? Should we trust the Maq or the SAM tools results?

Thanks so much for the help,

mr_boourns is offline   Reply With Quote