Package org.biojava.nbio.structure
Class PDBCrystallographicInfo
java.lang.Object
org.biojava.nbio.structure.PDBCrystallographicInfo
- All Implemented Interfaces:
 Serializable
A class to hold crystallographic information about a PDB structure.
- Author:
 - Peter Rose, duarte_j
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfloatgetA()floatgetAlpha()floatgetB()floatgetBeta()floatgetC()Return the crystal cellfloatgetGamma()javax.vecmath.Matrix4d[]Get the NCS operators.Get the SpaceGroupjavax.vecmath.Matrix4d[]Gets all symmetry transformation operators corresponding to this structure's space group (including the identity, at index 0) expressed in the orthonormal basis.intgetZ()Deprecated.booleanWhether this structure is non-standard coordinate frame convention, for which our scale matrix calculation and thus the crystal reconstruction will be incorrect.booleanWhether this structure has a non-standard space group not supported by Biojava.voidsetCrystalCell(CrystalCell cell) Set the crystal cellvoidsetNcsOperators(javax.vecmath.Matrix4d[] ncsOperators) Set the NCS operators.voidsetNonStandardCoordFrameConvention(boolean nonStandardCoordFrameConvention) Set the non-standard coordinate frame convention fieldvoidsetNonStandardSg(boolean nonStandardSg) Set the non-standard space group fieldvoidsetSpaceGroup(SpaceGroup spaceGroup) Set the SpaceGrouptoString() 
- 
Constructor Details
- 
PDBCrystallographicInfo
public PDBCrystallographicInfo() 
 - 
 - 
Method Details
- 
getA
public float getA()- Returns:
 - the unit cell parameter a
 
 - 
getB
public float getB()- Returns:
 - the unit cell parameter b
 
 - 
getC
public float getC()- Returns:
 - the unit cell parameter c
 
 - 
getAlpha
public float getAlpha()- Returns:
 - the unit cell parameter alpha (degrees)
 
 - 
getBeta
public float getBeta()- Returns:
 - the unit cell parameter beta (degrees)
 
 - 
getGamma
public float getGamma()- Returns:
 - the unit cell parameter gamma (degrees)
 
 - 
getCrystalCell
Return the crystal cell- Returns:
 
 - 
setCrystalCell
Set the crystal cell- Parameters:
 cell-
 - 
getSpaceGroup
Get the SpaceGroup- Returns:
 - the spaceGroup
 
 - 
setSpaceGroup
Set the SpaceGroup- Parameters:
 spaceGroup-
 - 
getZ
Deprecated.As of 4.0, useSpaceGroup.getMultiplicity()andStructure.size()Return the z, i.e. the multiplicity of the space group times the number of chains in asymmetric unit- Returns:
 - 0
 
 - 
getTransformationsOrthonormal
public javax.vecmath.Matrix4d[] getTransformationsOrthonormal()Gets all symmetry transformation operators corresponding to this structure's space group (including the identity, at index 0) expressed in the orthonormal basis. Using PDB axes convention (NCODE=1).- Returns:
 - an array of size 
SpaceGroup.getNumOperators() 
 - 
getNcsOperators
public javax.vecmath.Matrix4d[] getNcsOperators()Get the NCS operators. Some PDB files contain NCS operators necessary to create the full AU. Usually this happens for viral proteins. See http://www.wwpdb.org/documentation/format33/sect8.html#MTRIXn . Note that the "given" operators (iGiven field =1 in PDB format, "given" string in _struct_ncs_oper.code in mmCIF format) are not stored.- Returns:
 - the operators or null if no operators present
 
 - 
setNcsOperators
public void setNcsOperators(javax.vecmath.Matrix4d[] ncsOperators) Set the NCS operators. Some PDB files contain NCS operators necessary to create the full AU. Usually this happens for viral proteins. See http://www.wwpdb.org/documentation/format33/sect8.html#MTRIXn . Note that the "given" operators (iGiven field =1 in PDB format, "given" string in _struct_ncs_oper.code in mmCIF format) are not stored.- Parameters:
 ncsOperators-
 - 
isNonStandardSg
public boolean isNonStandardSg()Whether this structure has a non-standard space group not supported by Biojava. If this is truegetSpaceGroup()will be null.- Since:
 - 4.2.5
 
 - 
setNonStandardSg
public void setNonStandardSg(boolean nonStandardSg) Set the non-standard space group field- Parameters:
 nonStandardSg-- Since:
 - 4.2.5
 
 - 
isNonStandardCoordFrameConvention
public boolean isNonStandardCoordFrameConvention()Whether this structure is non-standard coordinate frame convention, for which our scale matrix calculation and thus the crystal reconstruction will be incorrect. There's ~ 200 old structures in the PDB affected by the non-standard frame problem, hopefully they will be remediated in the future. For more info see: https://github.com/eppic-team/owl/issues/4- Since:
 - 4.2.5
 
 - 
setNonStandardCoordFrameConvention
public void setNonStandardCoordFrameConvention(boolean nonStandardCoordFrameConvention) Set the non-standard coordinate frame convention field- Parameters:
 nonStandardCoordFrameConvention-- Since:
 - 4.2.5
 
 - 
toString
 
 - 
 
SpaceGroup.getMultiplicity()andStructure.size()