use spirit parser for reading annot file
[mussa.git] / alg / sequence.hpp
index dac29db641de6fae3a28d50f0b3476e3fc3e1b1b..c3fb53fd74aeaf11bebd6e0ac915f0330a837106 100644 (file)
@@ -89,9 +89,12 @@ class Sequence
     void load_fasta(const boost::filesystem::path file_path, int seq_num=1, 
                     int start_index=0, int end_index=0);
     //! load sequence annotations
-    /*! \throws mussa_load_error 
-     */
+    //! \throws mussa_load_error 
     void load_annot(const boost::filesystem::path file_path, int start_index, int end_index);
+    //! load sequence annotations
+    //! \throws mussa_load_error 
+    //void load_annot(std::istream& data_stream, int start_index, int end_index);
+    void parse_annot(std::string data, int start_index, int end_index);
     const std::list<annot>& annotations() const;
     const std::list<motif>& motifs() const;
     const std::string& get_species() const;