- All Implemented Interfaces:
- htsjdk.samtools.util.CloseableIterator<java.lang.String>, java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<java.lang.String>
public class BarcodeFileReader
extends java.lang.Object
implements htsjdk.samtools.util.CloseableIterator<java.lang.String>
Reads a single barcode file line by line and returns the barcode if there was a match or NULL otherwise.
Barcode.txt file Format (consists of tab delimited columns, 1 record per row)
sequence_read Matched(Y/N) BarcodeSequenceMatched
sequence read - the actual bases at barcode position
Matched(y/n) - Y or N indicating if there was a barcode match
BarcodeSequenceMatched - matched barcode sequence (empty if read did not match one of the barcodes).