test annotating a sequence with fasta records in a stream
[mussa.git] / alg / sequence.hpp
index 17149415c622c14899c2a6b8f8959c01db36906d..fc8a0cfe7b2eea9d2690f5adfdc9af5b0b175544 100644 (file)
@@ -203,7 +203,7 @@ public:
   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::fstream& data_stream, int start_index, int end_index);
+  void load_annot(std::istream& data_stream, int start_index, int end_index);
   //! parse annotation file
   /*! \throws annotation_load_error 
    */
@@ -231,7 +231,8 @@ public:
   SeqSpanRef seqspan() { return seq; }
   
   void save(boost::filesystem::fstream &save_file);
-  void load_museq(boost::filesystem::path load_file_path, int seq_num);
+  //void load_museq(boost::filesystem::path load_file_path, int seq_num);
+  static SequenceRef load_museq(boost::filesystem::fstream& load_file);
   
 protected:  
   SeqSpanRef seq;