Obtaining Quality score of the mapped sequences - BBMap
Hi,
I am new to BBMap, so I kindly request to help me to find the **quality score of the mapped sequences. I also want to increase the quality score of the mapped sequence.
Thanks Madhu
• 5,825 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Are you referring to alignment scores (MAPQ values, column 5)? Those are in the SAM/BAM files. Otherwise this question is missing what it is you are looking for.
thanks, I want the MAPQ value. Any idea of the command to get the MAPQ value using SAMtool.
What will you do with standalone MAPQ values? You could do something like
samtools view test.bam | awk -F "\t" '{print $5}'ORawk -F "\t" '{print $5}' your_file.samthanks a lot, I just want to retrieve the value and increase the value to test the BBMap application.
missing ' after
Added to post above and here
awk -F "\t" '{print $5}' your_file.samYou guys sure there's not a sam/bamtools cmd that straight up does this? I did my alignment using BWA. I could loop through my 23 whole-genome bam files doing this, but It's gonna be real slow...
the original question is somewhat undefined. What is the purpose of extracting the mapping quality?
If one wanted to filter alignment by a minimal score this can be done with
where