Interface DataStore

  • All Known Implementing Classes:
    CompactedDataStore

    public interface DataStore
    A repository that can be searched with a sequence.
    Author:
    Matthew Pocock
    • Method Detail

      • getAlphabet

        FiniteAlphabet getAlphabet()
        The alphabet of symbol lists that can be searched against this DataStore.
        Returns:
        a FiniteAlphabet search types of SymbolList
      • seqNameForID

        java.lang.String seqNameForID​(int id)
                               throws java.lang.IndexOutOfBoundsException,
                                      SearchException
        Resolve an ID to a sequence name.
        Parameters:
        id - the int number of the sequence name to resolve
        Returns:
        the name of that sequence as a String
        Throws:
        java.lang.IndexOutOfBoundsException - if id is negative or too large
        SearchException