public class MultiTileBclParser extends Object
Modifier and Type | Field | Description |
---|---|---|
protected BclQualityEvaluationStrategy |
bclQualityEvaluationStrategy |
|
protected int |
currentTile |
The current tile number
|
static byte |
MASKING_QUALITY |
Constructor | Description |
---|---|
MultiTileBclParser(File directory,
int lane,
picard.illumina.parser.CycleIlluminaFileMap tilesToCycleFiles,
OutputMapping outputMapping,
boolean applyEamssFilter,
BclQualityEvaluationStrategy bclQualityEvaluationStrategy,
TileIndex tileIndex) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
int |
getTileOfNextCluster() |
Returns the tile of the next cluster that will be returned by PerTilePerCycleParser and therefore should be called before
next() if you want to know the tile for the data returned by next()
|
boolean |
hasNext() |
|
void |
initialize() |
|
protected picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> |
makeCycleFileParser(List<File> files) |
Create a Bcl parser for an individual cycle and wrap it with the CycleFilesParser interface which populates
the correct cycle in BclData.
|
protected picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> |
makeCycleFileParser(List<File> files,
picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> cycleFilesParser) |
For a given cycle, return a CycleFilesParser.
|
BclData |
next() |
Return the data for the next cluster by:
1.
|
void |
remove() |
|
protected static void |
runEamssForReadInPlace(byte[] bases,
byte[] qualities) |
EAMSS is an Illumina Developed Algorithm for detecting reads whose quality has deteriorated towards
their end and revising the quality to the masking quality (2) if this is the case.
|
void |
seekToTile(int tile) |
Clear the current set of cycleFileParsers and replace them with the ones for the tile indicated by oneBasedTileNumber
|
Set<IlluminaDataType> |
supportedTypes() |
|
void |
verifyData(List<Integer> tiles,
int[] cycles) |
forEachRemaining
public static final byte MASKING_QUALITY
protected final BclQualityEvaluationStrategy bclQualityEvaluationStrategy
protected int currentTile
public MultiTileBclParser(File directory, int lane, picard.illumina.parser.CycleIlluminaFileMap tilesToCycleFiles, OutputMapping outputMapping, boolean applyEamssFilter, BclQualityEvaluationStrategy bclQualityEvaluationStrategy, TileIndex tileIndex)
public void initialize()
protected picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> makeCycleFileParser(List<File> files, picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> cycleFilesParser)
files
- The file to parsecycleFilesParser
- The previous cycle file parser, null otherwise.protected picard.illumina.parser.PerTileCycleParser.CycleFilesParser<BclData> makeCycleFileParser(List<File> files)
files
- The files to parse.public Set<IlluminaDataType> supportedTypes()
public BclData next()
protected static void runEamssForReadInPlace(byte[] bases, byte[] qualities)
bases
- Bases for a single read in the cluster ( not the entire cluster )qualities
- Qualities for a single read in the cluster ( not the entire cluster )public void seekToTile(int tile)
tile
- requested tilepublic boolean hasNext()
public int getTileOfNextCluster()
public void remove()
public void close()