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()
boolean
Compares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.abstract PdbResidueIdentifier
abstract String
Detects the type of residue by its name and atom content.abstract String
final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface pl.poznan.put.pdb.ChainNumberICode
compareTo
Methods 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:
identifier
in interfacePdbResidue
- Returns:
- The identifier of a residue.
-
standardResidueName
- Specified by:
standardResidueName
in interfacePdbResidue
- Returns:
- The usual name of the residue. For example, a pseudouridine will be seen as uracil here.
-
modifiedResidueName
- Specified by:
modifiedResidueName
in interfacePdbResidue
- Returns:
- The name of the residue as read from PDB or mmCIF file.
-
atoms
- Specified by:
atoms
in interfacePdbResidue
- Returns:
- The list of atoms.
-
residueInformationProvider
Description copied from interface:PdbResidue
Detects the type of residue by its name and atom content.- Specified by:
residueInformationProvider
in interfacePdbResidue
- Returns:
- An instance with details about what this reside represents.
-
atomNames
- Specified by:
atomNames
in interfacePdbResidue
- Returns:
- The set of all atom names available in this residue.
-
hasAllHeavyAtoms
@Lazy public boolean hasAllHeavyAtoms()Description copied from interface:PdbResidue
Compares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.- Specified by:
hasAllHeavyAtoms
in interfacePdbResidue
- Returns:
- True if all expected heavy atoms (non-hydrogen) for this residue type are present in this residue.
-
toString
-