mapping quality for sanger reads
1
0
Entering edit mode
9.3 years ago
shinken123 ▴ 150

Hi

Anyone knows if BWA-mem automatically detect if the reads that I am aligning have their quality is fastq-sanger?. If not, this affect the mapping quality score?

Cheers

alignment • 2.2k views
ADD COMMENT
0
Entering edit mode
9.3 years ago

BWA aln provides -I option that can be used to align fastq reads with Phred+64 quality scores. The reads in output bam file have base quality in Sanger or Phred+33 format. BWA-mem doesn't have that option (at least not stated in the manual). If you search on this forum there are multiple posts that explain in detail about how to test if reads belong to Phred+33 or Phred+64. Also, you can easily convert them from one to other. Base quality scores are not used in the calculation of mapping quality scores but BWA mem may throw an out of range error if it can't take Phred+64 fastq files.

ADD COMMENT
0
Entering edit mode

Thank you very much. So if my reads are from a sanger sequencing (Phred+33) and BWA-mem assumes that the sequences are in Phred+33, is going to work fine with my data.

Thanks again

Regards

ADD REPLY
0
Entering edit mode
Well if your reads are phred+33 then you don't need to do anything. Just use BWA mem.
ADD REPLY

Login before adding your answer.

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