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
@Immutable public abstract class DefaultPdbResidue extends Object implements PdbResidue
A default implementation of a residue (nucleotide or amino acid).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultPdbResidue()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Set<AtomName>atomNames()abstract List<PdbAtomLine>atoms()static PdbResiduefromBioJavaGroup(org.biojava.nbio.structure.Group group)Creates an instance of this class from Group object defined in BioJava.booleanhasAllHeavyAtoms()Compares the set of actual atoms in this residue with the set of expected atoms derived from the detected type of residue.abstract PdbResidueIdentifieridentifier()abstract StringmodifiedResidueName()ResidueInformationProviderresidueInformationProvider()Detects the type of residue by its name and atom content.abstract StringstandardResidueName()StringtoString()-
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
-
-
-
-
Method Detail
-
fromBioJavaGroup
public static PdbResidue fromBioJavaGroup(org.biojava.nbio.structure.Group group)
Creates an instance of this class from Group object defined in BioJava.- Parameters:
group- A BioJava counterpart.- Returns:
- An instance of this class with contents equal to those from the BioJava counterpart.
-
identifier
@Parameter(order=1) public abstract PdbResidueIdentifier identifier()
- Specified by:
identifierin interfacePdbResidue- Returns:
- The identifier of a residue.
-
standardResidueName
@Parameter(order=2) public abstract String standardResidueName()
- Specified by:
standardResidueNamein interfacePdbResidue- Returns:
- The usual name of the residue. For example, a pseudouridine will be seen as uracil here.
-
modifiedResidueName
@Parameter(order=3) public abstract String modifiedResidueName()
- Specified by:
modifiedResidueNamein interfacePdbResidue- Returns:
- The name of the residue as read from PDB or mmCIF file.
-
atoms
@Parameter(order=4) public abstract List<PdbAtomLine> atoms()
- Specified by:
atomsin interfacePdbResidue- Returns:
- The list of atoms.
-
residueInformationProvider
@Lazy public ResidueInformationProvider 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
@Lazy public Set<AtomName> 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.
-
-