public interface ComponentFeature extends StrandedFeature
There are important invariants which apply to all ComponentFeatures. The Location returned by getLocation() must contain the same number of unique point locations as that returned by getComponentLocation().
In BioJava 1.2, two extra properties were added to ComponentFeature
to support the use of these features in environments were it it necessary to
represent an assembly built from sequences which are not currently available.
Widespread use of such sequences is not encouraged, but it is recognized that
they are useful as intermediate objects for data integration applications.
Modifier and Type | Interface and Description |
---|---|
static class |
ComponentFeature.Template
Template for constructing a new ComponentFeature.
|
StrandedFeature.Strand
Feature.ByLocationComparator
FeatureHolder.EmptyFeatureHolder
Annotatable.AnnotationForwarder
NEGATIVE, POSITIVE, STRAND, UNKNOWN
byLocationOrder, LOCATION, PROPERTY_DATA_KEY, SOURCE, SOURCETERM, TYPE, TYPETERM
EMPTY_FEATURE_HOLDER, FEATURES, SCHEMA
ANNOTATION
Modifier and Type | Method and Description |
---|---|
Location |
getComponentLocation()
Return a location which identifies a portion of the component
sequence which is to be included in the assembly.
|
Sequence |
getComponentSequence()
Get the sequence object which provides a component of this
feature's parent sequence.
|
String |
getComponentSequenceName()
Get the name of the component sequence.
|
boolean |
isComponentResolvable()
Determine if the sequence references by this ComponentFeature
is available in this context.
|
getStrand, getSymbols, setStrand
features, getLocation, getParent, getSequence, getSource, getSourceTerm, getType, getTypeTerm, makeTemplate, setLocation, setSource, setSourceTerm, setType, setTypeTerm
containsFeature, countFeatures, createFeature, filter, filter, getSchema, removeFeature
getAnnotation
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
Sequence getComponentSequence()
Location getComponentLocation()
String getComponentSequenceName()
getComponentSequence().getName()
. However,
it may still be defined for un-resolveable components.boolean isComponentResolvable()
SymbolList
(in a DNA context, a list of Ns).Copyright © 2014 BioJava. All rights reserved.