Move alphabet type into SeqString
authorDiane Trout <diane@caltech.edu>
Wed, 21 Mar 2007 03:55:12 +0000 (03:55 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 21 Mar 2007 03:55:12 +0000 (03:55 +0000)
commitf1724abab87d2e5b160620b10cb81eabf56aadeb
tree22d3f0f37017121ae47671fff538d501366777bd
parent7d4fbcb6060a60a8ea25ca1303fcaaaf8574f24a
Move alphabet type into SeqString
This is another large patch.
This moves alphabet_ref from Sequence to SeqString.

I still need to deal with a better way of handling reverse complementing
especially given my attempts to keep everything in reference counted
structures.

Also this patch and the previous:
Store Sequence sequence location in a shared_ptr class
have broken the display of motifs in mussa.

(I used to be using shared_ptr<Sequences> for everything,
but now since there's a couple of seperate objects updating
the motifs in one doesn't really help so much for the other.

so warning, these two patches and the next few that I make
are going to be unstable.
**END OF DESCRIPTION***

Place the long patch description above the ***END OF DESCRIPTION*** marker.
The first line of this file will be the patch name.

This patch contains the following changes:

M ./alg/CMakeLists.txt +1
M ./alg/alphabet.cpp +35
M ./alg/alphabet.hpp -1 +14
M ./alg/motif_parser.cpp -3 +4
A ./alg/seq.cpp
M ./alg/seq.hpp -3 +17
M ./alg/seq_span.cpp -6 +3
M ./alg/seq_span.hpp -1 +4
M ./alg/sequence.cpp -82 +26
M ./alg/sequence.hpp -15 +10
M ./alg/test/CMakeLists.txt +1
M ./alg/test/test_alphabet.cpp +5
A ./alg/test/test_seq.cpp
M ./alg/test/test_seq_span.cpp +9
M ./alg/test/test_sequence.cpp -43 +43
M ./qui/motif_editor/MotifElement.cpp -2 +2
16 files changed:
alg/CMakeLists.txt
alg/alphabet.cpp
alg/alphabet.hpp
alg/motif_parser.cpp
alg/seq.cpp [new file with mode: 0644]
alg/seq.hpp
alg/seq_span.cpp
alg/seq_span.hpp
alg/sequence.cpp
alg/sequence.hpp
alg/test/CMakeLists.txt
alg/test/test_alphabet.cpp
alg/test/test_seq.cpp [new file with mode: 0644]
alg/test/test_seq_span.cpp
alg/test/test_sequence.cpp
qui/motif_editor/MotifElement.cpp