projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement UI for subanalysis mode
[mussa.git]
/
alg
/
sequence_location.cpp
diff --git
a/alg/sequence_location.cpp
b/alg/sequence_location.cpp
index cc92c2fd4a2447891605d22002b700ad9ae46b40..bb17e34fd5a334f96e5d71833d4dd7e79a975560 100644
(file)
--- a/
alg/sequence_location.cpp
+++ b/
alg/sequence_location.cpp
@@
-45,6
+45,11
@@
const Sequence& SequenceLocation::getSequence() const
return *sequence;
}
+Sequence SequenceLocation::getSelectedSequence() const
+{
+ return sequence->subseq(left, count);
+}
+
void SequenceLocation::setLeft(int l)
{
left = l;