public interface Structure extends LeafSubstructureContainer, ChainContainer
Models that represent the same structure but in different situations (e.g. at different time steps for MD
trajectories or dynamics for NMR) Chains that represent one
continuous macro molecule (most often the biggest macro molecules and its ligands are collected in one model).| Modifier and Type | Method and Description |
|---|---|
default String |
flatToString() |
Set<Integer> |
getAllModelIdentifiers()
Returns all model identifiers referenced in the model.
|
List<Model> |
getAllModels()
Returns all
Models. |
Optional<Chain> |
getChain(int modelIdentifier,
String chainIdentifier)
|
Structure |
getCopy()
Returns a copy of this structure.
|
Model |
getFirstModel()
Returns the first
Model (with the smallest identifier). |
Optional<Model> |
getModel(int modelIdentifier)
|
String |
getPdbIdentifier()
Returns the PDB identifier, a 4 character code, where the first character is any number followed by three
alphanumeric characters.
|
String |
getTitle()
Returns the title.
|
void |
removeModel(int modelIdentifier)
Removes a
Model with the given identifier from the structure. |
getAllAminoAcids, getAllAtoms, getAllLeafSubstructures, getAllLigands, getAllNucleotides, getAminoAcid, getAtom, getFirstLeafSubstructure, getLeafSubstructure, getLigand, getNucleotide, getNumberOfLeafSubstructures, removeLeafSubstructure, removeLeafSubstructure, removeLeafSubstructuresNotRelevantForgetAtom, removeAtomgetAllChains, getFirstChainString getPdbIdentifier()
PDBIdentifierString getTitle()
Set<Integer> getAllModelIdentifiers()
Model getFirstModel()
Model (with the smallest identifier).void removeModel(int modelIdentifier)
Model with the given identifier from the structure.modelIdentifier - The identifier of the model.Structure getCopy()
getCopy in interface LeafSubstructureContainerdefault String flatToString()
Copyright © 2018. All rights reserved.