From a801095f445062ebe64e6c1d60aae319b040f27c Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 11 Nov 2010 18:44:31 +0000 Subject: [PATCH] improved logic for distinguishing amino acids and nucleic acids in structure (JAL-694) --- src/MCview/PDBChain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " + -- 1.7.10.2