I believe I have standard Illumina datafiles (I replied to @h.mon above with the first section of the head command), so I'll have a look at the BBMap. Thanks!
Edit: So my head command looks similar to the "Demultiplexing reads with index present in the labels" link you sent me, with both of our barcodes in our indexes. So then, I'm guessing I'm free to use the BBMap script?
Is the barcode included in fastq headers?
Or are they provided as separated files?
The barcode is included in the fastq headers:
Unless you have two separate files that contain the index sequences you may be out of luck. Those files will likely have
I1/I2in their names.See the WikiPedia fastq entry of where you should have seen the Illumina index sequence in the fastq header. Index sequence should have been present in this part of the header
1:N:0:at the end.BTW: This is 16S data from a MiSeq run?
I have four files total for the same run: a read 1, read 2, read 3 and read 4, though I'm not sure that's what you mean.
Also yes, this was a 16S MiSeq.
So here is what you likely have.
File 2 = Index 1andFile 3 = index 2. Look in all files to make sure the reads match the expected length of the read/index sequences.File 1 = Read 1andFile 4 = Read 2.Use
extract_barcodes.pyscript from Qiime package to process these files, if you intend to useQiimefor other analysis.If you just need the data demultiplexed then try FastqMultx.
Awesome! I was intending to use QIIME for the rest of my analysis, so then I can try the FastqMultx and then extract the barcodes with the QIIME python command?