Class DummySymbolList

  • All Implemented Interfaces:
    Serializable, SymbolList, Changeable

    public class DummySymbolList
    extends AbstractSymbolList
    implements Serializable
    Symbol list which just consists of non-informative symbols. A DummySymbolList can be constructed over any Alphabet, and may be of any length. Calls to the symbolAt method will always return the non-informative symbol for the alphabet in question (i.e. 'n' for DNA, 'X' for protein, etc.). If you wish to work with Feature objects, but don't have the actual sequence data available, you can construct a SimpleSequence from a DummySequence, and create features. on that.
    Since:
    1.2
    Author:
    Thomas Down, Matthew Pocock
    See Also:
    Serialized Form