Load N sequences in Mussa::load
[mussa.git] / alg / sequence.hpp
index c2de433fca1b9602f4c39065054c06f732047016..1a4c9eb7a1e6d93079d6a98179efa24469fe6450 100644 (file)
@@ -215,6 +215,7 @@ public:
   //! create an initialized annotation with the "standard" types.
   SeqSpanRef make_annotation(std::string name, std::string type, size_type start, size_type stop) const;
   const SeqSpanRefList& annotations() const;
+  
   const MotifList& motifs() const;
 
   //! add a motif to our list of motifs
@@ -227,9 +228,11 @@ public:
   //! annotate the current sequence with other sequences
   void find_sequences(std::list<Sequence>::iterator start, 
                      std::list<Sequence>::iterator end);
+  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;