{
std::string sequence;
- motif() : annot(), sequence("") {};
+ motif() : annot(), sequence("") {};
//! this constructor is for when we're adding motifs to our annotations
motif(int begin, std::string motif);
~motif();
};
BOOST_CLASS_EXPORT(motif);
+class Sequence;
+typedef boost::shared_ptr<Sequence> SequenceRef;
//! sequence track for mussa.
class Sequence
Sequence(const std::string& seq,
AlphabetRef a = reduced_dna_alphabet,
SeqSpan::strand_type strand = SeqSpan::PlusStrand);
+ //! make a new sequence, with the same SeqSpan
Sequence(const Sequence& seq);
+ //! make a new sequence, with the same SeqSpan
Sequence(const Sequence *);
- Sequence(const SeqSpanRef&);
+ //! Make a new sequence using a copy of SeqSpan
+ Sequence(const SequenceRef);
+ Sequence(const SeqSpanRef&);
~Sequence();
//! assignment to constant sequences
Sequence &operator=(const Sequence&);