Interface SequenceDBLite

    • Field Detail

      • SEQUENCES

        static final ChangeType SEQUENCES
        Signals that sequences are being added to or remove from the database. The sequences being removed should be listed in the previous field by id, either as a single String, an array or a Set. The sequences being added should be listed in the change field as either an array Object[] { id, seq}, or a Map of id->seq.
    • Method Detail

      • getName

        java.lang.String getName()
        Get the name of this sequence database.
        Returns:
        the name of the sequence database, which may be null.
      • getSequence

        Sequence getSequence​(java.lang.String id)
                      throws IllegalIDException,
                             BioException
        Retrieve a single sequence by its id.
        Parameters:
        id - the id to retrieve by
        Returns:
        the Sequence with that id
        Throws:
        IllegalIDException - if the database doesn't know about the id
        BioException - if there was a failure in retrieving the sequence