What Is The Difference Between Samtools Mpileup And Pileup
2
3
Entering edit mode
13.7 years ago
Ian 6.1k

As of samtools 0.1.8 'mpileup' appears to have superseded 'pileup' for variant detection. The samtools website now has pileup as deprecated.

So i am wondering whether i should repeat my recent SNP/INDEL calling with mpileup? But does anyone know what the improvements are using mpileup?

For those who don't already know 'pileup' and 'mpileup' can be used to create a consensus sequence using NGS mapped reads relative to a reference genome, but can also highlight variants relative to the reference.

samtools pileup mpileup snp indel • 19k views
ADD COMMENT
8
Entering edit mode
13.7 years ago
lh3 33k

For single-sample SNP calling, they differ little. Pileup uses BAQ by default, too. The major difference comes from indel calling. Mpileup implements a more advanced method. For indel calling, do not use pileup any more.

ADD COMMENT
1
Entering edit mode

Mpileup also outputs pileup.

ADD REPLY
0
Entering edit mode

It seems pileup is going away in the next release. The pileup raw output was still very useful (read coverage among others). If that feature goes away, what tool can be used as a replacement? An alternative would be to write your version. I wanted to check before moving in that direction.

ADD REPLY
3
Entering edit mode
13.7 years ago
Pablo ★ 1.9k

Indeed, mpileup is a pileup that supports multiple samples and the old pileup is deprecated.

Mpileup by default uses a new algorithm (BAQ). The Snp calling is now done by BcfTools, which (I think) also made some improvements.

Since generating mpileup/bcf/vcf is not such a long process, I'd recommend re-calculating the calls.

ADD COMMENT

Login before adding your answer.

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