Question: Mapping Quality Issues With Bwa/Stampy Hybrid Alignment
gravatar for oadaily
5.9 years ago by
oadaily20 wrote:

Hi all,

I am new to biostar so I want start by saying thank you all for sharing your expertise.

I recently started testing stampy-1.0.21. I align with bwa-0.5.9-r16 and use output redirection to pipe bwa sam output into stampy to align the bwa output. I use standard options for both tools with --bamkeepgoodreads for stampy. The issue I have is the BWA mapped reads and stampy mapped reads have differently scaled (so it seems) read mapping qualities. bwa mapq max is 60 and stampy mapq max is 99. For instance reads that where aligned initially with bwa with poor mapping quality scores, stampy aligns them much better (there is a large indel) but the mapq is 99 now. This arises as an issue during variant calling especially for reads aligned with stampy with more mismatches (like mapq 70 out of 99) than the bwa aligned reads (mapq 60). The result is higher false-positives with mpileup | bcftools even though mpileup has max mapq at 60 by default. if mpileup rescales mapq it should not be a problem however, it seems so not scale but limit at 60. One thing I have realized is the differences in bwa and stampy defaults for substitution rates.

Has anybody else seen this problem, or what am I doing wrong. Thanks.

alignment bwa • 2.3k views
ADD COMMENTlink modified 5 weeks ago by zhangtaonju0 • written 5.9 years ago by oadaily20

Hi, have you solved this problem? I have the same question about the different scale of mapping quality in BWA and stampy.

ADD REPLYlink written 5 weeks ago by zhangtaonju0

The OP has not logged in during the last 5 years, you'll not get a response from them. Is there any reason you want to use such an ancient tool like Stampy? Most aligners have undergone multiple updates since the development of that tool. Did you test if none of the common NGS aligners satisfy your needs?

ADD REPLYlink written 5 weeks ago by ATpoint13k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1461 users visited in the last hour