Uses of Interface
org.biojava3.core.sequence.features.FeatureInterface
-
Uses of FeatureInterface in org.biojava3.core.sequence.features
Modifier and TypeClassDescriptionclass
AbstractFeature<S extends AbstractSequence<C>,
C extends Compound> A feature is currently any descriptive item that can be associated with a sequence position(s) A feature has a type and a source which is currently a string to allow flexibility for the user Ideally well defined features should have a class to describe attributes of that featureclass
QualityFeature<S extends AbstractSequence<C>,
C extends Compound> DNA Sequences produced by modern sequencers usually have quality informaion attached to them.class
QuantityFeature<S extends AbstractSequence<C>,
C extends Compound> It is common to have a numerical value or values associated with a feature.class
TextFeature<S extends AbstractSequence<C>,
C extends Compound> A implmentation of AbstractFeatureModifier and TypeFieldDescriptionstatic final Comparator<FeatureInterface<?,
?>> AbstractFeature.LENGTH
Sort features by length.static final Comparator<FeatureInterface<?,
?>> AbstractFeature.LOCATION_LENGTH
Sort features by start position and then longest length.Modifier and TypeMethodDescriptionAbstractFeature.getParentFeature()
Get the parent FeatureFeatureInterface.getParentFeature()
Get the parent featureModifier and TypeMethodDescriptionAbstractFeature.getChildrenFeatures()
Get the children featuresFeatureInterface.getChildrenFeatures()
Get the features contained by this featureModifier and TypeMethodDescriptionvoid
AbstractFeature.setParentFeature
(FeatureInterface<S, C> feature) A feature can be the child or contained by a parent feature.void
FeatureInterface.setParentFeature
(FeatureInterface<S, C> feature) Set the parent featureModifier and TypeMethodDescriptionvoid
AbstractFeature.setChildrenFeatures
(List<FeatureInterface<S, C>> features) Set the children featuresvoid
FeatureInterface.setChildrenFeatures
(List<FeatureInterface<S, C>> features) Set the children features -
Uses of FeatureInterface in org.biojava3.core.sequence.template
Modifier and TypeMethodDescriptionAbstractSequence.getFeatures()
AbstractSequence.getFeatures
(int bioSequencePosition) Return features at a sequence positionAbstractSequence.getFeatures
(String featureType, int bioSequencePosition) Return features at a sequence position by typeAbstractSequence.getFeaturesByType
(String type) Modifier and TypeMethodDescriptionvoid
AbstractSequence.addFeature
(int bioStart, int bioEnd, FeatureInterface<AbstractSequence<C>, C> feature) Method to help set the proper details for a feature as it relates to a sequence where the feature needs to have a location on the sequencevoid
AbstractSequence.addFeature
(FeatureInterface<AbstractSequence<C>, C> feature) Add a feature to this sequence.void
AbstractSequence.removeFeature
(FeatureInterface<AbstractSequence<C>, C> feature) Remove a feature from the sequence