Class RevCompSequence

  • All Implemented Interfaces:
    Serializable, Annotatable, FeatureHolder, RealizingFeatureHolder, Sequence, SymbolList, Changeable

    public class RevCompSequence
    extends SimpleSequence
    A reverse complement view onto Sequence interface.

    All features of the underlying sequence are reflected onto the RevCompSequence using a ProjectedFeatureHolder

    calling createFeature() on a RevCompSequence creates a feature on the underlying sequence. Non-Stranded features will return the reverse compemented view of the sequence when getSymbols() is called that is to say if you get what you expect as if your RevCompSequence was a regular Sequence.
    Author:
    David Waring, Thomas Down
    See Also:
    Serialized Form