public class RemoteBioUnitDataProvider extends java.lang.Object implements BioUnitDataProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BIO_ASSEMBLY |
static java.lang.String |
DEFAULT_SERVERNAME |
static java.lang.String |
NR_BIOL_APPEND |
| Constructor and Description |
|---|
RemoteBioUnitDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
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() |
java.util.List<BiologicalAssemblyTransformation> |
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?
|
void |
setAsymUnit(Structure s) |
void |
setAtomCache(AtomCache cache) |
public static final java.lang.String DEFAULT_SERVERNAME
public static final java.lang.String NR_BIOL_APPEND
public static final java.lang.String BIO_ASSEMBLY
public java.util.List<BiologicalAssemblyTransformation> getBioUnitTransformationList(java.lang.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(java.lang.String pdbId)
BioUnitDataProvidergetNrBiolAssemblies in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STPpublic boolean hasBiolAssembly(java.lang.String pdbId)
BioUnitDataProviderhasBiolAssembly in interface BioUnitDataProviderpdbId - the PDB ID. E.g. 1STPpublic Structure getAsymUnit(java.lang.String pdbId)
BioUnitDataProvidergetAsymUnit in interface BioUnitDataProviderpublic void setAsymUnit(Structure s)
setAsymUnit in interface BioUnitDataProviderpublic void setAtomCache(AtomCache cache)
setAtomCache in interface BioUnitDataProviderpublic AtomCache getAtomCache()
getAtomCache in interface BioUnitDataProvider