public class MmtfStructure extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
CHAIN_LENGTH
The number of characters in a chain.
|
static int |
COORD_DIVIDER
The number to divide coordinate int values by.
|
static int |
OCCUPANCY_BFACTOR_DIVIDER
The number to divide occupancy and bfactor int values by.
|
static char |
UNAVAILABLE_CHAR_VALUE
The default value for a missing or null string field
|
static float |
UNAVAILABLE_R_VALUE
The default value for Rfree and Rwork
|
static float |
UNAVAILABLE_RESOLUTION_VALUE
The default value for resolution when not available or not applicable
|
static String |
VERSION
The version of MMTF
|
Constructor and Description |
---|
MmtfStructure()
Constructor to set the default values for floats
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getAltLocList()
Gets the alternate location list.
|
byte[] |
getAtomIdList()
Gets the atom id list.
|
byte[] |
getbFactorList() |
List<BioAssemblyData> |
getBioAssemblyList()
Gets the bio assembly.
|
byte[] |
getBondAtomList()
Gets the bond atom list.
|
byte[] |
getBondOrderList()
Gets the bond order list.
|
byte[] |
getChainIdList()
Gets the internal chain list.
|
byte[] |
getChainNameList()
Gets the chain names.
|
int[] |
getChainsPerModel()
Gets the number of chains per model.
|
String |
getDepositionDate() |
Entity[] |
getEntityList()
Get the entity list.
|
String[] |
getExperimentalMethods() |
byte[] |
getGroupIdList()
Gets the group num list.
|
Group[] |
getGroupList()
Gets the group map.
|
int[] |
getGroupsPerChain()
Gets the number of groups per chain.
|
byte[] |
getGroupTypeList()
Gets the group type list.
|
byte[] |
getInsCodeList()
Gets the insertion code list.
|
String |
getMmtfProducer()
Gets the mmtf producer.
|
String |
getMmtfVersion()
Gets the mmtf version.
|
double[][] |
getNcsOperatorList() |
int |
getNumAtoms()
Gets the num atoms.
|
int |
getNumBonds()
Gets the num bonds.
|
int |
getNumChains() |
int |
getNumGroups() |
int |
getNumModels() |
byte[] |
getOccupancyList()
Gets the occupancy list - an encoded per atom list of occupancy values.
|
String |
getReleaseDate() |
Float |
getResolution() |
Float |
getrFree() |
Float |
getrWork() |
byte[] |
getSecStructList()
Gets the sec struct list.
|
byte[] |
getSequenceIndexList() |
String |
getSpaceGroup()
Gets the space group.
|
String |
getStructureId()
Gets the structure id.
|
String |
getTitle()
Gets the title.
|
float[] |
getUnitCell()
Gets the unit cell.
|
byte[] |
getxCoordList() |
byte[] |
getyCoordList() |
byte[] |
getzCoordList() |
void |
setAltLocList(byte[] inputAltLocList)
Sets the alt label list.
|
void |
setAtomIdList(byte[] inputAtomIdList)
Sets the atom id list.
|
void |
setbFactorList(byte[] bFactors) |
void |
setBioAssemblyList(List<BioAssemblyData> inputBioAssembly)
Sets the bioassembly information.
|
void |
setBondAtomList(byte[] inputBondAtomList)
Sets the bond atom list.
|
void |
setBondOrderList(byte[] inputBondOrderList)
Sets the bond order list.
|
void |
setChainIdList(byte[] inputInternalChainList)
Sets the internal chain list.
|
void |
setChainNameList(byte[] inputChainList)
Sets the chain names.
|
void |
setChainsPerModel(int[] inputInternalChainsPerModel)
Sets the number of chains per model.
|
void |
setDepositionDate(String depositionDate) |
void |
setEntityList(Entity[] entityList)
Set the entity list.
|
void |
setExperimentalMethods(String[] experimentalMethods) |
void |
setGroupIdList(byte[] inputGroupNumList)
Sets the group num list.
|
void |
setGroupList(Group[] inputGroupMap)
Sets the group map.
|
void |
setGroupsPerChain(int[] inputGroupsPerChain)
Sets the number of groups in a chain.
|
void |
setGroupTypeList(byte[] resOrder)
Sets the group type list.
|
void |
setInsCodeList(byte[] inputInsertionCodeList)
Sets the ins code list.
|
void |
setMmtfProducer(String inputMmtfProducer)
Sets the mmtf producer.
|
void |
setMmtfVersion(String inputMmtfVersion)
Sets the mmtf version.
|
void |
setNcsOperatorList(double[][] ncsOperatorList) |
void |
setNumAtoms(int inputNumAtoms)
Sets the num atoms.
|
void |
setNumBonds(int inputNumBonds)
Sets the number of bonds.
|
void |
setNumChains(int numChains) |
void |
setNumGroups(int numGroups) |
void |
setNumModels(int numModels) |
void |
setOccupancyList(byte[] inputOccupancyList)
Sets the occupancy list - an encoded per atom list of occupancy values.
|
void |
setReleaseDate(String releaseDate) |
void |
setResolution(float resolution) |
void |
setrFree(float rFree) |
void |
setrWork(float rWork) |
void |
setSecStructList(byte[] secStruct)
Sets the sec struct list.
|
void |
setSequenceIndexList(byte[] seqResGroupIds) |
void |
setSpaceGroup(String inputSpaceGroup)
Sets the space group.
|
void |
setStructureId(String inputId)
Sets the structure id.
|
void |
setTitle(String inputTitle)
Sets the title.
|
void |
setUnitCell(float[] inputUnitCell)
Sets the unit cell.
|
void |
setxCoordList(byte[] xCoords) |
void |
setyCoordList(byte[] yCoords) |
void |
setzCoordList(byte[] zCoords) |
public static final int COORD_DIVIDER
public static final int OCCUPANCY_BFACTOR_DIVIDER
public static final float UNAVAILABLE_R_VALUE
public static final float UNAVAILABLE_RESOLUTION_VALUE
public static final char UNAVAILABLE_CHAR_VALUE
public static final int CHAIN_LENGTH
public static final String VERSION
public MmtfStructure()
public Float getResolution()
public void setResolution(float resolution)
resolution
- the resolution to setpublic Float getrFree()
public void setrFree(float rFree)
rFree
- the rFree to setpublic Float getrWork()
public void setrWork(float rWork)
rWork
- the rWork to setpublic String getSpaceGroup()
public void setSpaceGroup(String inputSpaceGroup)
inputSpaceGroup
- the new space grouppublic float[] getUnitCell()
public void setUnitCell(float[] inputUnitCell)
inputUnitCell
- the new unit cellpublic byte[] getGroupIdList()
public void setGroupIdList(byte[] inputGroupNumList)
inputGroupNumList
- the new group num listpublic byte[] getAltLocList()
public void setAltLocList(byte[] inputAltLocList)
inputAltLocList
- the new alternation location label listpublic List<BioAssemblyData> getBioAssemblyList()
public byte[] getChainNameList()
public void setChainNameList(byte[] inputChainList)
inputChainList
- the new chain listpublic void setBioAssemblyList(List<BioAssemblyData> inputBioAssembly)
inputBioAssembly
- the bio assemblypublic int getNumAtoms()
public void setNumAtoms(int inputNumAtoms)
inputNumAtoms
- the new num atomspublic byte[] getOccupancyList()
public void setOccupancyList(byte[] inputOccupancyList)
inputOccupancyList
- the occupancy list - an encoded per atom list of occupancy values.public byte[] getInsCodeList()
public void setInsCodeList(byte[] inputInsertionCodeList)
inputInsertionCodeList
- the new insertion code listpublic Group[] getGroupList()
public void setGroupList(Group[] inputGroupMap)
inputGroupMap
- the group mappublic byte[] getSecStructList()
public void setSecStructList(byte[] secStruct)
secStruct
- the new sec struct listpublic byte[] getGroupTypeList()
public void setGroupTypeList(byte[] resOrder)
resOrder
- the new group type listpublic byte[] getAtomIdList()
public void setAtomIdList(byte[] inputAtomIdList)
inputAtomIdList
- the new atom id listpublic String getTitle()
public void setTitle(String inputTitle)
inputTitle
- the new titlepublic String getStructureId()
public void setStructureId(String inputId)
inputId
- a unique String id of this structure.public String getMmtfProducer()
public void setMmtfProducer(String inputMmtfProducer)
inputMmtfProducer
- the new mmtf producerpublic String getMmtfVersion()
public void setMmtfVersion(String inputMmtfVersion)
inputMmtfVersion
- the new mmtf versionpublic int getNumBonds()
public void setNumBonds(int inputNumBonds)
inputNumBonds
- the new num bondspublic byte[] getBondAtomList()
public void setBondAtomList(byte[] inputBondAtomList)
inputBondAtomList
- the new bond atom listpublic byte[] getBondOrderList()
public void setBondOrderList(byte[] inputBondOrderList)
inputBondOrderList
- the new bond order listpublic int[] getChainsPerModel()
public void setChainsPerModel(int[] inputInternalChainsPerModel)
inputInternalChainsPerModel
- the new list of chains per model.public int[] getGroupsPerChain()
public void setGroupsPerChain(int[] inputGroupsPerChain)
inputGroupsPerChain
- the new internal groups per chainpublic byte[] getChainIdList()
public void setChainIdList(byte[] inputInternalChainList)
inputInternalChainList
- the new internal chain listpublic String[] getExperimentalMethods()
public void setExperimentalMethods(String[] experimentalMethods)
experimentalMethods
- the experimental methods to setpublic byte[] getSequenceIndexList()
public void setSequenceIndexList(byte[] seqResGroupIds)
seqResGroupIds
- the seqResGroupIds to setpublic Entity[] getEntityList()
public void setEntityList(Entity[] entityList)
entityList
- the input list of entities.public String getDepositionDate()
public void setDepositionDate(String depositionDate)
depositionDate
- a string indicating the deposition date to set.public String getReleaseDate()
public void setReleaseDate(String releaseDate)
releaseDate
- a string indicating the deposition date to set.public byte[] getxCoordList()
public void setxCoordList(byte[] xCoords)
xCoords
- the X coords as an encoded byte array.public byte[] getyCoordList()
public void setyCoordList(byte[] yCoords)
yCoords
- the Y coords as an encoded byte array.public byte[] getzCoordList()
public void setzCoordList(byte[] zCoords)
zCoords
- the Z coords as an encoded byte array.public byte[] getbFactorList()
public void setbFactorList(byte[] bFactors)
bFactors
- the atomic B-factors as an encoded byte array.public int getNumGroups()
public void setNumGroups(int numGroups)
numGroups
- the number of groups in the structurepublic int getNumChains()
public void setNumChains(int numChains)
numChains
- the number of chains in the structurepublic int getNumModels()
public void setNumModels(int numModels)
numModels
- the number of models in the structurepublic double[][] getNcsOperatorList()
public void setNcsOperatorList(double[][] ncsOperatorList)
ncsOperatorList
- the ncsOperMatrixList to setCopyright © 2015–2016 RCSB PDB. All rights reserved.