Package org.biojava.nbio.structure
Class StructureImpl
- java.lang.Object
-
- org.biojava.nbio.structure.StructureImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,Structure
public class StructureImpl extends Object implements Structure
Implementation of a PDB Structure. This class provides the data contained in a PDB file. to get structure objects from different sources see io package.- Since:
- 1.4
- Version:
- %I% %G%
- Author:
- Andreas Prlic, Jules Jacobsen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StructureImpl()Constructs a StructureImpl object.StructureImpl(Chain c)Construct a Structure object that contains a particular chainStructureImpl(Group g)Construct a Structure object that only contains a single group
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddChain(Chain chain)Add a new chain to the first modelvoidaddChain(Chain chain, int modelnr)Add a new chain to the model specified by the given indexvoidaddEntityInfo(EntityInfo entityInfo)Add an EntityInfo to this StructurevoidaddModel(List<Chain> modelChains)Add a new model.voidaddSSBond(Bond ssbond)Adds a single disulfide Bond to this structureStructureclone()Returns an identical copy of this structure .GroupfindGroup(String chainName, String pdbResnum)Request a particular group from a structure.GroupfindGroup(String chainName, String pdbResnum, int modelnr)Request a particular group from a structure.ChaingetChain(String asymId)Retrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the first modelChaingetChain(String asymId, int modelnr)Retrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the given model indexChaingetChainByIndex(int number)Retrieve a chain by its index within the Structure .ChaingetChainByIndex(int modelnr, int number)Retrieve a chain by its indices within the Structure and model.List<Chain>getChains()Retrieve all chains for the first model.List<Chain>getChains(int modelIdx)Retrieve all chains of a model.PDBCrystallographicInfogetCrystallographicInfo()Gets crystallographic information for this structureList<DBRef>getDBRefs()Get the list of database referencesEntityInfogetEntityById(int entityId)Request a particular entity by its entity id (mol id in legacy PDB format)List<EntityInfo>getEntityInfos()Get all the EntityInfo for this Structure.StringgetIdentifier()Get a string representing this structure's contents.JournalArticlegetJournalArticle()get the associated publication as defined by the JRNL records in a PDB file.List<Chain>getModel(int modelnr)Retrieve all Chains belonging to a model .StringgetName()Get biological name of Structure.ChaingetNonPolyChain(String asymId)Retrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the first modelChaingetNonPolyChain(String asymId, int modelIdx)Retrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the given model indexList<Chain>getNonPolyChains()Return all non-polymeric chains for the first modelList<Chain>getNonPolyChains(int modelIdx)Return all non-polymeric chains for the given model index.List<Chain>getNonPolyChainsByPDB(String authId)Retrieve all non-polymeric Chains corresponding to the given 'public' chain name (authId) for the first model.List<Chain>getNonPolyChainsByPDB(String authId, int modelIdx)Retrieve all non-polymeric Chains corresponding to the 'public' chain name (authId) and the given model index.StringgetPDBCode()Deprecated.PDBHeadergetPDBHeader()Return the header information for this PDB file.PdbIdgetPdbId()Returns the PDB identifier associated with this StructureIdentifier.ChaingetPolyChain(String asymId)Retrieve a polymeric Chain based on the 'internal' chain id (asymId) for the first modelChaingetPolyChain(String asymId, int modelIdx)Retrieve a polymeric Chain based on the 'internal' chain id (asymId) for the given model indexChaingetPolyChainByPDB(String authId)Retrieve a polymeric Chain based on the 'public' chain name (authId) for the first modelChaingetPolyChainByPDB(String authId, int modelIdx)Retrieve a polymeric Chain based on the 'public' chain name (authId) for the given model index.List<Chain>getPolyChains()Return all polymeric chains for the first modelList<Chain>getPolyChains(int modelIdx)Return all polymeric chains for the given model index.List<Site>getSites()List<Bond>getSSBonds()Get the list of disulfide Bonds as they have been defined in the PDB filesStructureIdentifiergetStructureIdentifier()Get an identifier corresponding to this structureChaingetWaterChain(String asymId)Retrieve a water Chain based on the 'internal' chain id (asymId) for the first modelChaingetWaterChain(String asymId, int modelIdx)Retrieve a water chain based on the 'internal' chain id (asymId) for the given model indexChaingetWaterChainByPDB(String authId)Retrieve a water Chain based on the 'public' chain name (authId) for the first modelChaingetWaterChainByPDB(String authId, int modelIdx)Retrieve a water Chain based on the 'public' chain name (authId) for the given model indexList<Chain>getWaterChains()Return all water chains for the first modelList<Chain>getWaterChains(int modelIdx)Return all water chains for the given model indexbooleanhasChain(String authId)Check if a chain with the chainId aymId is contained in this structure.booleanhasJournalArticle()Return whether or not the entry has an associated journal article or publication.booleanhasNonPolyChain(String asymId)Check if a non polymeric chain with chainId asymId is contained in the structure.booleanhasPdbChain(String authId)Check if a chain with chain name authId is contained in the structurebooleanisBiologicalAssembly()Gets flag that indicates if this structure is a biological assemblybooleanisCrystallographic()Whether this Structure is a crystallographic structure or not.booleanisNmr()Whether this Structure is a NMR structure or not.intnrModels()return number of models.voidresetModels()Resets all models of this StructurevoidsetBiologicalAssembly(boolean biologicalAssembly)Sets a flag to indicate if this structure is a biological assemblyvoidsetChains(int modelnr, List<Chain> chains)Set the chains for a modelvoidsetChains(List<Chain> chains)Set the chains of a structure, if this is a NMR structure, this will only set model 0.voidsetCrystallographicInfo(PDBCrystallographicInfo crystallographicInfo)Sets crystallographic information for this structurevoidsetDBRefs(List<DBRef> dbrefs)Set the list of database references for this structurevoidsetEntityInfos(List<EntityInfo> molList)Set the EntityInfovoidsetJournalArticle(JournalArticle journalArticle)set the associated publication as defined by the JRNL records in a PDB file.voidsetModel(int position, List<Chain> modelChains)A convenience function if one wants to edit and replace the models in a structure.voidsetName(String nam)Set biological name of Structure .voidsetPDBCode(String pdb_id)Deprecated.use#setPDBCode(PdbId)voidsetPDBHeader(PDBHeader pdbHeader)Set the the header information for this PDB filevoidsetPdbId(PdbId pdbId)Sets thePdbIdidentifier associated with this structure.voidsetSites(List<Site> sites)voidsetSSBonds(List<Bond> ssbonds)Set the list of SSBonds for this structurevoidsetStructureIdentifier(StructureIdentifier structureIdentifier)Set the identifier corresponding to this structureintsize()Return number of polymer Chains in this Structure for first model.intsize(int modelnr)return number of chains of model.StringtoMMCIF()Create a String that contains this Structure's contents in MMCIF file format.StringtoPDB()Create a String that contains this Structure's contents in PDB file format.StringtoString()String representation.
-
-
-
Constructor Detail
-
StructureImpl
public StructureImpl()
Constructs a StructureImpl object.
-
StructureImpl
public StructureImpl(Group g)
Construct a Structure object that only contains a single group- Parameters:
g- group object
-
StructureImpl
public StructureImpl(Chain c)
Construct a Structure object that contains a particular chain- Parameters:
c- chain
-
-
Method Detail
-
findGroup
public Group findGroup(String chainName, String pdbResnum, int modelnr) throws StructureException
Request a particular group from a structure. considers only model nr X. count starts with 0.- Specified by:
findGroupin interfaceStructure- Parameters:
chainName- the chain name of the chain to usepdbResnum- the PDB residue number of the requested groupmodelnr- the number of the model to use- Returns:
- Group the requested Group
- Throws:
StructureException
-
findGroup
public Group findGroup(String chainName, String pdbResnum) throws StructureException
Request a particular group from a structure. by default considers only the first model in the structure.- Specified by:
findGroupin interfaceStructure- Parameters:
chainName- the name of the chain to usepdbResnum- the PDB residue number of the requested group- Returns:
- Group the requested Group
- Throws:
StructureException
-
setName
public void setName(String nam)
Set biological name of Structure .- Specified by:
setNamein interfaceStructure- Parameters:
nam- a String specifying the biological name of the Structure- See Also:
Structure.getName()
-
getName
public String getName()
Get biological name of Structure.- Specified by:
getNamein interfaceStructure- Returns:
- a String representing the biological name of the Structure
- See Also:
Structure.setName(java.lang.String)
-
getStructureIdentifier
public StructureIdentifier getStructureIdentifier()
Description copied from interface:StructureGet an identifier corresponding to this structure- Specified by:
getStructureIdentifierin interfaceStructure- Returns:
- The StructureIdentifier used to create this structure
-
setStructureIdentifier
public void setStructureIdentifier(StructureIdentifier structureIdentifier)
Description copied from interface:StructureSet the identifier corresponding to this structure- Specified by:
setStructureIdentifierin interfaceStructure- Parameters:
structureIdentifier- the structureIdentifier corresponding to this structure
-
addChain
public void addChain(Chain chain, int modelnr)
Add a new chain to the model specified by the given index
-
getChainByIndex
public Chain getChainByIndex(int number)
Retrieve a chain by its index within the Structure .- Specified by:
getChainByIndexin interfaceStructure- Parameters:
number- the index of the desired chain in the structure- Returns:
- a Chain object
-
getChainByIndex
public Chain getChainByIndex(int modelnr, int number)
Retrieve a chain by its indices within the Structure and model.- Specified by:
getChainByIndexin interfaceStructure- Parameters:
modelnr- the model the desired chain is innumber- the index of the desired chain in the structure- Returns:
- a Chain object
-
setChains
public void setChains(List<Chain> chains)
Set the chains of a structure, if this is a NMR structure, this will only set model 0.- Specified by:
setChainsin interfaceStructure- Parameters:
chains- the list of chains for this structure.- See Also:
Structure.setChains(int, List)
-
setModel
public void setModel(int position, List<Chain> modelChains)
A convenience function if one wants to edit and replace the models in a structure. Allows to set (replace) the model at position with the new List of Chains.
-
size
public int size()
Description copied from interface:StructureReturn number of polymer Chains in this Structure for first model.
-
size
public int size(int modelnr)
return number of chains of model.
-
nrModels
public int nrModels()
return number of models.- Specified by:
nrModelsin interfaceStructure- Returns:
- an int representing the number of models in this Structure
- See Also:
Structure.isNmr()
-
isCrystallographic
public boolean isCrystallographic()
Whether this Structure is a crystallographic structure or not. It will first check the experimental technique and if not present it will try to guess from the presence of a space group and sensible cell parameters- Specified by:
isCrystallographicin interfaceStructure- Returns:
- true if crystallographic, false otherwise
-
isNmr
public boolean isNmr()
Whether this Structure is a NMR structure or not. It will first check the experimental technique and if not present it will try to guess from the presence of more than 1 model and from b-factors being 0 in first chain of first model- Specified by:
isNmrin interfaceStructure- Returns:
- true if NMR, false otherwise
- See Also:
Structure.nrModels()
-
getChains
public List<Chain> getChains(int modelIdx)
Retrieve all chains of a model.- Specified by:
getChainsin interfaceStructure- Parameters:
modelIdx- an int- Returns:
- a List object containing the Chains of Model nr. modelnr
- See Also:
Structure.getModel(int)
-
getChains
public List<Chain> getChains()
Retrieve all chains for the first model. This is the same as getChains(0);- Specified by:
getChainsin interfaceStructure- Returns:
- a List object containing the Chains of Model nr. modelnr
- See Also:
Structure.getModel(int modelnr),Structure.getChains(int modelnr)
-
getPolyChains
public List<Chain> getPolyChains()
Description copied from interface:StructureReturn all polymeric chains for the first model- Specified by:
getPolyChainsin interfaceStructure- Returns:
- all polymeric chains.
-
getPolyChains
public List<Chain> getPolyChains(int modelIdx)
Description copied from interface:StructureReturn all polymeric chains for the given model index.- Specified by:
getPolyChainsin interfaceStructure- Parameters:
modelIdx- the model index- Returns:
- all polymeric chains.
-
getNonPolyChains
public List<Chain> getNonPolyChains()
Description copied from interface:StructureReturn all non-polymeric chains for the first model- Specified by:
getNonPolyChainsin interfaceStructure- Returns:
- all non-polymeric chains.
-
getNonPolyChains
public List<Chain> getNonPolyChains(int modelIdx)
Description copied from interface:StructureReturn all non-polymeric chains for the given model index.- Specified by:
getNonPolyChainsin interfaceStructure- Parameters:
modelIdx- the model index- Returns:
- all non-polymeric chains.
-
getWaterChains
public List<Chain> getWaterChains()
Description copied from interface:StructureReturn all water chains for the first model- Specified by:
getWaterChainsin interfaceStructure- Returns:
-
getWaterChains
public List<Chain> getWaterChains(int modelIdx)
Description copied from interface:StructureReturn all water chains for the given model index- Specified by:
getWaterChainsin interfaceStructure- Returns:
-
getModel
public List<Chain> getModel(int modelnr)
Retrieve all Chains belonging to a model .- Specified by:
getModelin interfaceStructure- Parameters:
modelnr- an int- Returns:
- a List object
- See Also:
Structure.getChains(int modelnr)
-
getChain
public Chain getChain(String asymId, int modelnr)
Retrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the given model index- Specified by:
getChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)modelnr- the index of the required model (0-based)- Returns:
- See Also:
Structure.getPolyChain(String, int),Structure.getNonPolyChain(String, int),Structure.getWaterChain(String, int)
-
getChain
public Chain getChain(String asymId)
Retrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the first model- Specified by:
getChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)- Returns:
- See Also:
Structure.getPolyChain(String),Structure.getNonPolyChain(String),Structure.getWaterChain(String)
-
getPolyChain
public Chain getPolyChain(String asymId)
Description copied from interface:StructureRetrieve a polymeric Chain based on the 'internal' chain id (asymId) for the first modelSee
Structure.getPolyChainByPDB(String)for a similar method using the chain name (authId).- Specified by:
getPolyChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)- Returns:
- a polymeric Chain or null if it can't be found
-
getPolyChain
public Chain getPolyChain(String asymId, int modelIdx)
Description copied from interface:StructureRetrieve a polymeric Chain based on the 'internal' chain id (asymId) for the given model indexSee
Structure.getPolyChainByPDB(String, int)for a similar method using the chain name (authId).- Specified by:
getPolyChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)modelIdx- the index of the required model (0-based)- Returns:
- a polymeric Chain or null if it can't be found
-
getNonPolyChain
public Chain getNonPolyChain(String asymId)
Description copied from interface:StructureRetrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the first model- Specified by:
getNonPolyChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)- Returns:
- a non-polymeric chain or null if it can't be found
-
getNonPolyChain
public Chain getNonPolyChain(String asymId, int modelIdx)
Description copied from interface:StructureRetrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the given model index- Specified by:
getNonPolyChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)modelIdx- the index of the required model (0-based)- Returns:
- a non-polymeric Chain or null if it can't be found
-
getPolyChainByPDB
public Chain getPolyChainByPDB(String authId)
Description copied from interface:StructureRetrieve a polymeric Chain based on the 'public' chain name (authId) for the first modelSee
Structure.getPolyChain(String)for a similar method using the chain id (asymId).- Specified by:
getPolyChainByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)- Returns:
- a polymeric Chain or null if it can't be found
-
getPolyChainByPDB
public Chain getPolyChainByPDB(String authId, int modelIdx)
Description copied from interface:StructureRetrieve a polymeric Chain based on the 'public' chain name (authId) for the given model index.See
Structure.getPolyChain(String, int)for a similar method using the chain id (asymId).- Specified by:
getPolyChainByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)modelIdx- the index of the required model (0-based)- Returns:
- a polymeric Chain or null if it can't be found
-
getNonPolyChainsByPDB
public List<Chain> getNonPolyChainsByPDB(String authId)
Description copied from interface:StructureRetrieve all non-polymeric Chains corresponding to the given 'public' chain name (authId) for the first model.- Specified by:
getNonPolyChainsByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)- Returns:
- a list of non-polymeric Chains, if none found the list will be empty
-
getNonPolyChainsByPDB
public List<Chain> getNonPolyChainsByPDB(String authId, int modelIdx)
Description copied from interface:StructureRetrieve all non-polymeric Chains corresponding to the 'public' chain name (authId) and the given model index.- Specified by:
getNonPolyChainsByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)modelIdx- the index of the required model (0-based)- Returns:
- a list of non-polymeric Chains, if none found the list will be empty
-
getWaterChain
public Chain getWaterChain(String asymId)
Description copied from interface:StructureRetrieve a water Chain based on the 'internal' chain id (asymId) for the first model- Specified by:
getWaterChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)- Returns:
- a water Chain or null if it can't be found
-
getWaterChain
public Chain getWaterChain(String asymId, int modelIdx)
Description copied from interface:StructureRetrieve a water chain based on the 'internal' chain id (asymId) for the given model index- Specified by:
getWaterChainin interfaceStructure- Parameters:
asymId- the asymId (chainId)modelIdx- the index of the required model (0-based)- Returns:
-
getWaterChainByPDB
public Chain getWaterChainByPDB(String authId)
Description copied from interface:StructureRetrieve a water Chain based on the 'public' chain name (authId) for the first model- Specified by:
getWaterChainByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)- Returns:
-
getWaterChainByPDB
public Chain getWaterChainByPDB(String authId, int modelIdx)
Description copied from interface:StructureRetrieve a water Chain based on the 'public' chain name (authId) for the given model index- Specified by:
getWaterChainByPDBin interfaceStructure- Parameters:
authId- the author id (chainName, public chain id)modelIdx- the index of the required model (0-based)- Returns:
-
toPDB
public String toPDB()
Create a String that contains this Structure's contents in PDB file format.- Specified by:
toPDBin interfaceStructure- Returns:
- a String that looks like a PDB file
- See Also:
FileConvert
-
toMMCIF
public String toMMCIF()
Create a String that contains this Structure's contents in MMCIF file format.
-
hasChain
public boolean hasChain(String authId)
Check if a chain with the chainId aymId is contained in this structure.
-
hasNonPolyChain
public boolean hasNonPolyChain(String asymId)
Check if a non polymeric chain with chainId asymId is contained in the structure.- Specified by:
hasNonPolyChainin interfaceStructure- Parameters:
asymId- the id of the chain- Returns:
- true if a nonpolymeric chain with the asymId is found
-
hasPdbChain
public boolean hasPdbChain(String authId)
Check if a chain with chain name authId is contained in the structure- Specified by:
hasPdbChainin interfaceStructure- Parameters:
authId- the chain name- Returns:
- true if a chain with the name authId is found
-
setEntityInfos
public void setEntityInfos(List<EntityInfo> molList)
Set the EntityInfo- Specified by:
setEntityInfosin interfaceStructure- Parameters:
molList- list of entityinfo objects
-
addEntityInfo
public void addEntityInfo(EntityInfo entityInfo)
Add an EntityInfo to this Structure- Specified by:
addEntityInfoin interfaceStructure
-
getEntityInfos
public List<EntityInfo> getEntityInfos()
Get all the EntityInfo for this Structure.- Specified by:
getEntityInfosin interfaceStructure- Returns:
- a list of EntityInfos
-
getEntityById
public EntityInfo getEntityById(int entityId)
Request a particular entity by its entity id (mol id in legacy PDB format)- Specified by:
getEntityByIdin interfaceStructure- Parameters:
entityId- the number of the entity- Returns:
- an entity, or null if the molId was not found
-
setDBRefs
public void setDBRefs(List<DBRef> dbrefs)
Set the list of database references for this structure
-
getPDBHeader
public PDBHeader getPDBHeader()
Return the header information for this PDB file. N.B. Take care when you blindly use the returned object from this method, because it might be null in some cases.- Specified by:
getPDBHeaderin interfaceStructure- Returns:
- the PDBHeader object
-
setPDBHeader
public void setPDBHeader(PDBHeader pdbHeader)
Set the the header information for this PDB file- Specified by:
setPDBHeaderin interfaceStructure- Parameters:
pdbHeader- the PDBHeader object
-
getSSBonds
public List<Bond> getSSBonds()
Get the list of disulfide Bonds as they have been defined in the PDB files- Specified by:
getSSBondsin interfaceStructure- Returns:
- a list of Bonds
-
setSSBonds
public void setSSBonds(List<Bond> ssbonds)
Set the list of SSBonds for this structure- Specified by:
setSSBondsin interfaceStructure
-
hasJournalArticle
public boolean hasJournalArticle()
Return whether or not the entry has an associated journal article or publication. The JRNL section is not mandatory and thus may not be present.- Specified by:
hasJournalArticlein interfaceStructure- Returns:
- flag if a JournalArticle could be found.
-
getJournalArticle
public JournalArticle getJournalArticle()
get the associated publication as defined by the JRNL records in a PDB file.- Specified by:
getJournalArticlein interfaceStructure- Returns:
- a JournalArticle
-
setJournalArticle
public void setJournalArticle(JournalArticle journalArticle)
set the associated publication as defined by the JRNL records in a PDB file.- Specified by:
setJournalArticlein interfaceStructure- Parameters:
journalArticle- the article
-
setBiologicalAssembly
public void setBiologicalAssembly(boolean biologicalAssembly)
Sets a flag to indicate if this structure is a biological assembly- Specified by:
setBiologicalAssemblyin interfaceStructure- Parameters:
biologicalAssembly- true if biological assembly, otherwise false- Since:
- 3.2
-
isBiologicalAssembly
public boolean isBiologicalAssembly()
Gets flag that indicates if this structure is a biological assembly- Specified by:
isBiologicalAssemblyin interfaceStructure- Returns:
- the sites contained in this structure
- Since:
- 3.2
-
setCrystallographicInfo
public void setCrystallographicInfo(PDBCrystallographicInfo crystallographicInfo)
Sets crystallographic information for this structure- Specified by:
setCrystallographicInfoin interfaceStructure- Parameters:
crystallographicInfo- crystallographic information- Since:
- 3.2
-
getCrystallographicInfo
public PDBCrystallographicInfo getCrystallographicInfo()
Gets crystallographic information for this structure- Specified by:
getCrystallographicInfoin interfaceStructure- Returns:
- PDBCrystallographicInfo crystallographic information
- Since:
- 3.2
-
getIdentifier
public String getIdentifier()
Get a string representing this structure's contents. The following places are searched for a non-null value, with the first being returned:Structure.getStructureIdentifier().getIdentifier(), which should give the string originally used to create the structureStructure.getName()- A combination of
Structure.getPDBCode()with a heuristic description of the residue ranges, inSubstructureIdentifierformat.
- Specified by:
getIdentifierin interfaceStructure- Returns:
- A
SubstructureIdentifier-format string describing the residue ranges in this structure
-
getPDBCode
@Deprecated public String getPDBCode()
Deprecated.Get PDB code of structure.- Specified by:
getPDBCodein interfaceStructure- Returns:
- a String representing the PDBCode value
- See Also:
Structure.setPDBCode(java.lang.String)
-
setPDBCode
@Deprecated public void setPDBCode(String pdb_id)
Deprecated.use#setPDBCode(PdbId)Set PDB code of structure .- Specified by:
setPDBCodein interfaceStructure- Parameters:
pdb_id- a String specifying the PDBCode- See Also:
Structure.getPDBCode()
-
getPdbId
public PdbId getPdbId()
Returns the PDB identifier associated with this StructureIdentifier.
-
setPdbId
public void setPdbId(PdbId pdbId)
Sets thePdbIdidentifier associated with this structure.
-
resetModels
public void resetModels()
Description copied from interface:StructureResets all models of this Structure- Specified by:
resetModelsin interfaceStructure
-
-