Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BBRepair quality score changes

    After running BBRepair the log file states: "Changed from ASCII-33 to ASCII-64 on input quality 97 for base C while prescanning." It does this for base scores 66, 95, and 98. I would like to run the files through quality trimming, but am now unsure how the quality scores are encoded (sanger, illumina, etc). Prior to BBRepair, some files had sanger scores, and other had illumina. Any help would be greatly appreciated.

  • #2
    If the encoding was detected correctly, or if you add the flag "changequality=f", the output will retain the same encoding as the input. It's always best to tell it what the encoding is, though, because it is not possible to detect the quality score encoding with 100% accuracy. You can specify encoding with these flags:

    qin=64 qout=33


    That will force the input to be treated as ASCII-64 (old Illumina) and the output will be ASCII-33 (Sanger). It's normally easiest to work with data when all sets have the same encoding...

    Comment


    • #3
      Thank you for your quick response. Even though the log file says the quality encoding changes, when I check the file's quality encoding with testformat.sh in bbmap (from your comment here https://www.biostars.org/p/63225/), the output states that the file is in its original encoding. I was hoping you could clarify whether repair.sh permanently or temporarily changes quality encoding.

      Thank you!!
      Last edited by gstone; 02-27-2017, 08:13 PM.

      Comment


      • #4
        Sorry, I guess the message is unclear. When it says this:

        "Changed from ASCII-33 to ASCII-64 on input quality 97 for base C while prescanning."

        That means it started with the assumption that your data is in ASCII-33, but examined the file, and decided the input was ASCII-64. So, it processed the file assuming the data was ASCII-64. In that case, it does not change the data at all - what changes is the assumption about how to interpret the data. In other words, your data is unchanged.

        Comment


        • #5
          Great, thank you so much for the clarification!

          Comment


          • #6
            If your data is in phred+64 format (only possible if it is pretty old) then remember to use qin=64 option with other bbtools.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Best Practices for Single-Cell Sequencing Analysis
              by seqadmin



              While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
              06-06-2024, 07:15 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 06-07-2024, 06:58 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-06-2024, 08:18 AM
            0 responses
            20 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-06-2024, 08:04 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-03-2024, 06:55 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Working...
            X