Package org.biojava.nbio.structure
Interface AminoAcid
-
- All Superinterfaces:
Group,Serializable
- All Known Implementing Classes:
AminoAcidImpl
public interface AminoAcid extends Group
A
Groupthat represents an AminoAcid.In PDB files information on AminoAcids can be observed in the SEQRES and in the ATOM records. Since frequently coordinates for some of the amino acids are missing, during parsing of the PDB files the SEQRES and the ATOM records are aligned and a whenever possible the AminoAcid objects are combined. Access to the SEQRES and ATOM sequence is possible through the
Chainobject. It is possible to distinguish between SEQRES and ATOM derived AminoAcids bygetRecordType().AminoAcid inherits most from
HetatomImpl. Adds a few AminoAcid specific methods.- Since:
- 1.4
- Version:
- %I% %G%
- Author:
- Andreas Prlic
-
-
Field Summary
Fields Modifier and Type Field Description static StringATOMRECORDField to distinguish AminoAcids that have been created from SEQRES records and ATOM records.static StringSEQRESRECORDField to distinguish AminoAcids that have been created from SEQRES records and ATOM records.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CharactergetAminoType()Returns the name of the AA, in single letter code.AtomgetC()Get C atom.AtomgetCA()Get CA atom.AtomgetCB()Get CB atom.AtomgetN()Get N atom.AtomgetO()Get O atom.StringgetRecordType()Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.voidsetAminoType(Character aa)Set the name of the AA, in single letter code .voidsetRecordType(String recordName)Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.-
Methods inherited from interface org.biojava.nbio.structure.Group
addAltLoc, addAtom, clearAtoms, clone, getAltLocGroup, getAltLocs, getAtom, getAtom, getAtoms, getChain, getChainId, getChemComp, getPDBName, getProperties, getProperty, getResidueNumber, getType, has3D, hasAltLoc, hasAminoAtoms, hasAtom, isAminoAcid, isHetAtomInFile, isNucleotide, isPolymeric, isWater, iterator, setAtoms, setChain, setChemComp, setHetAtomInFile, setPDBFlag, setPDBName, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize
-
-
-
-
Field Detail
-
ATOMRECORD
static final String ATOMRECORD
Field to distinguish AminoAcids that have been created from SEQRES records and ATOM records.- See Also:
- Constant Field Values
-
SEQRESRECORD
static final String SEQRESRECORD
Field to distinguish AminoAcids that have been created from SEQRES records and ATOM records.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAminoType
Character getAminoType()
Returns the name of the AA, in single letter code.- Returns:
- a Character object representing the amino type value
- See Also:
setAminoType(java.lang.Character)
-
setAminoType
void setAminoType(Character aa)
Set the name of the AA, in single letter code .- Parameters:
aa- a Character object specifying the amino type value- See Also:
getAminoType()
-
setRecordType
void setRecordType(String recordName)
Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.- Parameters:
recordName- either ATOMRECORD or SEQRESRECORD- See Also:
getRecordType()
-
getRecordType
String getRecordType()
Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.- Returns:
- the origin of this amino acid (ATOM or SEQRES records)
- See Also:
setRecordType(String)
-
-