Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mouth_Breather
    Junior Member
    • Jul 2011
    • 8

    #1

    Getting a list of all index sequences

    Hi!

    For an internal project we are doing, we are trying to get at the actual index sequence for each read (all reads, whether it winds up in the undetermined indices bin or not).

    We are using casava 1.8.2. From what I can tell looking at the Casava User Guide, this information is only present in the binary .bcl files.

    Does anyone know of another way to retrieve this information, other than writing a script that parses binary?

    Thanks for reading!
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Mouth,

    The actual barcode read for each read is recorded in the definition line of the FASTQ file. Here is the format of the Illumina FASTQ produced by CASAVA 1.8.x

    Code:
    @HWI-ST957:100:D0V52ACXX:6:1101:1221:2161 1:N:0:CGATGT
    The barcode sequence at the end of the read is the actual barcode read for that cluster.

    Here is an example showing that you can see variation in the barcode recorded in the defline. It grabs the first 1000 deflines from a gzipped fastq file, splits the defline at ":" and takes the 10th field (the barcode), sorts them and counts the number of each uniq one.

    Code:
    zgrep ^@HWI CTRL1_CGATGT_L006_R1_001.fastq.gz | head -1000 | cut -d":" -f10 | sort | uniq -c
          1 CGATAT
          2 CGATGA
          1 CGATGG
        987 CGATGT
          2 CGCTGT
          1 CGGTGT
          6 TGATGT
    You can see that 98.7% match he expected and there are a few with mismatches.

    But be aware if CASAVA demultiplexing was run with default settings no mismatches are allowed in the barcode. You will only see differences between the barcode read vs. the configured if you set up the CASAVA run (configureBclToFastq.pl) with --mismatches=1.

    Comment

    • Mouth_Breather
      Junior Member
      • Jul 2011
      • 8

      #3
      Originally posted by kmcarr View Post
      Mouth,

      The actual barcode read for each read is recorded in the definition line of the FASTQ file. Here is the format of the Illumina FASTQ produced by CASAVA 1.8.x

      Code:
      @HWI-ST957:100:D0V52ACXX:6:1101:1221:2161 1:N:0:CGATGT
      The barcode sequence at the end of the read is the actual barcode read for that cluster.

      Here is an example showing that you can see variation in the barcode recorded in the defline. It grabs the first 1000 deflines from a gzipped fastq file, splits the defline at ":" and takes the 10th field (the barcode), sorts them and counts the number of each uniq one.

      Code:
      zgrep ^@HWI CTRL1_CGATGT_L006_R1_001.fastq.gz | head -1000 | cut -d":" -f10 | sort | uniq -c
            1 CGATAT
            2 CGATGA
            1 CGATGG
          987 CGATGT
            2 CGCTGT
            1 CGGTGT
            6 TGATGT
      You can see that 98.7% match he expected and there are a few with mismatches.

      But be aware if CASAVA demultiplexing was run with default settings no mismatches are allowed in the barcode. You will only see differences between the barcode read vs. the configured if you set up the CASAVA run (configureBclToFastq.pl) with --mismatches=1.

      Hi thanks for the reply! I'm aware of the ability to grab the barcode sequence from the fastq files - I was not aware that it showed the actual variations for those barcodes that have 1 mismatch - thanks for that.

      But I also want to see the barcodes for which mismatches are 2 and greater. Are those recorded somewhere other than the .bcl files?

      Comment

      • kmcarr
        Senior Member
        • May 2008
        • 1181

        #4
        Originally posted by Mouth_Breather View Post
        But I also want to see the barcodes for which mismatches are 2 and greater. Are those recorded somewhere other than the .bcl files?
        Those are the reads in the fastq files under the Undetermined/Sample_lanex directories.

        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, Yesterday, 11:13 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...