bpp-seq  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
bpp::SequenceWithAnnotationTools Class Reference

The SequenceWithAnnotationTools static class. More...

#include <Bpp/Seq/SequenceWithAnnotationTools.h>

Public Member Functions

SequenceWithAnnotationcreateMaskAnnotation (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...
 

Detailed Description

The SequenceWithAnnotationTools static class.

Implement methods to manipulate SequencesWithAnnotation

Author
Julien Dutheil

Definition at line 192 of file SequenceWithAnnotationTools.h.

Member Function Documentation

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.

Parameters
seqThe sequence to parse.
Returns
A new SequenceWithAnnotation object.
Exceptions
AlphabetExceptionif the input sequence does not have a CaseMaskedAlphabet.

Definition at line 74 of file SequenceWithAnnotationTools.cpp.

References bpp::SequenceWithAnnotation::addAnnotation(), and bpp::CaseMaskedAlphabet::isMasked().


The documentation for this class was generated from the following files: