Class 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 using AssemblerInput.getReads().
    • 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 loaded
        java.lang.IllegalStateException - if there is no next read (hasNext() would have returned false)