Package picard.illumina.parser.readers
Class BarcodeFileReader
java.lang.Object
picard.illumina.parser.readers.BarcodeFileReader
- All Implemented Interfaces:
htsjdk.samtools.util.CloseableIterator<String>,Closeable,AutoCloseable,Iterator<String>
public class BarcodeFileReader
extends Object
implements htsjdk.samtools.util.CloseableIterator<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).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface htsjdk.samtools.util.CloseableIterator
stream, toListMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
BarcodeFileReader
-
-
Method Details
-
next
-
hasNext
public boolean hasNext() -
remove
public void remove() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfacehtsjdk.samtools.util.CloseableIterator<String>
-