public interface RemoteFeature extends StrandedFeature
These are the sort of features that represent things like the horible Embl remote feature spans (such as AL24199:100..200). The method getRemoteFeature should return a Feature on another Sequence that properly represents the Location. This Seqeunce will often be an Assembly of the parent Sequence to this Feature, and the Sequence associated with the remote Location sequence ID. Thse Features are also applicable to the case when a portion of a Sequence is projected but some Feature overlaps the boundary of the projected portion.
RichFeature
Modifier and Type | Interface and Description |
---|---|
static class |
RemoteFeature.Region
A tuple of Location and sequence ID.
|
static interface |
RemoteFeature.Resolver
The interface for objects that actually can take a RemoteFeature and
return a Sequence object with the feature resolved into a real feature.
|
static class |
RemoteFeature.Template |
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 |
---|---|
List |
getRegions()
Retrieve the list of Regions that locate this feature both localy and
remotely.
|
Feature |
getRemoteFeature()
Retrieve the Feature on some assembly Sequence that can represent this
RemoteFeature properly.
|
RemoteFeature.Resolver |
getResolver() |
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
List getRegions()
Feature getRemoteFeature() throws BioException
This method should be equivalent to calling
getResolver().resolve(this)
.
BioException
- if for any reason the remote Feature could not be
constructedRemoteFeature.Resolver getResolver()
Copyright © 2014 BioJava. All rights reserved.