For each aligned receptor to be analyzed (protein.pdb in this case), the previously generated volume-grid file (points.pdb) is loaded, and points near protein atoms are systematically deleted. Here is an example of a POVME input file (measure_pocket.ini) to accomplish this:
PDBFileName protein.pdb
LoadPointsFilename points.pdb
Padding 1.09
GridSpacing 2.0
(Note that the particular region selected here is given for didactic purposes only. In fact, it is not well suited for the chosen protein binding site, protein.pdb, because it does not fully encompass the binding pocket and extends beyond the boundaries of the protein.)
The Padding variable is set to 1.09 because that is the radius of a hydrogen atom. Basically, we will be measuring the volume of the binding site that can be occupied by hydrogen atoms.
To obtain the volume of the pocket, simply run POVME with the specified input file:
python POVME.py measure_pocket.ini > pocket.pdb
If you open the file pocket.pdb in a text editor, you'll see that the volume is given in the header:
REMARK PDBFileName = protein.pdb
REMARK LoadPointsFileName = points.pdb
REMARK padding = 1.09
REMARK Volume = 32.25 Cubic Angtroms
REMARK Execution time = 5.87918996811 sec
ATOM 1 X X X 1 60.000 22.000 60.000 1.00 0.00
ATOM 1 X X X 1 62.000 24.000 62.000 1.00 0.00
ATOM 1 X X X 1 62.000 36.000 64.000 1.00 0.00
ATOM 1 X X X 1 64.000 34.000 66.000 1.00 0.00
ATOM 1 X X X 1 64.000 36.000 66.000 1.00 0.00
...
Note that if the following line is included in the input file:
OutputReceptor yes
the output file (pocket.pdb) will also contain the protein atoms immediately adjact to the binding pocket, in addition to including the points occupying the volume of the binding site.