SeqString(AlphabetRef a=reduced_nucleic_alphabet) :
std::string(),
- alphabet(a)
+ alphabet(a),
+ rc_map(Alphabet::get_alphabet(a).get_complement_map())
{}
SeqString(const std::string &s, AlphabetRef a=reduced_nucleic_alphabet) :
std::string(s),
- alphabet(a)
+ alphabet(a),
+ rc_map(Alphabet::get_alphabet(a).get_complement_map())
{}
AlphabetRef get_alphabet_ref() { return alphabet; }
const Alphabet& get_alphabet() const;
std::string create_reverse_complement_map() const;
+
+ const std::string rc_map;
private:
AlphabetRef alphabet;
friend class boost::serialization::access;