RevCompSequence (biojava-legacy 1.9.5 API)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
Annotatable.AnnotationForwarder
-
Nested classes/interfaces inherited from interface org.biojava.bio.seq.FeatureHolder
FeatureHolder.EmptyFeatureHolder
-
-
Field Summary
Fields Modifier and Type Field Description protected SequenceorigSeq-
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
-
Fields inherited from interface org.biojava.bio.seq.FeatureHolder
EMPTY_FEATURE_HOLDER, FEATURES, SCHEMA
-
Fields inherited from interface org.biojava.bio.symbol.SymbolList
EDIT, EMPTY_LIST
-
-
Constructor Summary
Constructors Constructor Description RevCompSequence(Sequence seq)URN, Name and Annotation are copied as is from the original Sequence, unless you use the the other contructor that sets these.
RevCompSequence(Sequence seq, String urn, String name, Annotation annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()clone() should make a complete copy of the Sequence with all features (and children) and return a SimpleSequence that is unconnected from the original sequence.
booleancontainsFeature(Feature f)containsFeature() will return true if this seq contains the feature in question, or if if the original (non reverse complement) sequence contains the feature;
intcountFeatures()Count how many features are contained.
FeaturecreateFeature(Feature.Template ft)createFeature() will call createFeature() on the underlying Sequence.
voidedit(Edit e)edit() will try to edit the underlying Sequence.
Iteratorfeatures()Iterate over the features in no well defined order.
FeatureHolderfilter(FeatureFilter ff)Query this set of features using a supplied
FeatureFilter.FeatureHolderfilter(FeatureFilter ff, boolean recurse)Return a new FeatureHolder that contains all of the children of this one that passed the filter fc.
FeaturegetFeatureFromOriginal(Feature f)getFeatureFromOriginal() Since you can not create a feature on a projectedFeature at this time, I am including this method so that you can get the corresponding feature from the original sequence.
voidremoveFeature(Feature f)Remove a feature attached to this sequence.
-
Methods inherited from class org.biojava.bio.seq.impl.SimpleSequence
createFeature, featureHolderAllocated, getAlphabet, getAnnotation, getChangeSupport, getFeatureHolder, getName, getSchema, getURN, iterator, length, realizeFeature, seqString, setName, setURN, subList, subStr, symbolAt, toList, toString
-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
-