Class MmtfStructureReader
java.lang.Object
org.biojava.nbio.structure.io.mmtf.MmtfStructureReader
- All Implemented Interfaces:
 Serializable,org.rcsb.mmtf.api.StructureAdapterInterface
public class MmtfStructureReader
extends Object
implements org.rcsb.mmtf.api.StructureAdapterInterface, Serializable
A biojava specific structure inflator for MMTF.
 Should be ported to biojava code.
- Since:
 - 5.0
 - Author:
 - Anthony Bradley
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidGets the structure.voidinitStructure(int totalNumBonds, int totalNumAtoms, int totalNumGroups, int totalNumChains, int totalNumModels, String modelId) voidsetAtomInfo(String atomName, int serialNumber, char alternativeLocationId, float x, float y, float z, float occupancy, float temperatureFactor, String element, int charge) voidsetBioAssemblyTrans(int bioAssemblyId, int[] inputChainIndices, double[] inputTransform, String name) voidsetChainInfo(String chainId, String chainName, int groupCount) voidsetEntityInfo(int[] chainIndices, String sequence, String description, String type) voidsetGroupBond(int indOne, int indTwo, int bondOrder) voidsetGroupInfo(String groupName, int groupNumber, char insertionCode, String chemCompType, int atomCount, int bondCount, char singleLetterCode, int sequenceIndexId, int secStructType) voidsetHeaderInfo(float rFree, float rWork, float resolution, String title, String depositionDate, String releaseDate, String[] experimentalMethods) voidsetInterGroupBond(int indOne, int indTwo, int bondOrder) voidsetModelInfo(int inputModelNumber, int chainCount) voidsetXtalInfo(String spaceGroupString, float[] unitCell, double[][] ncsOperMatrixList)  
- 
Constructor Details
- 
MmtfStructureReader
public MmtfStructureReader()Instantiates a new bio java structure decoder. 
 - 
 - 
Method Details
- 
getStructure
Gets the structure.- Returns:
 - the structure
 
 - 
finalizeStructure
- Specified by:
 finalizeStructurein interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
initStructure
public void initStructure(int totalNumBonds, int totalNumAtoms, int totalNumGroups, int totalNumChains, int totalNumModels, String modelId) - Specified by:
 initStructurein interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setModelInfo
- Specified by:
 setModelInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setChainInfo
- Specified by:
 setChainInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setGroupInfo
public void setGroupInfo(String groupName, int groupNumber, char insertionCode, String chemCompType, int atomCount, int bondCount, char singleLetterCode, int sequenceIndexId, int secStructType) - Specified by:
 setGroupInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setAtomInfo
public void setAtomInfo(String atomName, int serialNumber, char alternativeLocationId, float x, float y, float z, float occupancy, float temperatureFactor, String element, int charge) - Specified by:
 setAtomInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setGroupBond
- Specified by:
 setGroupBondin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setInterGroupBond
- Specified by:
 setInterGroupBondin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setXtalInfo
- Specified by:
 setXtalInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setBioAssemblyTrans
public void setBioAssemblyTrans(int bioAssemblyId, int[] inputChainIndices, double[] inputTransform, String name) - Specified by:
 setBioAssemblyTransin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setEntityInfo
- Specified by:
 setEntityInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 - 
setHeaderInfo
public void setHeaderInfo(float rFree, float rWork, float resolution, String title, String depositionDate, String releaseDate, String[] experimentalMethods) - Specified by:
 setHeaderInfoin interfaceorg.rcsb.mmtf.api.StructureAdapterInterface
 
 -