its one more step toward getting a sequence to have all of its necessary
sequence location information.
I also changed the test in set_filtered_sequence for the count from 0 to
npos.
void load_museq(boost::filesystem::path load_file_path, int seq_num);
private:
void load_museq(boost::filesystem::path load_file_path, int seq_num);
private:
+ //! hold a shared pointer to our sequence string
boost::shared_ptr<seq_string> seq;
boost::shared_ptr<seq_string> seq;
+ //! start offset into the sequence
+ size_type seq_start;
+ //! number of basepairs of the shared sequence we represent
+ size_type seq_count;
+ //! fasta header
std::string header;
//! species name
std::string species;
std::string header;
//! species name
std::string species;
template<class Archive>
void serialize(Archive& ar, const unsigned int /*version*/) {
ar & BOOST_SERIALIZATION_NVP(seq);
template<class Archive>
void serialize(Archive& ar, const unsigned int /*version*/) {
ar & BOOST_SERIALIZATION_NVP(seq);
+ ar & BOOST_SERIALIZATION_NVP(seq_start);
+ ar & BOOST_SERIALIZATION_NVP(seq_count);
ar & BOOST_SERIALIZATION_NVP(header);
ar & BOOST_SERIALIZATION_NVP(species);
ar & BOOST_SERIALIZATION_NVP(annots);
ar & BOOST_SERIALIZATION_NVP(header);
ar & BOOST_SERIALIZATION_NVP(species);
ar & BOOST_SERIALIZATION_NVP(annots);