public class SingleFastqIndexer extends Object implements SingleReader, CanReportProgress, cc.redberry.pipe.OutputPortCloseable<SingleRead>
| Constructor and Description |
|---|
SingleFastqIndexer(SingleFastqReader reader,
long step) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileIndex |
createIndex() |
long |
getNumberOfReads()
For sequential readers returns the number of reads read till this moment, after reader is exhausted returns total
number of reads.
|
double |
getProgress() |
boolean |
isFinished() |
SingleFastqIndexer |
readToEnd() |
SingleFastqReader |
setTotalSize(long totalSize) |
SingleRead |
take() |
public SingleFastqIndexer(SingleFastqReader reader, long step)
public SingleFastqReader setTotalSize(long totalSize)
public double getProgress()
getProgress in interface CanReportProgresspublic boolean isFinished()
isFinished in interface CanReportProgresspublic SingleRead take()
take in interface cc.redberry.pipe.OutputPort<SingleRead>public long getNumberOfReads()
SequenceReaderThis method is thread-safe.
getNumberOfReads in interface SequenceReader<SingleRead>public void close()
close in interface cc.redberry.pipe.OutputPortCloseable<SingleRead>close in interface AutoCloseablepublic FileIndex createIndex()
public SingleFastqIndexer readToEnd()
Copyright © 2018. All rights reserved.