Class AlternateTokenization

  • All Implemented Interfaces:
    Serializable, Annotatable, SymbolTokenization, Changeable

    public class AlternateTokenization
    extends Unchangeable
    implements SymbolTokenization, Serializable

    Implementation of SymbolTokenization which binds symbols to strings of characters. These tokenizations are intented to provide alternate way of writing sequences into Strings. Therefore they cannot be used for parsing files.

    As this release, alternate tokenizations are available for the built-in DNA alphabet (write symbols as capital letter) and PROTEIN-TERM alphabet (write symbol as triplets of characters with the first one being a capital letter as in "Glu".

    By convention, instances of AlternateTokenization should have an associated token starting by the word 'alternate'.

    Since:
    1.5
    Author:
    George Waldon
    See Also:
    Serialized Form