From: jprocter Date: Thu, 11 Nov 2010 18:44:31 +0000 (+0000) Subject: improved logic for distinguishing amino acids and nucleic acids in structure (JAL... X-Git-Tag: Release_2_6_1~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a801095f445062ebe64e6c1d60aae319b040f27c;p=jalview.git improved logic for distinguishing amino acids and nucleic acids in structure (JAL-694) --- diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 47f6817..c7eec35 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -275,7 +275,7 @@ public class PDBChain if ((symbol = ResidueProperties.getAA3Hash().get(tmpat.resName)) == null) { String nucname = tmpat.resName.trim(); - if (ResidueProperties.nucleotideIndex[nucname.charAt(0)] == -1) + if (tmpat.name.equalsIgnoreCase("CA") || ResidueProperties.nucleotideIndex[nucname.charAt(0)] == -1) { seq.append("X"); // System.err.println("PDBReader:Null aa3Hash for " +