git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19a064
)
Allow for DNA alignments in imgMap
author
amwaterhouse
<Andrew Waterhouse>
Tue, 6 Dec 2005 17:42:28 +0000
(17:42 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 6 Dec 2005 17:42:28 +0000
(17:42 +0000)
src/jalview/gui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignmentPanel.java
b/src/jalview/gui/AlignmentPanel.java
index
e3bc620
..
af24c9f
100755
(executable)
--- a/
src/jalview/gui/AlignmentPanel.java
+++ b/
src/jalview/gui/AlignmentPanel.java
@@
-921,9
+921,14
@@
public class AlignmentPanel extends GAlignmentPanel
for(res =0; res<alwidth; res++)
\r
{
\r
text = new StringBuffer();
\r
- Object obj = ResidueProperties.aa2Triplet.get(
\r
+ Object obj = null;
\r
+ if(av.alignment.isNucleotide())
\r
+ obj = ResidueProperties.nucleotideName.get(seq.getCharAt(res)+"" );
\r
+ else
\r
+ obj = ResidueProperties.aa2Triplet.get(
\r
seq.getCharAt(res) + "");
\r
- if (obj == null)
\r
+
\r
+ if (obj == null)
\r
continue;
\r
\r
String triplet = obj.toString();
\r