40 #ifndef _STRINGSEQUENCETOOLS_H_ 41 #define _STRINGSEQUENCETOOLS_H_ 46 #include <Bpp/Exceptions.h> 83 static std::string
subseq(
const std::string& sequence,
size_t begin,
size_t end)
throw (Exception);
94 static std::string
setToSizeR(
const std::string& sequence,
size_t size);
105 static std::string
setToSizeL(
const std::string& sequence,
size_t size);
114 static std::string
deleteChar(
const std::string& sequence,
char chars);
123 static std::string
deleteChar(
const std::string& sequence, std::string chars);
131 static std::string*
reverse(
const std::string& sequence);
144 static std::string*
complement(
const std::string& sequence);
160 static double getGCcontent(
const std::string& sequence,
size_t pos,
size_t window)
throw (BadIntegerException, Exception);
203 #endif //_STRINGSEQUENCETOOLS_H
An alphabet exception thrown when trying to specify a bad char to the alphabet.
This alphabet is used to deal NumericAlphabet.
The alphabet exception base class.
The sequence exception base class.
An alphabet exception thrown when trying to specify a bad int to the alphabet.
Exception thrown when a sequence is found to be empty and it should not.