allow specifying a name for a sequence
[mussa.git] / alg / mussa.hpp
index 73070050327d407ac84b65beeba7a377d969f961..e53e727cf170b04be7ff642364e5b75e73ffade2 100644 (file)
@@ -129,10 +129,12 @@ public:
      *             use 0 start from the beginning.
      *  \param[in] sub_seq_end ending slice index to select a subsequence
      *             use 0 to go to the end.
+     *  \param[in] name sequence name, only used if not null
      */
     void load_sequence(boost::filesystem::path seq_file, 
                        boost::filesystem::path annot_file, 
-                       int fasta_index, int sub_seq_start=0, int sub_seq_end=0);
+                       int fasta_index, int sub_seq_start=0, int sub_seq_end=0,
+                       std::string *name=0);
     //! allow examining the sequences we have loaded
     typedef std::vector<boost::shared_ptr<Sequence> > vector_sequence_type;
     const vector_sequence_type& sequences() const;