Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sperez317
    Junior Member
    • Jul 2013
    • 5

    #1

    Re-implementing the Chastity Filter algorithm from SCS 2.6 on fastq files?

    We have some older runs we did with SCS 2.6 and CASAVA 1.6. We no longer have the qseq or pretty much any other files, but we do have fastqs. Unfortunately, the fastqs were not filtered for the reads that passed the chastity filter, and that data is not in the fastq file itself.

    Does anyone know where I can find the documentation that has the criteria SCS 2.6 used to tell if a read passed filter so that I can write a script to re-evaluate the reads in the fastq files? Or does anyone know of another solution to making these fastq files usable again?

    Thanks for the help.
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Chastity (and Purity) filters are based on relative fluorescent signal intensities of each of the 4 bases at each cycle (well, up to cycle 25) of each cluster. Unless you have the original intensity data there is no way to do Chastity filtering at this point.

    Failing that I would suggest you just perform more standard Q-score based trimming/filtering using something like Trimmomatic.

    Comment

    • sperez317
      Junior Member
      • Jul 2013
      • 5

      #3
      Ah, good to know. We do not have the original intensity data anymore, so I'll just use Trimmomatic.

      Thanks.

      Comment

      • HESmith
        Senior Member
        • Oct 2009
        • 512

        #4
        There used to be a flag in the old FASTQs that indicated pass/fail for chastity filtering (I believe it was the last field of the identifier). At one point it was 1/0, then changed to N/Y (although my recollection is that Y meant it FAILED chastity). You should be able to tell by examining reads with all Q-scores = 0 (those invariably fail chastity).

        Comment

        • sperez317
          Junior Member
          • Jul 2013
          • 5

          #5
          I don't think there are in this one. An example from the file:

          @NA328MB44S:1:1:1036:18513#0/1
          CACACCATTAGTTAATGCCACATCTCCCACACCTACAATTTAGAGATCGGAAGAGCGGTTCAGCAGGAACGACGA
          +
          a\_aaaaaaYXY]OX]UU]UL[YY[_``Y_]]R`]``\_````Q_LYY[T\S\P]]_WSM``\`BBBBBBBBBBB


          If I'm reading the documentation correctly, the first line only tells me computer/positioning data, and then multiplexing/mate pair information. I've looked for identifiers based on other projects where we do still have the old information, but I don't think there's any trace of it in these because of the way the person who did these runs did the conversions (These reads are from 2010 and he no longer works here).

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            You could ask the facility that ran the original to see if they kept a backup of the original run data (we do). Then you would be all set.

            Edit: Perhaps you *are* in the facility that did the original runs.
            Last edited by GenoMax; 07-24-2013, 10:23 AM.

            Comment

            • HESmith
              Senior Member
              • Oct 2009
              • 512

              #7
              Originally posted by sperez317 View Post
              I don't think there are in this one. An example from the file:

              @NA328MB44S:1:1:1036:18513#0/1
              ...
              The last character of the identifier (after '/') is the chastity flag.

              Comment

              • sperez317
                Junior Member
                • Jul 2013
                • 5

                #8
                If that's the case (I thought it was pair membership), then something went wrong in our initial conversion, since every line has a 1 at the end, even those such as:

                @NA328MB44S:1:1:991:17986#0/1
                NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
                +
                BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

                which are obviously not good reads.

                Trimmomatic is making them usable for our purposes, so it's working out.

                Comment

                • HESmith
                  Senior Member
                  • Oct 2009
                  • 512

                  #9
                  Okay, that's good to know.

                  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-22-2026, 11:13 AM
                  0 responses
                  45 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  34 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  44 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  45 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...