- <init>
Constructs a downsampling iterator upon the supplied iterator, using the Random
as the source of ran
- advance
Clears the current record and attempts to advance through the underlying
iterator until a record is
- bufferNextChunkOfRecords
Buffers reads until either the end of the file is reached or enough reads have
been buffered such th
- calculateTemplatesToKeep
Calculates the number of templates to keep in a specific batch of reads having
just read templatesRe
- getTargetProportion
- readFromUnderlyingIterator
Reads from the underlying iterator until it has observed templatesToRead
templates (i.e. read names)
- recordAcceptedRecord
- setTargetAccuracy
Sets the target accuracy of the downsampling iterator. The value should be
thought of as probability