// manage motif lists
//! add a motif it wont be applied until update_sequences_motif is called
- void add_motif(const std::string& motifs, const Color& colors);
+ void add_motif(const Sequence& motifs, const Color& colors);
//! add vector of motifs and colors to our motif collection
/*! this will automatically call update_sequences_motif
* this depends on sets and color maps being unique
* (aka if you add the same item more than once it doesn't
* increase the size of the data structure)
*/
- void set_motifs(const std::vector<std::string>& motifs,
+ void set_motifs(const std::vector<Sequence>& motifs,
const std::vector<Color>& colors);
//! load motifs from an ifstream
/*! The file should look something like
//! load a list of motifs from a file named filename
void load_motifs(boost::filesystem::path filename);
//! return our motifs;
- const std::set<std::string>& motifs() const;
+ const std::set<Sequence>& motifs() const;
//! return color mapper
boost::shared_ptr<AnnotationColors> colorMapper();
NwayPaths the_paths;
//! motif list
- std::set<std::string> motif_sequences;
+ std::set<Sequence> motif_sequences;
//! color manager
boost::shared_ptr<AnnotationColors> color_mapper;