Class MmCifBiolAssemblyProvider
java.lang.Object
org.biojava.nbio.structure.quaternary.io.MmCifBiolAssemblyProvider
- All Implemented Interfaces:
 BioUnitDataProvider
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAsymUnit(String pdbId) load the asym unit, but set the info how to re-create the bio unit in the PdbHeader objectgetBiolAssembly(String pdbId, int biolAssemblyNr) getBioUnitTransformationList(String pdbId, int biolAssemblyNr) get the data for a particular assembly, counting starts at 1...intgetNrBiolAssemblies(String pdbId) Returns the number of available biological assemblies.booleanhasBiolAssembly(String pdbId) Does the PDB ID have biological assembly information?voidvoidsetAtomCache(AtomCache cache) Set an AtomCache to use when fetching asymmetric units. 
- 
Constructor Details
- 
MmCifBiolAssemblyProvider
public MmCifBiolAssemblyProvider() 
 - 
 - 
Method Details
- 
getAsymUnit
Description copied from interface:BioUnitDataProviderload the asym unit, but set the info how to re-create the bio unit in the PdbHeader object- Specified by:
 getAsymUnitin interfaceBioUnitDataProvider- Returns:
 
 - 
setAsymUnit
- Specified by:
 setAsymUnitin interfaceBioUnitDataProvider
 - 
getBioUnitTransformationList
public List<BiologicalAssemblyTransformation> getBioUnitTransformationList(String pdbId, int biolAssemblyNr) Description copied from interface:BioUnitDataProviderget the data for a particular assembly, counting starts at 1...- Specified by:
 getBioUnitTransformationListin interfaceBioUnitDataProvider- Parameters:
 pdbId- the PDB ID. E.g. 1STPbiolAssemblyNr- the number of the assembly, the first one is nr 1. 0 refers to the asym unit- Returns:
 - list of transformations.
 
 - 
getNrBiolAssemblies
Description copied from interface:BioUnitDataProviderReturns the number of available biological assemblies.- Specified by:
 getNrBiolAssembliesin interfaceBioUnitDataProvider- Parameters:
 pdbId- the PDB ID. E.g. 1STP- Returns:
 - nr of available assemblies.
 
 - 
hasBiolAssembly
Description copied from interface:BioUnitDataProviderDoes the PDB ID have biological assembly information?- Specified by:
 hasBiolAssemblyin interfaceBioUnitDataProvider- Parameters:
 pdbId- the PDB ID. E.g. 1STP- Returns:
 - boolean flag
 
 - 
getBiolAssembly
public Structure getBiolAssembly(String pdbId, int biolAssemblyNr) throws IOException, StructureException - Throws:
 IOExceptionStructureException
 - 
setAtomCache
Description copied from interface:BioUnitDataProviderSet an AtomCache to use when fetching asymmetric units. If null, a new cache will be created with default parameters.- Specified by:
 setAtomCachein interfaceBioUnitDataProvider
 - 
getAtomCache
- Specified by:
 getAtomCachein interfaceBioUnitDataProvider- Returns:
 - The current cache, or null if no cache has been initialized
 
 
 -