public abstract class PerTileParser<ILLUMINA_DATA extends picard.illumina.parser.IlluminaData>
extends java.lang.Object
Constructor and Description |
---|
PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles) |
PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles,
int nextTile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getTileOfNextCluster()
Return the tile of the NEXT ILLUMINA_DATA object to be returned by the method next.
|
boolean |
hasNext()
Is there a DATA_TYPE object for another cluster remaining.
|
protected abstract htsjdk.samtools.util.CloseableIterator<ILLUMINA_DATA> |
makeTileIterator(java.io.File nextTileFile)
Factory method for the iterator of each tile
|
void |
maybeAdvance() |
ILLUMINA_DATA |
next()
Read the next read's set of data and set it into the provided data object.
|
void |
remove() |
void |
seekToTile(int oneBasedTileNumber)
Jump so that the next record returned will be from the specified tile.
|
java.util.Set<IlluminaDataType> |
supportedTypes()
The DataTypes that this parser can provide
|
void |
verifyData(java.util.List<java.lang.Integer> tiles,
int[] cycles)
Given the expected tiles and cycles for this run, make sure this parser can provide data for
all tiles/cycles or throws an exception if it's missing any required data or data structures
it relies on do not disagree with the provided tiles/cycles
|
public PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles)
public PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles, int nextTile)
protected abstract htsjdk.samtools.util.CloseableIterator<ILLUMINA_DATA> makeTileIterator(java.io.File nextTileFile)
public int getTileOfNextCluster()
public void seekToTile(int oneBasedTileNumber)
public void maybeAdvance()
public ILLUMINA_DATA next()
public void remove()
public boolean hasNext()
public void close()
public void verifyData(java.util.List<java.lang.Integer> tiles, int[] cycles)
tiles
- The number of tiles in the current runcycles
- The number of cycles in the current runpublic java.util.Set<IlluminaDataType> supportedTypes()