Skip to content

Commit 6f7a6e7

Browse files
committed
update documentation
1 parent e748a58 commit 6f7a6e7

File tree

1 file changed

+62
-27
lines changed

1 file changed

+62
-27
lines changed

README.md

Lines changed: 62 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PRODIGY / Binding Affinity Prediction
1+
# PRODIGY / Binding Affinity Prediction
22

33
![PyPI - Downloads](https://img.shields.io/pypi/dm/prodigy-prot)
44
![PyPI - Version](https://img.shields.io/pypi/v/prodigy-prot)
@@ -12,7 +12,7 @@
1212
[![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F-green)](https://fair-software.eu)
1313
[![SQAaaS badge shields.io](https://img.shields.io/badge/sqaaas%20software-gold-yellow)](https://api.eu.badgr.io/public/assertions/w8HcpcH4Svi3-UZ93LHHMA "SQAaaS gold badge achieved")
1414

15-
* * *
15+
---
1616

1717
PRODIGY is also available as a web service @ [wenmr.science.uu.nl/prodigy](https://wenmr.science.uu.nl/prodigy/)
1818

@@ -26,26 +26,38 @@ If you want to develop PRODIGY, check [DEVELOPMENT](DEVELOPMENT.md) for more det
2626

2727
## Usage
2828

29+
You can run `prodigy` either on a single structure:
30+
2931
```bash
30-
prodigy <pdb file> [--selection <chain1><chain2>]
32+
prodigy <structure_file>
33+
```
34+
35+
Or in a directory containing multiple molecules:
36+
37+
```bash
38+
prodigy <directory_with_molecules>
39+
```
40+
41+
```
42+
3143
```
3244

3345
To get a list of all the possible options.
3446

3547
```bash
36-
$ prodigy --help
37-
usage: prodigy [-h] [--distance-cutoff DISTANCE_CUTOFF] [--acc-threshold ACC_THRESHOLD] [--temperature TEMPERATURE]
38-
[--contact_list] [--pymol_selection] [-q] [-V] [--selection A B [A,B C ...]]
39-
structf
4048

41-
Binding affinity predictor based on Intermolecular Contacts (ICs).
49+
$ prodigy -h
50+
usage: prodigy [-h] [--distance-cutoff DISTANCE_CUTOFF] [--acc-threshold ACC_THRESHOLD]
51+
[--temperature TEMPERATURE] [--contact_list] [--pymol_selection] [-q]
52+
[--selection A B [A,B C ...]]
53+
input_path
4254

43-
Anna Vangone and Alexandre M.J.J. Bonvin,
44-
Contacts-based prediction of binding affinity in protein-protein complexes.
45-
eLife (2015)
55+
Binding affinity predictor based on Intermolecular Contacts (ICs).
4656

4757
positional arguments:
48-
structf Structure to analyse in PDB or mmCIF format
58+
input_path Path to either:
59+
- Structure in PDB or mmCIF format
60+
- Directory containing structure files
4961

5062
options:
5163
-h, --help show this help message and exit
@@ -58,30 +70,28 @@ options:
5870
--contact_list Output a list of contacts
5971
--pymol_selection Output a script to highlight the interface (pymol)
6072
-q, --quiet Outputs only the predicted affinity value
61-
-V, --version Print the version and exit.
6273

6374
Selection Options:
6475

65-
By default, all intermolecular contacts are taken into consideration,
66-
a molecule being defined as an isolated group of amino acids sharing
67-
a common chain identifier. In specific cases, for example
68-
antibody-antigen complexes, some chains should be considered as a
69-
single molecule.
70-
71-
Use the --selection option to provide collections of chains that should
72-
be considered for the calculation. Separate by a space the chains that
73-
are to be considered _different_ molecules. Use commas to include multiple
74-
chains as part of a single group:
76+
By default, all intermolecular contacts are taken into consideration,
77+
a molecule being defined as an isolated group of amino acids sharing
78+
a common chain identifier. In specific cases, for example
79+
antibody-antigen complexes, some chains should be considered as a
80+
single molecule.
7581

76-
--selection A B => Contacts calculated (only) between chains A and B.
77-
--selection A,B C => Contacts calculated (only) between chains A and C; and B and C.
78-
--selection A B C => Contacts calculated (only) between chains A and B; B and C; and A and C.
82+
Use the --selection option to provide collections of chains that should
83+
be considered for the calculation. Separate by a space the chains that
84+
are to be considered _different_ molecules. Use commas to include multiple
85+
chains as part of a single group:
7986

87+
--selection A B => Contacts calculated (only) between chains A and B.
88+
--selection A,B C => Contacts calculated (only) between chains A and C; and B and C.
89+
--selection A B C => Contacts calculated (only) between chains A and B; B and C; and A and C.
8090

8191
--selection A B [A,B C ...]
8292
```
8393
84-
## Example
94+
## Example single structure
8595
8696
Download the PDB [3BZD](https://www.rcsb.org/structure/3bzd) and run PRODIGY on it.
8797
@@ -105,6 +115,31 @@ $ prodigy 3bzd.pdb
105115
106116
Details of the binding affinity predictor implemented in PRODIGY can be found at [10.7554/elife.07454](https://doi.org/10.7554/elife.07454)
107117
118+
## Example multiple structures
119+
120+
Create a directory that will hold your input molecules
121+
122+
```bash
123+
mkdir input
124+
```
125+
126+
Download some molecules, or copy then in this directory:
127+
128+
```text
129+
curl -o input/3bzd.pdb https://files.rcsb.org/download/3BZD.pdb
130+
curl -o input/2oob.pdb https://files.rcsb.org/download/2OOB.pdb
131+
curl -o input/1ppe.pdb https://files.rcsb.org/download/1PPE.pdb
132+
```
133+
134+
Run `prodigy` with the `quiet` option, so it is easier to parse the output later:
135+
136+
```bash
137+
$ prodigy -q input/
138+
3bzd -9.373
139+
2oob -6.230
140+
1ppe -14.727
141+
```
142+
108143
## Citing us
109144
110145
If our tool is useful to you, please cite PRODIGY in your publications:

0 commit comments

Comments
 (0)