make Sequence a subclass of std::string
authorDiane Trout <diane@caltech.edu>
Sat, 17 Jun 2006 02:13:46 +0000 (02:13 +0000)
committerDiane Trout <diane@caltech.edu>
Sat, 17 Jun 2006 02:13:46 +0000 (02:13 +0000)
commit1bc12c8772df85a25f3f825fbe0dc9ff4a18a322
treefb0b02834c08b2491a80052cd02f0ffe12bac8ac
parentac1c69ec4a5d88c8c0e008411a13d932e89c2b38
make Sequence a subclass of std::string
There were a lot of changes associated with making Sequence a subclass
of std::string. Hopefully that'll make it easier for me to use paircomp
at some point.

However the major useful new feature is subseq now returns a Sequence
instead of a string, and this sub-sequence has the header copied over
and the annotations copied (and their start/end locations adjusted).

Additionally this patch includes adding the coordianates copied with the
copySelectedSequenceAsFasta command to the header.

I'm getting closer to have the parts needed to do a sub-analysis.
alg/glseqbrowser.cpp
alg/mussa.cpp
alg/sequence.cpp
alg/sequence.hpp
alg/test/test_flp.cpp
alg/test/test_glsequence.cpp
alg/test/test_mussa.cpp
alg/test/test_sequence.cpp
py/sequence.cpp