Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lingbl
    Junior Member
    • May 2019
    • 2

    #1

    bcl2fastq fail to demultiplexing, Barcode collision

    bcl2fastq --barcode-mismatches 1 -o ./test --tiles s_6 --sample-sheet SampleSheet_L006_8index.csv



    2019-05-27 13:33:58 [28b0880] ERROR: bcl2fastq::common::Exception: 2019-May-27 13:33:58: Success (0): /TeamCityBuildAgent/work/556afd631a5b66d8/src/cxx/lib/layout/BarcodeCollisionDetector.cpp(187): Throw in function void bcl2fastq::layout::BarcodeCollisionDetector::handleCollision(const value_type&, const value_type&)
    Dynamic exception type: boost::exception_detail::clone_impl<bcl2fastq::layout::BarcodeCollisionError>
    std::exception::what: Barcode collision for barcodes: GACCTGAT, CAGCTGAT
    By default, bcl2fastq allows 1 mismatch in each barcode. Barcodes with too few mismatches are ambiguous ( less than 2 times the number of mismatches plus 1). To reduce the number of allowed mismatches, use the command line option: '--barcode-mismatches'. Note that particularly for barcodes with only 1 mismatch, there is the danger that some reads will be written to the wrong sample due to errors in the barcode sequence.



    What's wrong about bcl2fastq ? index GACCTGAT, CAGCTGAT have two base different, I cannot see collision between GACCTGAT, CAGCTGAT.
  • r.rosati
    Member
    • Aug 2015
    • 95

    #2
    The confusion comes from the use of "mismatch" both for "sequencing error" and "difference between barcodes".
    If you allow one sequencing error, then the number of differences between barcodes must be equal to (2*sequencing errors + 1) = 3. Otherwise, for example, if the sequencer reads CACCTGAT it won't be able to attribute this to the first barcode with one sequencing error, or the second barcode with one sequencing error.

    In your case, you should allow zero mismatches (sequencing errors) due to having barcodes with two mismatches (differences).
    Last edited by r.rosati; 05-27-2019, 02:32 AM.

    Comment

    • lingbl
      Junior Member
      • May 2019
      • 2

      #3
      CAGCTGAT
      CACCTGAT

      GACCTGAT
      CACCTGAT

      Great help , thank you

      Comment

      • r.rosati
        Member
        • Aug 2015
        • 95

        #4
        Glad to be of help!
        As an afterthought - one can't blame the software for calling both "mismatches". Not the sequencer, nor the software know the "truth" and they don't know if a base is a sequencing error or not. So for the software, a mismatch is a mismatch; if it was known that a called base was an error, it wouldn't have been called. Perhaps I should have phrased the two as (1) "mismatch between the read sequences vs the barcode sequences" and (2) "mismatch between the two expected barcodes".
        Last edited by r.rosati; 05-27-2019, 05:29 AM.

        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
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 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...