bpp-seq
2.2.0
|
The SequenceWithAnnotationTools static class. More...
#include <Bpp/Seq/SequenceWithAnnotationTools.h>
Public Member Functions | |
SequenceWithAnnotation * | createMaskAnnotation (const Sequence &seq) throw (AlphabetException) |
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 192 of file SequenceWithAnnotationTools.h.
SequenceWithAnnotation * SequenceWithAnnotationTools::createMaskAnnotation | ( | const Sequence & | seq | ) | |
throw | ( | AlphabetException | |||
) |
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 74 of file SequenceWithAnnotationTools.cpp.
References bpp::SequenceWithAnnotation::addAnnotation(), and bpp::CaseMaskedAlphabet::isMasked().