projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f565f4
)
include the sequence coordinates when copying sequence
author
Diane Trout
<diane@caltech.edu>
Tue, 13 Jun 2006 23:31:38 +0000
(23:31 +0000)
committer
Diane Trout
<diane@caltech.edu>
Tue, 13 Jun 2006 23:31:38 +0000
(23:31 +0000)
alg/glseqbrowser.cpp
patch
|
blob
|
history
diff --git
a/alg/glseqbrowser.cpp
b/alg/glseqbrowser.cpp
index 0c2c619408a352b4956851056e95e31702f0b74e..c26f0d9ed7fb3fbff9fb5c8b6c1dc58de2015195 100644
(file)
--- a/
alg/glseqbrowser.cpp
+++ b/
alg/glseqbrowser.cpp
@@
-432,7
+432,9
@@
void GlSeqBrowser::copySelectedTracksAsFasta(std::string& copy_buffer)
static string formatter(const Sequence& seq, int left, int right)
{
stringstream s;
- s << ">" << seq.get_header() << std::endl
+ s << ">" << seq.get_header()
+ << "|" << "subregion=" << left << "-" << right+1
+ << std::endl
<< seq.subseq(left, right-left+1) << std::endl;
return s.str();
}