Package pl.poznan.put.pdb.analysis
Class DefaultPdbModel
java.lang.Object
pl.poznan.put.pdb.analysis.AbstractPdbModel
pl.poznan.put.pdb.analysis.DefaultPdbModel
- All Implemented Interfaces:
Serializable,PdbModel,ResidueCollection
- Direct Known Subclasses:
ImmutableDefaultPdbModel
A default implementation of a structure parsed from a PDB file.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface pl.poznan.put.pdb.analysis.ResidueCollection
ResidueCollection.CifBuilder, ResidueCollection.PdbBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<PdbAtomLine>atoms()chains()Groups together residues in the same chain and repeat that for every chain.abstract Set<PdbResidueIdentifier>abstract PdbExpdtaLinefilteredNewInstance(MoleculeType moleculeType) Filters out residues of a given molecule type (RNA or protein) and creates a new instance of this class.abstract PdbHeaderLineheader()abstract List<PdbRemark465Line>abstract intabstract List<PdbModresLine>protected DefaultPdbModelstatic PdbModelof(Iterable<PdbAtomLine> atoms) Creates an instance of this class with just a list of atoms and all other fields set to default values or empty.residues()Groups together atoms from the same residue and repeat that for every residue.abstract PdbRemark2Lineabstract Stringtitle()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.poznan.put.pdb.analysis.PdbModel
containsAny, filteredMissing, findChainContainingResidue, idCode, isModified, modificationDetailsMethods inherited from interface pl.poznan.put.pdb.analysis.ResidueCollection
filteredAtoms, findBondLengthViolations, findResidue, hasResidue, indexOf, namedResidueIdentifiers, residueIdentifiers, sequence, toCif, toPdb, withoutAlternateLocations
-
Constructor Details
-
DefaultPdbModel
public DefaultPdbModel()
-
-
Method Details
-
of
Creates an instance of this class with just a list of atoms and all other fields set to default values or empty.- Parameters:
atoms- A list of atoms.- Returns:
- An instance of a PdbModel without a header, experimental data information, missing or modified residues.
-
header
- Returns:
- The structure header.
-
experimentalData
- Returns:
- Details about experiment used to solve the structure.
-
resolution
- Returns:
- Information about the experimental resolution.
-
modelNumber
@Parameter(order=4) @Auxiliary public abstract int modelNumber()- Returns:
- Model number as stated in the PDB or mmCIF file.
-
atoms
- Returns:
- The list of atoms present in the structure.
-
modifiedResidues
- Returns:
- The list of modified residues as parsed from the PDB or mmCIF file.
-
missingResidues
- Returns:
- The list of missing residues as parsed from the PDB or mmCIF file.
-
title
- Returns:
- Structure title.
-
chainTerminatedAfter
- Returns:
- The set of residues, after which the chain was terminated.
-
filteredNewInstance
Description copied from interface:PdbModelFilters out residues of a given molecule type (RNA or protein) and creates a new instance of this class.- Parameters:
moleculeType- Type of molecule.- Returns:
- An instance of this class with residues only of a desired type.
-
chains
Description copied from class:AbstractPdbModelGroups together residues in the same chain and repeat that for every chain.- Specified by:
chainsin interfacePdbModel- Overrides:
chainsin classAbstractPdbModel- Returns:
- A list of chains in the structure.
-
residues
Description copied from class:AbstractPdbModelGroups together atoms from the same residue and repeat that for every residue.- Specified by:
residuesin interfaceResidueCollection- Overrides:
residuesin classAbstractPdbModel- Returns:
- A list of residues in the structure.
-
normalize
-