Skip to content

Commit d09945b

Browse files
authored
Update README.md
1 parent 721fe1b commit d09945b

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

README.md

+24-21
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Ligand-binding site prediction based on machine learning.
1616

1717
### Description
1818

19-
P2Rank is a stand-alone command-line program for the rapid and accurate prediction of ligand-binding sites from protein structures.
19+
P2Rank is a stand-alone command-line program for fast and accurate prediction of ligand-binding sites from protein structures.
2020
It achieves high prediction success rates without relying on external software for computation of complex features or on a database of known protein-ligand templates.
2121

2222
### ✨ What's new?
@@ -106,17 +106,17 @@ prank predict -c alphafold test.ds # use alphafold config and model (confi
106106

107107
### Prediction output
108108

109-
For each structure file `{struct_file}` in the dataset, P2Rank produces several output files:
110-
* `{struct_file}_predictions.csv`: contains an ordered list of predicted pockets, their scores, coordinates
111-
of their centers together with a list of adjacent residues, list of adjacent protein surface atoms, and a calibrated probability of being a ligand-binding site.
112-
* `{struct_file}_residues.csv`: contains a list of all residues from the input protein with their scores,
113-
mapping to predicted pockets, and a calibrated probability of being a ligand-binding residue.
114-
* PyMol and ChimeraX visualizations in `visualizations/` directory (`.pml` and `.cxc` scripts with data files in `data/`).
115-
* Generating visualizations can be turned off with the `-visualizations 0` parameter.
116-
* `-vis_renderers 'pymol,chimerax'` parameter can be used to turn individual visualization renderers on/off.
117-
* `-vis_copy_proteins 0` parameter can be used to turn off copying of protein structures to the visualizations directory (faster, but visualizations won't be portable).
118-
* Coordinates and ligandability scores of SAS points can be found in `visualizations/data/{struct_file}_points.pdb.gz`. Here, the "Residue sequence number" (23-26 of HETATM record)
119-
is the rank of the corresponding pocket (0 means the point doesn't belong to any pocket) and the b-factor column corresponds to the ligandability score.
109+
For each structure file `{struct_file}` in the dataset, P2Rank generates several output files:
110+
* `{struct_file}_predictions.csv`: lists **predicted pockets** in order of score, including each pocket's score, center coordinates, adjacent residues, adjacent protein surface atoms, and a calibrated probability of being a ligand-binding site.
111+
* `{struct_file}_residues.csv`: lists **all residues** from the input protein along with their scores, mapping to predicted pockets, and a calibrated probability of being a ligand-binding residue.
112+
* **PyMol and ChimeraX visualizations**: `.pml` and `.cxc` scripts in `visualizations/` directory with additional files in `data/`.
113+
* Optional settings:
114+
* Use `-visualizations 0` to disable visualization generation.
115+
* Use `-vis_renderers 'pymol,chimerax'` to toggle specific renderers on/off.
116+
* Use `-vis_copy_proteins 0` to prevent copying protein structures to the visualizations directory (faster, but visualizations won't be portable).
117+
* **SAS points data**: coordinates and ligandability scores for solvent-accessible surface (SAS) points are saved in `visualizations/data/{struct_file}_points.pdb.gz`. Here:
118+
* Residue sequence number (position 23-26 in the HETATM record) represents the pocket rank (with 0 indicating no pocket).
119+
* B-factor column indicates the ligandability score.
120120

121121

122122
### Configuration
@@ -142,13 +142,6 @@ To see the complete commented list of all (including undocumented)
142142
parameters see [Params.groovy](https://github.com/rdk/p2rank/blob/develop/src/main/groovy/cz/siret/prank/program/params/Params.groovy) in the source code.
143143

144144

145-
### Evaluate prediction model
146-
...on a file or a dataset with known ligands.
147-
148-
~~~ruby
149-
prank eval-predict -f test_data/1fbl.pdb
150-
prank eval-predict test.ds
151-
~~~
152145

153146
### Rescoring (PRANK algorithm)
154147

@@ -173,8 +166,6 @@ Rescoring output:
173166
prank rescore fpocket.ds
174167
prank rescore fpocket.ds -o output_here # explicitly specify output directory
175168
prank rescore fpocket.ds -c rescore_2024 # use new experimental rescoring model (recommended for alphafold models)
176-
177-
prank eval-rescore fpocket.ds # evaluate rescoring model on a dataset with known ligands
178169
~~~
179170

180171
For rescoring, the dataset file needs to have a specific 2-column format. See examples in `test_data/`: `fpocket.ds`, `concavity.ds`, `puresnet.ds`.
@@ -196,6 +187,18 @@ In this case, the dataset file can be a simple list of pdb/cif files since Fpock
196187
`prank fpocket-rescore` will produce `predictions.csv` as well, so it can be used as an in-place replacement for `prank predict` in most scenarios.
197188
Note: if you use `fpocket-rescore`, please cite Fpocket as well.
198189

190+
### Evaluate prediction and rescoring models
191+
192+
Use following commands to calculate prediction metrics (DCA, DCC, ...) for structures files where the ligands are present.
193+
194+
~~~ruby
195+
prank eval-predict -f test_data/1fbl.pdb # evaluate default prediction model on a single file
196+
prank eval-predict test.ds # evaluate default prediction model on a dataset with known ligands
197+
prank eval-predict -c alphafold test.ds # evaluate specific prediction model on a dataset with known ligands
198+
199+
prank eval-rescore fpocket.ds # evaluate default rescoring model on a dataset with known ligands
200+
prank eval-rescore -c rescore_2024 fpocket.ds # evaluate specific rescoring model on a dataset with known ligands
201+
~~~
199202

200203

201204
## 🏗️ Build from sources

0 commit comments

Comments
 (0)