|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava.bio.structure.quaternary.io.FileBasedPDBBioUnitDataProvider
public class FileBasedPDBBioUnitDataProvider
A biounit provider that loads the biol assembly from thepublic PDB file, rather than re-creating it on the fly out of the default PDB file for the asym unit
| Constructor Summary | |
|---|---|
FileBasedPDBBioUnitDataProvider()
|
|
| Method Summary | |
|---|---|
Structure |
getAsymUnit(java.lang.String pdbId)
load the asym unit, but set the info how to re-create the bio unit in the PdbHeader object |
AtomCache |
getAtomCache()
|
Structure |
getBioUnit(java.lang.String pdbId,
int bioUnit)
|
java.util.List<ModelTransformationMatrix> |
getBioUnitTransformationList(java.lang.String pdbId,
int biolAssemblyNr)
get the data for a particular assembly, counting starts at 1... |
int |
getNrBiolAssemblies(java.lang.String pdbId)
Returns the number of available biological assemblies. |
boolean |
hasBiolAssembly(java.lang.String pdbId)
Does the PDB ID have biological assembly information? |
PDBHeader |
loadPDB(java.lang.String pdbId,
int bioUnit)
|
void |
setAsymUnit(Structure s)
|
void |
setAtomCache(AtomCache cache)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileBasedPDBBioUnitDataProvider()
| Method Detail |
|---|
public Structure getBioUnit(java.lang.String pdbId,
int bioUnit)
throws java.io.IOException
java.io.IOException
public PDBHeader loadPDB(java.lang.String pdbId,
int bioUnit)
public Structure getAsymUnit(java.lang.String pdbId)
BioUnitDataProvider
getAsymUnit in interface BioUnitDataProviderpublic void setAsymUnit(Structure s)
setAsymUnit in interface BioUnitDataProvider
public java.util.List<ModelTransformationMatrix> getBioUnitTransformationList(java.lang.String pdbId,
int biolAssemblyNr)
BioUnitDataProvider
getBioUnitTransformationList in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STPbiolAssemblyNr - the number of the assembly, the first one is nr 1. 0 refers to the asym unit
public int getNrBiolAssemblies(java.lang.String pdbId)
BioUnitDataProvider
getNrBiolAssemblies in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STP
public boolean hasBiolAssembly(java.lang.String pdbId)
BioUnitDataProvider
hasBiolAssembly in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STP
public void setAtomCache(AtomCache cache)
setAtomCache in interface BioUnitDataProviderpublic AtomCache getAtomCache()
getAtomCache in interface BioUnitDataProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||