More validation of library barcodes
We discovered a case where the specified barcode in the Library section didn't match the sequencing cycles setting in the flow cell section.
The library was specified to use a 8+8 bases barcode while the sequencing cycles used x-10-10-x indicating a 10+10 bases barcode. The header in the FASTQ file also had the 10+10 bases barcode.
It should be possible to implement a validation for this.
- Check that both FASTQ files have the same barcodes. NOTE! There may be reading error so some mismatches should be allowed.
- Check that the length of barcode that is specified for the library item matches the sequencing cycles specification
- Check that the barcode sequences that are specified for the library item matches the FASTQ files. NOTE! There may be reading error so some mismatches should be allowed. NOTE 2! The second barcode is reverse-complemented in the FASTQ file.