Class AssemblerInput.Reads
- java.lang.Object
-
- com.biomatters.geneious.publicapi.plugin.AssemblerInput.Reads
-
- Enclosing class:
- AssemblerInput
public class AssemblerInput.Reads extends java.lang.Object
Provides the ability to iterate over all reads to be assembled. An instance of this can be created usingAssemblerInput.getReads()
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssemblerInput.Read
getNextReadPair()
Gets the next read or pair of reads.boolean
hasNext()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Returns:
- true if there is at least one more read that could be returned from
getNextReadPair()
-
getNextReadPair
public AssemblerInput.Read getNextReadPair() throws com.biomatters.geneious.publicapi.plugin.DocumentOperationException
Gets the next read or pair of reads.- Returns:
- the next read or pair of reads.
- Throws:
com.biomatters.geneious.publicapi.plugin.DocumentOperationException
- if the read can't be loadedjava.lang.IllegalStateException
- if there is no next read (hasNext()
would have returned false)
-
-