5 #ifndef BPP_SEQ_STRINGSEQUENCETOOLS_H
6 #define BPP_SEQ_STRINGSEQUENCETOOLS_H
47 static std::string
subseq(
const std::string& sequence,
size_t begin,
size_t end);
58 static std::string
setToSizeR(
const std::string& sequence,
size_t size);
69 static std::string
setToSizeL(
const std::string& sequence,
size_t size);
78 static std::string
deleteChar(
const std::string& sequence,
char chars);
87 static std::string
deleteChar(
const std::string& sequence, std::string chars);
95 static std::string*
reverse(
const std::string& sequence);
108 static std::string*
complement(
const std::string& sequence);
125 static double getGCcontent(
const std::string& sequence,
size_t pos,
size_t window);
141 static std::vector<int>
codeSequence(
const std::string& sequence, std::shared_ptr<const Alphabet>& alphabet);
151 static std::string
decodeSequence(
const std::vector<int>& sequence, std::shared_ptr<const Alphabet>& alphabet);
This alphabet is used to deal NumericAlphabet.