Package pl.poznan.put.pdb.analysis
Class DefaultPdbResidue
java.lang.Object
pl.poznan.put.pdb.analysis.DefaultPdbResidue
- All Implemented Interfaces:
Serializable,Comparable<ChainNumberICode>,PdbResidue,ChainNumberICode
- Direct Known Subclasses:
ImmutableDefaultPdbResidue
A default implementation of a residue (nucleotide or amino acid).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<PdbAtomLine>atoms()booleanCompares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.abstract PdbResidueIdentifierabstract StringDetects the type of residue by its name and atom content.abstract Stringfinal StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface pl.poznan.put.pdb.ChainNumberICode
compareToMethods inherited from interface pl.poznan.put.pdb.analysis.PdbResidue
chainIdentifier, findAtom, hasAnyHydrogen, hasAtom, insertionCode, isConnectedTo, isMissing, isModified, namedResidueIdentifier, nucleobasePlane, oneLetterName, residueNumber, toCif, toPdb
-
Constructor Details
-
DefaultPdbResidue
public DefaultPdbResidue()
-
-
Method Details
-
identifier
- Specified by:
identifierin interfacePdbResidue- Returns:
- The identifier of a residue.
-
standardResidueName
- Specified by:
standardResidueNamein interfacePdbResidue- Returns:
- The usual name of the residue. For example, a pseudouridine will be seen as uracil here.
-
modifiedResidueName
- Specified by:
modifiedResidueNamein interfacePdbResidue- Returns:
- The name of the residue as read from PDB or mmCIF file.
-
atoms
- Specified by:
atomsin interfacePdbResidue- Returns:
- The list of atoms.
-
residueInformationProvider
Description copied from interface:PdbResidueDetects the type of residue by its name and atom content.- Specified by:
residueInformationProviderin interfacePdbResidue- Returns:
- An instance with details about what this reside represents.
-
atomNames
- Specified by:
atomNamesin interfacePdbResidue- Returns:
- The set of all atom names available in this residue.
-
hasAllHeavyAtoms
@Lazy public boolean hasAllHeavyAtoms()Description copied from interface:PdbResidueCompares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.- Specified by:
hasAllHeavyAtomsin interfacePdbResidue- Returns:
- True if all expected heavy atoms (non-hydrogen) for this residue type are present in this residue.
-
toString
-