bpp-seq3
3.0.0
|
The SequenceWithAnnotationTools static class. More...
#include <Bpp/Seq/SequenceWithAnnotationTools.h>
Public Member Functions | |
std::unique_ptr< SequenceWithAnnotation > | createMaskAnnotation (const Sequence &seq) |
Parse a sequence with a CaseMaskedAlphabet and creates a new SequenceWithAnnotation object with original alphabet and a mask annotation. More... | |
The SequenceWithAnnotationTools static class.
Implement methods to manipulate SequencesWithAnnotation
Definition at line 159 of file SequenceWithAnnotationTools.h.
unique_ptr< SequenceWithAnnotation > SequenceWithAnnotationTools::createMaskAnnotation | ( | const Sequence & | seq | ) |
Parse a sequence with a CaseMaskedAlphabet and creates a new SequenceWithAnnotation object with original alphabet and a mask annotation.
seq | The sequence to parse. |
AlphabetException | if the input sequence does not have a CaseMaskedAlphabet. |
Definition at line 39 of file SequenceWithAnnotationTools.cpp.
References bpp::AbstractTemplateSymbolList< T >::getAlphabet(), bpp::SimpleCommentable::getComments(), bpp::AbstractCoreSequence::getName(), bpp::AbstractTemplateSymbolList< T >::size(), and bpp::Sequence::toString().