improved logic for distinguishing amino acids and nucleic acids in structure (JAL...
authorjprocter <Jim Procter>
Thu, 11 Nov 2010 18:44:31 +0000 (18:44 +0000)
committerjprocter <Jim Procter>
Thu, 11 Nov 2010 18:44:31 +0000 (18:44 +0000)
src/MCview/PDBChain.java

index 47f6817..c7eec35 100755 (executable)
@@ -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 " +