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.StrandFeature.ByLocationComparatorFeatureHolder.EmptyFeatureHolderAnnotatable.AnnotationForwarderNEGATIVE, POSITIVE, STRAND, UNKNOWNbyLocationOrder, LOCATION, PROPERTY_DATA_KEY, SOURCE, SOURCETERM, TYPE, TYPETERMEMPTY_FEATURE_HOLDER, FEATURES, SCHEMAANNOTATION| 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, setStrandfeatures, getLocation, getParent, getSequence, getSource, getSourceTerm, getType, getTypeTerm, makeTemplate, setLocation, setSource, setSourceTerm, setType, setTypeTermcontainsFeature, countFeatures, createFeature, filter, filter, getSchema, removeFeaturegetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerList 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 © 2020 BioJava. All rights reserved.