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
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-25-2024, 11:49 AM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-24-2024, 08:47 AM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          62 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          61 views
          0 likes
          Last Post seqadmin  
          Working...
          X