public interface AminoAcid extends Group
A Group
that 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 Chain
object.
It is possible to distinguish between SEQRES and ATOM derived AminoAcids by getRecordType()
.
AminoAcid inherits most from HetatomImpl
. Adds a few AminoAcid
specific methods.
Modifier and Type | Field and Description |
---|---|
static String |
ATOMRECORD
Field to distinguish AminoAcids that have been created from SEQRES records and ATOM records.
|
static String |
SEQRESRECORD
Field to distinguish AminoAcids that have been created from SEQRES records and ATOM records.
|
Modifier and Type | Method and Description |
---|---|
Character |
getAminoType()
Returns the name of the AA, in single letter code.
|
Atom |
getC()
Get C atom.
|
Atom |
getCA()
Get CA atom.
|
Atom |
getCB()
Get CB atom.
|
Atom |
getN()
Get N atom.
|
Atom |
getO()
Get O atom.
|
String |
getRecordType()
Allows to distinguish between amino acids that are provided
as ATOM records and a SEQRES records.
|
void |
setAminoType(Character aa)
Set the name of the AA, in single letter code .
|
void |
setRecordType(String recordName)
Allows to distinguish between amino acids that are provided
as ATOM records and a SEQRES records.
|
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
static final String ATOMRECORD
static final String SEQRESRECORD
Character getAminoType()
setAminoType(java.lang.Character)
void setAminoType(Character aa)
aa
- a Character object specifying the amino type valuegetAminoType()
void setRecordType(String recordName)
recordName
- either ATOMRECORD or SEQRESRECORDgetRecordType()
String getRecordType()
setRecordType(String)
Copyright © 2000–2019 BioJava. All rights reserved.