Class MmCifPDBBiolAssemblyProvider
- java.lang.Object
-
- org.biojava.nbio.structure.quaternary.io.MmCifPDBBiolAssemblyProvider
-
- All Implemented Interfaces:
RawBioUnitDataProvider
public class MmCifPDBBiolAssemblyProvider extends java.lang.Object implements RawBioUnitDataProvider
A provider for information about biological units for PDB files that is based on reading local MMcif files.- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description MmCifPDBBiolAssemblyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuregetAsymUnit()get the asym unit for this PDB IDAtomCachegetAtomCache()intgetNrBiolAssemblies()Returns the number of available biological assemblies.java.lang.StringgetPdbId()java.util.List<PdbxStructAssembly>getPdbxStructAssemblies()Data access method for list describing all assembliesPdbxStructAssemblygetPdbxStructAssembly(int biolAssemblyNr)get the data for a particular pdbxStructAssembly.java.util.List<PdbxStructAssemblyGen>getPdbxStructAssemblyGen(int biolAssemblyNr)get the data for a particular pdbxStructAssemblyGen.java.util.List<PdbxStructAssemblyGen>getPdbxStructAssemblyGens()Data access method for list describing all assembliesjava.util.List<PdbxStructOperList>getPdbxStructOperList()Get all the possible operatorsbooleanhasBiolAssembly()Does the PDB ID have biological assembly information?voidsetAsymUnit(Structure s)voidsetAtomCache(AtomCache cache)voidsetPdbId(java.lang.String pdbId)Tell the provider for which PDB ID the quaternary structure should be returned.
-
-
-
Method Detail
-
setPdbId
public void setPdbId(java.lang.String pdbId)
Description copied from interface:RawBioUnitDataProviderTell the provider for which PDB ID the quaternary structure should be returned.- Specified by:
setPdbIdin interfaceRawBioUnitDataProvider
-
getPdbId
public java.lang.String getPdbId()
-
getPdbxStructAssemblies
public java.util.List<PdbxStructAssembly> getPdbxStructAssemblies()
Description copied from interface:RawBioUnitDataProviderData access method for list describing all assemblies- Specified by:
getPdbxStructAssembliesin interfaceRawBioUnitDataProvider- Returns:
-
getPdbxStructAssemblyGens
public java.util.List<PdbxStructAssemblyGen> getPdbxStructAssemblyGens()
Description copied from interface:RawBioUnitDataProviderData access method for list describing all assemblies- Specified by:
getPdbxStructAssemblyGensin interfaceRawBioUnitDataProvider- Returns:
-
getPdbxStructOperList
public java.util.List<PdbxStructOperList> getPdbxStructOperList()
Description copied from interface:RawBioUnitDataProviderGet all the possible operators- Specified by:
getPdbxStructOperListin interfaceRawBioUnitDataProvider- Returns:
-
getNrBiolAssemblies
public int getNrBiolAssemblies()
Description copied from interface:RawBioUnitDataProviderReturns the number of available biological assemblies.- Specified by:
getNrBiolAssembliesin interfaceRawBioUnitDataProvider- Returns:
-
hasBiolAssembly
public boolean hasBiolAssembly()
Description copied from interface:RawBioUnitDataProviderDoes the PDB ID have biological assembly information?- Specified by:
hasBiolAssemblyin interfaceRawBioUnitDataProvider- Returns:
- boolean flag
-
getPdbxStructAssembly
public PdbxStructAssembly getPdbxStructAssembly(int biolAssemblyNr)
Description copied from interface:RawBioUnitDataProviderget the data for a particular pdbxStructAssembly. We start counting at 0.- Specified by:
getPdbxStructAssemblyin interfaceRawBioUnitDataProvider- Returns:
-
getPdbxStructAssemblyGen
public java.util.List<PdbxStructAssemblyGen> getPdbxStructAssemblyGen(int biolAssemblyNr)
Description copied from interface:RawBioUnitDataProviderget the data for a particular pdbxStructAssemblyGen. We start counting at 0.- Specified by:
getPdbxStructAssemblyGenin interfaceRawBioUnitDataProvider- Returns:
-
getAsymUnit
public Structure getAsymUnit()
get the asym unit for this PDB ID- Returns:
-
setAsymUnit
public void setAsymUnit(Structure s)
-
getAtomCache
public AtomCache getAtomCache()
-
setAtomCache
public void setAtomCache(AtomCache cache)
-
-