public class MmCifBiolAssemblyProvider extends Object implements BioUnitDataProvider
| Constructor and Description |
|---|
MmCifBiolAssemblyProvider() |
| Modifier and Type | Method and Description |
|---|---|
Structure |
getAsymUnit(String pdbId)
load the asym unit, but set the info how to re-create the bio unit in the PdbHeader object
|
AtomCache |
getAtomCache() |
Structure |
getBiolAssembly(String pdbId,
int biolAssemblyNr) |
List<BiologicalAssemblyTransformation> |
getBioUnitTransformationList(String pdbId,
int biolAssemblyNr)
get the data for a particular assembly, counting starts at 1...
|
int |
getNrBiolAssemblies(String pdbId)
Returns the number of available biological assemblies.
|
boolean |
hasBiolAssembly(String pdbId)
Does the PDB ID have biological assembly information?
|
void |
setAsymUnit(Structure s) |
void |
setAtomCache(AtomCache cache)
Set an AtomCache to use when fetching asymmetric units.
|
public MmCifBiolAssemblyProvider()
public Structure getAsymUnit(String pdbId)
BioUnitDataProvidergetAsymUnit in interface BioUnitDataProviderpublic void setAsymUnit(Structure s)
setAsymUnit in interface BioUnitDataProviderpublic List<BiologicalAssemblyTransformation> getBioUnitTransformationList(String pdbId, int biolAssemblyNr)
BioUnitDataProvidergetBioUnitTransformationList 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 unitpublic int getNrBiolAssemblies(String pdbId)
BioUnitDataProvidergetNrBiolAssemblies in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STPpublic boolean hasBiolAssembly(String pdbId)
BioUnitDataProviderhasBiolAssembly in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STPpublic Structure getBiolAssembly(String pdbId, int biolAssemblyNr) throws IOException, StructureException
IOExceptionStructureExceptionpublic void setAtomCache(AtomCache cache)
BioUnitDataProvidersetAtomCache in interface BioUnitDataProviderpublic AtomCache getAtomCache()
getAtomCache in interface BioUnitDataProviderCopyright © 2000–2017 BioJava. All rights reserved.