Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Metz
    Junior Member
    • Dec 2010
    • 5

    #1

    Demultiplexing Casava 1.8 reads

    Hi all,

    My most recent data set consists of a set of fastq files that have already been demultiplexed by Casava 1.8. However, my sequencing core told me that this only allows for a single bp mismatch. Because my barcodes are rather long many reads end up in the unknown indices. However, I designed the barcodes to allow for 5 errors between them and I would now like to utilize this. I can easily look at the fastq files and see the index in the read name header, but I can not find a program that will allow me to demultiplex based on this format. My core doesn't keep the original reads, so I am stuck having to demultiplex reads that have already been demultiplexed by Casava. If anyone knows of a program that can accomplish this that would be great.
  • Frank D
    Junior Member
    • Sep 2009
    • 2

    #2
    Hi Metz,
    Try the fastx_barcode_splitter.pl from the FASTX toolkit:

    You can specify the number of mismatches and for a one off analysis it is reasonably quick.

    Comment

    • Metz
      Junior Member
      • Dec 2010
      • 5

      #3
      Thanks for the response Frank, but I've already tried fastx. Unless I'm mistaken, it requires that the barcode be part of the read, not in the read name. I've thought about just writing a script to reintroduce the barcode back into the read, but that also requires adding in 'mock' quality scores for those bases and other changes to the read name. My perl is several years out of use, and I'm trying to prevent reinventing the wheel.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        I assume you are looking to parse reads from the "Undetermined" reads file which would have the reads with more than 1 mismatch.

        Rather than re-introducing the tags back in the reads it would be more efficient to enumerate all "tags" that are in your "undetermined tags" file and decide the ones you want keep/extract.

        Comment

        • Metz
          Junior Member
          • Dec 2010
          • 5

          #5
          Do you know of a program that can do something along those lines?

          Comment

          • HESmith
            Senior Member
            • Oct 2009
            • 512

            #6
            The following should work for CASAVA v1.8 fastq files (the grep expression may need to be modified to match your machine name):

            zcat name.of.fastq.gz | grep ‘^@HWI’ | cut -d : -f 10 | sort | uniq -c | sort -nr > indices.txt
            Last edited by HESmith; 01-25-2012, 08:33 AM. Reason: clarification

            Comment

            • Metz
              Junior Member
              • Dec 2010
              • 5

              #7
              Thanks for the code. It works for giving me a list of barcodes and their counts. I can definitively tell which barcode the most abundant ones belong too. However, I'm not sure how to proceed with this. I just don't understand enough perl to move forward quickly. However, if there isn't another solution, I guess that is the way to go. I just can't believe that nobody else has had this problem in the last year.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                Today, 06:46 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              70 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...