bpp-seq
2.2.0
|
Interface for sequence annotations. More...
#include <Bpp/Seq/SequenceWithAnnotation.h>
Public Member Functions | |
virtual SequenceAnnotation * | clone () const =0 |
virtual void | init (const Sequence &seq)=0 |
virtual const std::string & | getType () const =0 |
virtual bool | isValidWith (const SequenceWithAnnotation &sequence, bool throwException=true) const =0 |
Test is the annotation is valid for a given sequence. More... | |
virtual bool | merge (const SequenceAnnotation &anno)=0 |
Merge the input annotation with the current one. More... | |
virtual SequenceAnnotation * | getPartAnnotation (size_t pos, size_t len) const =0 throw (Exception) |
virtual bool | isRemovable () const =0 |
virtual bool | isShared () const =0 |
virtual void | beforeSequenceChanged (const SymbolListEditionEvent &event)=0 |
virtual void | afterSequenceChanged (const SymbolListEditionEvent &event)=0 |
virtual void | beforeSequenceInserted (const SymbolListInsertionEvent &event)=0 |
virtual void | afterSequenceInserted (const SymbolListInsertionEvent &event)=0 |
virtual void | beforeSequenceDeleted (const SymbolListDeletionEvent &event)=0 |
virtual void | afterSequenceDeleted (const SymbolListDeletionEvent &event)=0 |
virtual void | beforeSequenceSubstituted (const SymbolListSubstitutionEvent &event)=0 |
virtual void | afterSequenceSubstituted (const SymbolListSubstitutionEvent &event)=0 |
Interface for sequence annotations.
Definition at line 57 of file SequenceWithAnnotation.h.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtual |
Implements bpp::SymbolListListener.
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
Referenced by bpp::SequenceWithAnnotation::merge().
|
pure virtual |
pos | Starting point of the region. |
len | The length of the region, in number of positions. |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtual |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
Referenced by bpp::SequenceWithAnnotation::getAnnotation(), bpp::SequenceWithAnnotation::getAnnotationTypes(), and bpp::SequenceWithAnnotation::hasAnnotation().
|
pure virtual |
Creates a default annotation according to a given sequence.
seq | The template sequence (typically the one with which the annotation will be attached). |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
Referenced by bpp::SequenceWithAnnotation::merge().
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
Referenced by bpp::EdSymbolList::removeSymbolListListener().
|
pure virtualinherited |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtual |
Test is the annotation is valid for a given sequence.
sequence | The sequence to be validated against. |
throwException | If set to yes, throw an exception if the sequence is not valid. |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
|
pure virtual |
Merge the input annotation with the current one.
anno | The annotation to fuse. |
Implemented in bpp::SequenceQuality, and bpp::SequenceMask.
Referenced by bpp::SequenceWithAnnotation::merge().