I'm calling bcl2fastq with barcode-mismatches
set with a series of comma delimited values, which per their documentation is accepted. I checked that the numbers correspond to the actual indices that need lower allowed mismatches, yet the program is still throwing barcode collision errors. If I run the command with just '0' it will succeed, but I'd like to take advantage of the multiple inputs if possible. Am I missing something in the syntax to make it work? I've tried running it with and without spaces after commas, surrounding it in quotes, etc. with no success.
bcl2fastq \
--output-dir Unaligned_test1 \
--sample-sheet <...>demux.csv \
--runfolder-dir <runfolder> \
--barcode-mismatches 1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,0,1,0,1,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,0,1,0,1,1,0,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,1,1,1,0,0,0,0
documentation for bcl2fastq
--barcode-mismatches arg (=1) number of allowed mismatches per index
Multiple, comma delimited, entries allowed. Each entry is applied to
the corresponding index; last entry applies to all remaining
indices.
Accepted values: 0, 1, 2.
I had a program that calculates the collision of all barcodes in the samplesheet and decides what the maximum allowed mismatches would be, so the values should be 'correct', but I think the argument is not doing what I anticipated, per swbarnes' comment. I think you're right that we'd have to do two separate runs. Thanks!