Package org.openscience.cdk.protein.data
Class PDBAtom
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.Element
org.openscience.cdk.Isotope
org.openscience.cdk.AtomType
org.openscience.cdk.Atom
org.openscience.cdk.protein.data.PDBAtom
- All Implemented Interfaces:
Serializable,Cloneable,IAtom,IAtomType,ICDKObject,IChemObject,IElement,IIsotope,IPDBAtom
- Direct Known Subclasses:
DebugPDBAtom
Represents the idea of an atom as used in PDB files. It contains extra fields
normally associated with atoms in such files.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IAtomType
IAtomType.Hybridization -
Field Summary
Fields inherited from class org.openscience.cdk.Atom
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityFields inherited from class org.openscience.cdk.AtomType
electronValency, formalCharge, formalNeighbourCount, hybridizationFields inherited from class org.openscience.cdk.Isotope
exactMass, naturalAbundanceFields inherited from class org.openscience.cdk.Element
atomicNumberFields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITEDFields inherited from interface org.openscience.cdk.interfaces.IElement
Ac, Ag, Al, Am, Ar, As, At, Au, B, Ba, Be, Bh, Bi, Bk, Br, C, Ca, Cd, Ce, Cf, Cl, Cm, Cn, Co, Cr, Cs, Cu, Db, Ds, Dy, Er, Es, Eu, F, Fe, Fl, Fm, Fr, Ga, Gd, Ge, H, He, Hf, Hg, Ho, Hs, I, In, Ir, K, Kr, La, Li, Lr, Lu, Lv, Mc, Md, Mg, Mn, Mo, Mt, N, Na, Nb, Nd, Ne, Nh, Ni, No, Np, O, Og, Os, P, Pa, Pb, Pd, Pm, Po, Pr, Pt, Pu, Ra, Rb, Re, Rf, Rg, Rh, Rn, Ru, S, Sb, Sc, Se, Sg, Si, Sm, Sn, Sr, Ta, Tb, Tc, Te, Th, Ti, Tl, Tm, Ts, U, V, W, Wildcard, Xe, Y, Yb, Zn, Zr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the Alternate location indicator of this atom.get the Chain identifier of this atom.Determine whether this is a heteroatom or not.getICode()get Code for insertion of residues of this atom.getName()get the Atom name of this atom.get the Occupancy of this atom.getOxt()Returns true of this atom is a PDB OXT atom.get one entire line from the PDB entry file which describe the IPDBAtom.get the Residue name of this atom.get the Residue sequence number of this atom.getSegID()get the Segment identifier, left-justified of this atom.get the Atom serial number of this atom.get the Temperature factor of this atom.voidset the Alternate location indicator of this atom.voidsetChainID(String newChainID) set the Chain identifier of this atom.voidsetHetAtom(Boolean newHetAtom) Mark the atom as a heteroatom.voidset the Code for insertion of residues of this atom.voidset the Atom name of this atom.voidsetOccupancy(Double newOccupancy) set the Occupancy of this atom.voidChange the state of this atom in being the PDB OXT atom.voidset one entire line from the PDB entry file which describe the IPDBAtom.voidsetResName(String newResName) set the Residue name of this atom.voidset the Residue sequence number of this atom.voidset the Segment identifier, left-justified of this atom.voidset the Atom serial number of this atom.voidsetTempFactor(Double newTempFactor) set the Temperature factor of this atom.toString()Returns a one line string representation of this Atom.Methods inherited from class org.openscience.cdk.Atom
bonds, clone, compare, equals, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, hashCode, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setMapIdx, setPoint2d, setPoint3d, setStereoParityMethods inherited from class org.openscience.cdk.AtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from class org.openscience.cdk.Isotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundanceMethods inherited from class org.openscience.cdk.Element
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from class org.openscience.cdk.ChemObject
addListener, addProperties, clear, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openscience.cdk.interfaces.IAtom
bonds, clone, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, getTotalHydrogenCount, isAromatic, isInRing, neighbors, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3d, setStereoParityMethods inherited from interface org.openscience.cdk.interfaces.IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilderMethods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setPropertyMethods inherited from interface org.openscience.cdk.interfaces.IElement
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from interface org.openscience.cdk.interfaces.IIsotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
-
Constructor Details
-
PDBAtom
Constructs an IPDBAtom from a Element.- Parameters:
element- IElement to copy information from
-
PDBAtom
Constructs anIPDBAtomfrom a String containing an element symbol.- Parameters:
symbol- The String describing the element for the PDBAtom
-
PDBAtom
Constructs anIPDBAtomfrom an Element and a Point3d.- Parameters:
symbol- The symbol of the atomcoordinate- The 3D coordinates of the atom
-
-
Method Details
-
getRecord
get one entire line from the PDB entry file which describe the IPDBAtom. It consists of 80 columns. -
setRecord
set one entire line from the PDB entry file which describe the IPDBAtom. It consists of 80 columns. -
getTempFactor
get the Temperature factor of this atom.- Specified by:
getTempFactorin interfaceIPDBAtom- Returns:
- the Temperature factor of this atom
-
setTempFactor
set the Temperature factor of this atom.- Specified by:
setTempFactorin interfaceIPDBAtom- Parameters:
newTempFactor- the Temperature factor of this atom
-
setResName
set the Residue name of this atom.- Specified by:
setResNamein interfaceIPDBAtom- Parameters:
newResName- the Residue name of this atom
-
getResName
get the Residue name of this atom.- Specified by:
getResNamein interfaceIPDBAtom- Returns:
- the Residue name of this atom
-
setICode
set the Code for insertion of residues of this atom. -
getICode
get Code for insertion of residues of this atom. -
setName
set the Atom name of this atom. -
getName
get the Atom name of this atom. -
setChainID
set the Chain identifier of this atom.- Specified by:
setChainIDin interfaceIPDBAtom- Parameters:
newChainID- the Chain identifier of this atom
-
getChainID
get the Chain identifier of this atom.- Specified by:
getChainIDin interfaceIPDBAtom- Returns:
- the Chain identifier of this atom
-
setAltLoc
set the Alternate location indicator of this atom. -
getAltLoc
get the Alternate location indicator of this atom. -
setSegID
set the Segment identifier, left-justified of this atom. -
getSegID
get the Segment identifier, left-justified of this atom. -
setSerial
set the Atom serial number of this atom. -
getSerial
get the Atom serial number of this atom. -
setResSeq
set the Residue sequence number of this atom. -
getResSeq
get the Residue sequence number of this atom. -
setOxt
Description copied from interface:IPDBAtomChange the state of this atom in being the PDB OXT atom. -
getOxt
Description copied from interface:IPDBAtomReturns true of this atom is a PDB OXT atom. -
setHetAtom
Description copied from interface:IPDBAtomMark the atom as a heteroatom.- Specified by:
setHetAtomin interfaceIPDBAtom- Parameters:
newHetAtom- if true, the atom will be marked as a heteroatom
-
getHetAtom
Description copied from interface:IPDBAtomDetermine whether this is a heteroatom or not.- Specified by:
getHetAtomin interfaceIPDBAtom- Returns:
- true if the atom is a heteroatom, otherwise false
-
setOccupancy
set the Occupancy of this atom.- Specified by:
setOccupancyin interfaceIPDBAtom- Parameters:
newOccupancy- the Occupancy of this atom
-
getOccupancy
get the Occupancy of this atom.- Specified by:
getOccupancyin interfaceIPDBAtom- Returns:
- the Occupancy of this atom
-
toString
Returns a one line string representation of this Atom. Methods is conform RFC #9.- Specified by:
toStringin interfaceIChemObject- Overrides:
toStringin classAtom- Returns:
- The string representation of this Atom
-