Package org.openscience.cdk.protein
Class ProteinPocketFinder
java.lang.Object
org.openscience.cdk.protein.ProteinPocketFinder
The detection of pocket and cavities in a bioPolymer is done similar to the program
LIGSITE [Hendlich, M. et. al.. Journal of Molecular Graphics and Modelling. 1997. 15].
TODO: Optimisation of the cubic grid placement
- Author:
- cho
- Keywords:
- protein, pocket
- Created on:
- 2005-09-30
-
Constructor Summary
ConstructorsConstructorDescriptionProteinPocketFinder(String biopolymerFile, boolean cubicGrid) ProteinPocketFinder(String biopolymerFile, double[][][] grid) ProteinPocketFinder(String biopolymerFile, double latticeConstant, boolean cubicGrid) ProteinPocketFinder(IBioPolymer protein, double[][][] grid) -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod assigns the atoms of a biopolymer to the grid.voidMethod which assigns van der Waals radii to the biopolymer default org/openscience/cdk/config/data/pdb_atomtypes.xml stored in the variable String vanDerWaalsFile.voidaxisScanX(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!voidaxisScanY(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!voidaxisScanZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!List<javax.vecmath.Point3d>clusterPSPPocket(javax.vecmath.Point3d root, List<javax.vecmath.Point3d> subPocket, int[] dim) Method performs the clustering, is called by findPockets().voidMethod creates a cubic grid with the grid generator class.voidvoiddiagonalAxisScanXYZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!voiddiagonalAxisScanXZY(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!voiddiagonalAxisScanYXZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!voiddiagonalAxisScanYZX(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!double[]Method determines the minimum and maximum values of a coordinate space up to 3D space.double[][][]getGrid()doubledoubleintintintintdoublegetRAtom()doubleintvoidgridToPmesh(String outPutFileName) Method writes the grid to pmesh format.voidproteinGridToPmesh(String outPutFileName) Method writes the protein grid points to pmesh format.voidpspGridToPmesh(String outPutFileName) Method writes the PSP points (≥minPSPocket) to pmesh format.voidsetAtomCheckRadius(double atomCheckRadius) voidsetGrid(double[][][] grid) voidsetLatticeConstant(double latticeConstant) voidsetLinkageRadius(double linkageRadius) voidsetMinPSCluster(int minPSCluster) voidsetMinPSPocket(int minPSPocket) voidsetPocketSize(int pocketSize) voidsetProtein(IBioPolymer protein) voidsetProteinInterior(int proteinInterior) voidsetRAtom(double atom) voidsetRSolvent(double solvent) voidsetSolvantValue(int solvantValue) voidsetVanDerWaalsFile(String vanDerWaalsFile) voidMain method which calls the methods: assignProteinToGrid, GridScan, and FindPockets.voidwritePocketsToPMesh(String outPutFileName) Method writes the pockets to pmesh format.
-
Constructor Details
-
ProteinPocketFinder
- Parameters:
biopolymerFile- The file name containing the proteincubicGrid- if true generate the grid
-
ProteinPocketFinder
-
ProteinPocketFinder
-
ProteinPocketFinder
-
-
Method Details
-
findGridBoundaries
public double[] findGridBoundaries()Method determines the minimum and maximum values of a coordinate space up to 3D space.- Returns:
- double[] stores min,max,min,max,min,max
-
createCubicGrid
public void createCubicGrid()Method creates a cubic grid with the grid generator class. -
assignProteinToGrid
Method assigns the atoms of a biopolymer to the grid. For every atom the corresponding grid point is identified and set to the value of the proteinInterior variable. The atom radius and solvent radius is accounted for with the variables: double rAtom, and double rSolvent.- Throws:
Exception
-
debuggCheckPSPEvent
public void debuggCheckPSPEvent() -
sitefinder
public void sitefinder()Main method which calls the methods: assignProteinToGrid, GridScan, and FindPockets. -
clusterPSPPocket
public List<javax.vecmath.Point3d> clusterPSPPocket(javax.vecmath.Point3d root, List<javax.vecmath.Point3d> subPocket, int[] dim) Method performs the clustering, is called by findPockets(). -
diagonalAxisScanXZY
public void diagonalAxisScanXZY(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
diagonalAxisScanYZX
public void diagonalAxisScanYZX(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
diagonalAxisScanYXZ
public void diagonalAxisScanYXZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
diagonalAxisScanXYZ
public void diagonalAxisScanXYZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
axisScanX
public void axisScanX(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
axisScanY
public void axisScanY(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
axisScanZ
public void axisScanZ(int dimK, int dimL, int dimM) Method performs a scan; works only for cubic grids!- Parameters:
dimK- first dimensiondimL- second dimensiondimM- third dimension
-
assignVdWRadiiToProtein
public void assignVdWRadiiToProtein()Method which assigns van der Waals radii to the biopolymer default org/openscience/cdk/config/data/pdb_atomtypes.xml stored in the variable String vanDerWaalsFile. -
gridToPmesh
Method writes the grid to pmesh format. -
pspGridToPmesh
Method writes the PSP points (≥minPSPocket) to pmesh format. -
proteinGridToPmesh
Method writes the protein grid points to pmesh format. -
writePocketsToPMesh
Method writes the pockets to pmesh format. -
getGrid
public double[][][] getGrid()- Returns:
- Returns the grid.
-
setGrid
public void setGrid(double[][][] grid) - Parameters:
grid- The grid to set.
-
getLatticeConstant
public double getLatticeConstant()- Returns:
- Returns the latticeConstant.
-
setLatticeConstant
public void setLatticeConstant(double latticeConstant) - Parameters:
latticeConstant- The latticeConstant to set.
-
getLinkageRadius
public double getLinkageRadius()- Returns:
- Returns the linkageRadius.
-
setLinkageRadius
public void setLinkageRadius(double linkageRadius) - Parameters:
linkageRadius- The linkageRadius to set.
-
getMinPSCluster
public int getMinPSCluster()- Returns:
- Returns the minPSCluster.
-
setMinPSCluster
public void setMinPSCluster(int minPSCluster) - Parameters:
minPSCluster- The minPSCluster to set.
-
getMinPSPocket
public int getMinPSPocket()- Returns:
- Returns the minPSPocket.
-
setMinPSPocket
public void setMinPSPocket(int minPSPocket) - Parameters:
minPSPocket- The minPSPocket to set.
-
getPocketSize
public int getPocketSize()- Returns:
- Returns the pocketSize.
-
setPocketSize
public void setPocketSize(int pocketSize) - Parameters:
pocketSize- The pocketSize to set.
-
getProtein
- Returns:
- Returns the protein.
-
setProtein
- Parameters:
protein- The protein to set.
-
getProteinInterior
public int getProteinInterior()- Returns:
- Returns the proteinInterior.
-
setProteinInterior
public void setProteinInterior(int proteinInterior) - Parameters:
proteinInterior- The proteinInterior to set.
-
getRAtom
public double getRAtom()- Returns:
- Returns the rAtom.
-
setRAtom
public void setRAtom(double atom) - Parameters:
atom- The rAtom to set.
-
getRSolvent
public double getRSolvent()- Returns:
- Returns the rSolvent.
-
setRSolvent
public void setRSolvent(double solvent) - Parameters:
solvent- The rSolvent to set.
-
getSolvantValue
public int getSolvantValue()- Returns:
- Returns the solvantValue.
-
setSolvantValue
public void setSolvantValue(int solvantValue) - Parameters:
solvantValue- The solvantValue to set.
-
getVanDerWaalsFile
- Returns:
- Returns the vanDerWaalsFile.
-
setVanDerWaalsFile
- Parameters:
vanDerWaalsFile- The vanDerWaalsFile to set.
-
getPockets
- Returns:
- Returns the pockets.
-
setAtomCheckRadius
public void setAtomCheckRadius(double atomCheckRadius) - Parameters:
atomCheckRadius- The atomCheckRadius to set.
-