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:
3302892
)
JAL-845 map 'STOP' codons correctly
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 18 Mar 2015 20:24:48 +0000
(20:24 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 18 Mar 2015 20:24:48 +0000
(20:24 +0000)
src/jalview/analysis/AlignmentUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AlignmentUtils.java
b/src/jalview/analysis/AlignmentUtils.java
index
337372d
..
4576881
100644
(file)
--- a/
src/jalview/analysis/AlignmentUtils.java
+++ b/
src/jalview/analysis/AlignmentUtils.java
@@
-445,7
+445,7
@@
public class AlignmentUtils
* ? allow X in protein to match untranslatable in dna ?
*/
final char aaRes = aaSeqChars[aaResidue];
- if (translated == null && aaRes == 'X')
+ if ((translated == null || "STOP".equals(translated)) && aaRes == 'X')
{
continue;
}