org.biojava.bio.structure.io.mmcif.chem
Class ChemCompTools

java.lang.Object
  extended by org.biojava.bio.structure.io.mmcif.chem.ChemCompTools

public class ChemCompTools
extends java.lang.Object

Some tools for working with chemical compounds.

Since:
1.7
Author:
Andreas Prlic

Constructor Summary
ChemCompTools()
           
 
Method Summary
static java.lang.Character getAminoOneLetter(java.lang.String chemCompId)
           
static java.lang.String getAminoThreeLetter(java.lang.Character c)
           
static java.lang.Character getDNAOneLetter(java.lang.String chemCompId)
           
static java.lang.String getDNATwoLetter(java.lang.Character c)
           
static java.lang.Character getOneLetterCode(ChemComp cc, ChemicalComponentDictionary dictionary)
           
static boolean isStandardChemComp(ChemComp cc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChemCompTools

public ChemCompTools()
Method Detail

getAminoOneLetter

public static java.lang.Character getAminoOneLetter(java.lang.String chemCompId)

getDNAOneLetter

public static java.lang.Character getDNAOneLetter(java.lang.String chemCompId)

getAminoThreeLetter

public static java.lang.String getAminoThreeLetter(java.lang.Character c)

getDNATwoLetter

public static java.lang.String getDNATwoLetter(java.lang.Character c)

isStandardChemComp

public static final boolean isStandardChemComp(ChemComp cc)

getOneLetterCode

public static java.lang.Character getOneLetterCode(ChemComp cc,
                                                   ChemicalComponentDictionary dictionary)