How To Set A Threshold On Mapping Quality
1
0
Entering edit mode
13.2 years ago
Junfeng ▴ 330

Hi, we know that the reliable alignments can be obtained by setting a threshold on mapping quality, such as: samtools view -bq 1 aln.bam > aln.reliable.bam. Here i want to know how to set the threshold? Is there any standard method for this setting? Thank you.

mapping quality • 7.7k views
ADD COMMENT
1
Entering edit mode

Thanks for editing my question so that it's easy to read.

ADD REPLY
0
Entering edit mode

Hi!! I'm trying to detect deletions of transposons by looking at the bam files of the alignments between the reference genome and the fastq pairs, and the annotation of the TEs. The mapper I used is STAR and for the visualization I used IGV. In this context, I need to set a quality value threshold in order to remove noise. So far I haven't found the minimum mapping quality score. Any help would be appreciated. Thank you in advance for your time.

ADD REPLY
1
Entering edit mode

Please do not ask unrelated questions in old threads. Open a new question. In your case, by-eye analysis is probably not meaningful I guess. Use a proper variant caller. I often see MAPQ set to 20, check the literature and manuals of the variant callers.

ADD REPLY
2
Entering edit mode
13.2 years ago
Junfeng ▴ 330

It seems that we do not need to care about this (set it as 1 is enough) if we just want to detect SNPs (http://maq.sourceforge.net/qual.shtml). Is this correct?

ADD COMMENT

Login before adding your answer.

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