Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mido1951
    Senior Member
    • May 2014
    • 123

    #1

    find error rate in Raw Read

    Hi,
    How can i find the overall error rate of the Raw reads? and the rate of (substitutions, deletions and insertions)?
    how to do?
    Thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Look at @Brian's post (#18) here. You would either need a reference or you will have to assemble your data into a reference.

    Comment

    • mido1951
      Senior Member
      • May 2014
      • 123

      #3
      i used BBmap for mapping. it is a good tool?
      this is my result:
      Code:
         ------------------   Results   ------------------
      
      Genome:                 1
      Key Length:             13
      Max Indel:              16000
      Minimum Score Ratio:    0.56
      Mapping Mode:           normal
      Reads Used:             108490  (52257243 bases)
      
      Mapping:                4967.598 seconds.
      Reads/sec:              21.84
      kBases/sec:             10.52
      
      
      Read 1 data:            pct reads       num reads       pct bases          num bases
      
      mapped:                  29.4433%           31943        29.9910%           15672446
      unambiguous:             29.0607%           31528        29.6165%           15476766
      ambiguous:                0.3825%             415         0.3745%             195680
      low-Q discards:           0.0000%               0         0.0000%                  0
      
      perfect best site:        0.0046%               5         0.0002%                126
      semiperfect site:         0.0046%               5         0.0002%                126
      
      Match Rate:                   NA               NA        85.4575%           14050523
      Error Rate:              40.9037%           31938        14.5421%            2390951
      Sub Rate:                40.9024%           31937         7.2366%            1189814
      Del Rate:                40.7756%           31838         4.6777%             769083
      Ins Rate:                40.7103%           31787         2.6278%             432054
      N Rate:                   0.0013%               1         0.0003%                 55
      
      Total time:             5126.959 seconds.
      in this example: the global error rate is 40.9024% or 14.5421%(per bases)?
      and for Sub, Del, Ins?
      thanks

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        BBMap is a great tool but it needs to be applied appropriately.

        You need to provide additional information to get more. What kind of data is this, what are you mapping against, the command line options you used. BTW: You have only 30% of the reads mapping so that is low numbers to begin with (if you are mapping against a reference).

        Comment

        • mido1951
          Senior Member
          • May 2014
          • 123

          #5
          yes, I use my raw Reads for mapping to the reference.
          and i use the default parameters for BBmap.
          in this example: the global error rate is 40.9024% or 14.5421%(per bases)?
          and for Sub, Del, Ins?
          thanks

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            It appears that you did not read the post #18 in the thread that I linked above that tells how to plot the rates you are looking for.

            If you are working with MinION or PacBio type data (long reads) then you should be using a mapPacBio.sh instead of bbmap.sh. That error rate may not be meaningful as it stands now.

            To calculate the error rate (for long reads) you may have to do something like this:

            Code:
            $ mapPacBio.sh in=your_reads.fa ref=ref.fa mhist=mhist.txt qhist=qhist.txt maxlen=2000
            @Brian is likely to swing by this thread later tonight (and may have specific suggestions). That example above was for PacBio data but I assume it may work for MinION data.

            Comment

            • Brian Bushnell
              Super Moderator
              • Jan 2014
              • 2709

              #7
              Well, I'm not really sure what those reads are, at an average length of ~481bp. Probably PacBio, though, considering the ~14.5% error rate.

              As GenoMax said, you should map PacBio (or minIon) reads with mapPacBio.sh. The usage and algorithm are the same as bbmap.sh, but it is designed for the PacBio error model.

              The error rates you want are in the "pct bases" column.

              Comment

              • mido1951
                Senior Member
                • May 2014
                • 123

                #8
                i work with MinION reads with an average lenght ~5000bp.
                For this i use mapPacBio.sh?

                excuse me, for the error rate i work with "pct bases" column?
                thanks

                Comment

                • Brian Bushnell
                  Super Moderator
                  • Jan 2014
                  • 2709

                  #9
                  Originally posted by mido1951 View Post
                  i work with MinION reads with an average lenght ~5000bp.
                  For this i use mapPacBio.sh?
                  Yes. And you may need to use higher-than-default sensitivity, if the data is particularly low quality; you can adjust sensitivity with the "minid" flag. E.g. "minid=0.5" will try to map reads down to 50% identity.

                  excuse me, for the error rate i work with "pct bases" column?
                  thanks
                  That's correct.

                  Comment

                  • mido1951
                    Senior Member
                    • May 2014
                    • 123

                    #10
                    I used mapPacBio.sh and mapPacBio8k.sh.
                    but the execution takes a long time compared to bbmap.sh.
                    that's logic?

                    Comment

                    • Brian Bushnell
                      Super Moderator
                      • Jan 2014
                      • 2709

                      #11
                      Yep, mapPacBio is slower, because it supports higher sensitivity and longer reads. Note that "mapPacBio8k.sh" is not in the latest release, so you may be using an older version that might also be somewhat slower.

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                        by SEQadmin2



                        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                        ...
                        10-14-2026, 09:55 AM
                      • SEQadmin2
                        New Genomics Technologies Take Aim at Long-Standing Limits
                        by SEQadmin2


                        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                        ...
                        09-28-2026, 10:25 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      16 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      21 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-13-2026, 09:56 AM
                      0 responses
                      22 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-09-2026, 11:14 AM
                      0 responses
                      27 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...