Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Recompute Mapping Quality of Single Reads?

    Hi all,


    is there any way to recompute mapping qualities of single reads? In my case, I want to trim reads after mapping, so I cut sequence and (base calling) qualities appropriately and adjust the CIGAR string. Further, this should (in most cases i guess) lead to an increased mapping quality, as most of the trimmed bases are mismatches.

    Can I recompute mapping quality without performing the mapping step again?

    Thank you!!

  • #2
    In general I would say the answer is, "no, you can't". The exception would be if your aligner happens to track where a number of the non-optimal alignments are. Then you could just short-cut things by adjusting each of those alignments and redetermining which is best and what it's score is. This may not be a fool proof method, it will produce wrong results if you do more than minor trimming.

    In other words, you're going to need to remap things.

    Comment


    • #3
      Well, thanks for the answer! In general, I'm not expecting major trimming, no.
      But BWA aln isn't tracking alternative possibilities of mapping, right?

      Comment


      • #4
        Not in its output (at least from what I recall, I don't pretend to be a bwa expert).

        Comment


        • #5
          OK, thanks! I haven't seen anything like that, either...

          Further comments are still welcome! ;-) In the meantime, I will try remapping the reads...

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Latest Developments in Precision Medicine
            by seqadmin



            Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

            Somatic Genomics
            “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
            05-24-2024, 01:16 PM
          • seqadmin
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 01:32 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-24-2024, 07:15 AM
          0 responses
          199 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-23-2024, 10:28 AM
          0 responses
          221 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-23-2024, 07:35 AM
          0 responses
          232 views
          0 likes
          Last Post seqadmin  
          Working...
          X