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
              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