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 CloseableIterator<ILLUMINA_DATA> |
makeTileIterator(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.
|
Set<IlluminaDataType> |
supportedTypes()
The DataTypes that this parser can provide
|
void |
verifyData(List<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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles)
public PerTileParser(picard.illumina.parser.IlluminaFileMap tilesToFiles, int nextTile)
protected abstract CloseableIterator<ILLUMINA_DATA> makeTileIterator(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(List<Integer> tiles, int[] cycles)
tiles
- The number of tiles in the current runcycles
- The number of cycles in the current runpublic Set<IlluminaDataType> supportedTypes()