Class TranslateFlipContext

java.lang.Object
org.biojava.bio.seq.projection.ReparentContext
org.biojava.bio.seq.projection.TranslateFlipContext
All Implemented Interfaces:
Serializable, ProjectionContext

A ProjectionContext that translates and optionaly flips features.

Use this to 'reverse complement' a feature hierachy, or just to shift it sideways a bit.

If the flipping mode is dissabled, then all translated features are projected as having locations equivalent to feat.getLocation().translate(translation). If the flipping mode is enabled, then all features are flipped arround translation so that translation-i becomes translation+i.

Author:
Matthew Pocock
See Also: