JAL-1636 translate stop codon as '*', mouseover * as STOP
[jalview.git] / src / jalview / analysis / AlignmentUtils.java
index f9d4c08..1e259c2 100644 (file)
@@ -461,10 +461,10 @@ public class AlignmentUtils
       final String translated = ResidueProperties.codonTranslate(
               codon);
       /*
-       * ? allow X in protein to match untranslatable in dna ?
+       * allow * in protein to match untranslatable in dna
        */
       final char aaRes = aaSeqChars[aaResidue];
-      if ((translated == null || "STOP".equals(translated)) && aaRes == 'X')
+      if ((translated == null || "STOP".equals(translated)) && aaRes == '*')
       {
         continue;
       }