public interface RichSequence extends BioEntry, Sequence
| Modifier and Type | Interface and Description |
|---|---|
static class |
RichSequence.IOTools
A set of convenience methods for handling common file formats.
|
static class |
RichSequence.Terms
Stores a number of useful terms used across many sequence formats for
consistency's sake.
|
static class |
RichSequence.Tools
Some useful tools for working with RichSequence objects.
|
Annotatable.AnnotationForwarderFeatureHolder.EmptyFeatureHolder| Modifier and Type | Field and Description |
|---|---|
static ChangeType |
CIRCULAR |
static ChangeType |
SYMLISTVERSION |
COMMENT, DESCRIPTION, DIVISION, IDENTIFIER, RANKEDCROSSREF, RANKEDDOCREF, RELATIONS, SEQVERSION, TAXONANNOTATIONEDIT, EMPTY_LISTEMPTY_FEATURE_HOLDER, FEATURES, SCHEMA| Modifier and Type | Method and Description |
|---|---|
boolean |
getCircular()
Is the sequence circular?
|
Set<Feature> |
getFeatureSet()
The features for this sequence.
|
SymbolList |
getInternalSymbolList()
A special function that returns the SymbolList that this RichSequence is
based around.
|
Double |
getSeqVersion()
The version of the associated symbol list.
|
void |
setCircular(boolean circular)
Circularises the
Sequence. |
void |
setFeatureSet(Set<Feature> features)
Sets the features of this sequence.
|
void |
setSeqVersion(Double seqVersion)
Sets the version of the associated symbol list.
|
addComment, addRankedDocRef, addRelationship, getAccession, getComments, getDescription, getDivision, getIdentifier, getName, getNamespace, getRankedDocRefs, getRelationships, getTaxon, getVersion, removeComment, removeRankedDocRef, removeRelationship, setDescription, setDivision, setIdentifier, setTaxongetNoteSet, getRichAnnotation, setNoteSetgetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListeneraddRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefscompareToedit, getAlphabet, iterator, length, seqString, subList, subStr, symbolAt, toListcontainsFeature, countFeatures, createFeature, features, filter, filter, getSchema, removeFeaturestatic final ChangeType SYMLISTVERSION
static final ChangeType CIRCULAR
Double getSeqVersion()
void setSeqVersion(Double seqVersion) throws ChangeVetoException
seqVersion - the version to set.ChangeVetoException - if it doesn't want to change.Set<Feature> getFeatureSet()
void setFeatureSet(Set<Feature> features) throws ChangeVetoException
features - the features to assign to this sequence, replacing all others.
Must be a set of RichFeature objects.ChangeVetoException - if they could not be assigned.void setCircular(boolean circular) throws ChangeVetoException
Sequence. The circular length can then be
said to be the length of the sequence itself.circular - set to true if you want it to be circularChangeVetoException - if the change is blocked. Some implementations may choose not
to support circularisation and should throw an exception
here. Some implementations may only support this method for
certain Alphabets.boolean getCircular()
SymbolList getInternalSymbolList()
Copyright © 2020 BioJava. All rights reserved.