store motifs as sequences instead of strings
[mussa.git] / alg / sequence.hpp
index f3a93fa931316e4bbcf8756abbf7c532ed0fe160..407168ebc0d5e298dccc86fbd6f29771e07f95f9 100644 (file)
@@ -118,7 +118,7 @@ class Sequence : public std::string
     std::string get_header() const;
     //! add a motif to our list of motifs
     //! \throws motif_normalize_error if there's something wrong with a_motif
-    void add_motif(std::string a_motif);
+    void add_motif(const Sequence& a_motif);
     //! clear our list of found motifs
     void clear_motifs();
     //! search a sequence for a_motif