Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hgarrereyn committed Jan 6, 2021
1 parent 1e9600f commit 1929c57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,25 @@

Utility script to generate fingerprints for a set of smiles strings. By precomputing the fingerprints for all the fragments in our dataset, we can speed up training.

To use, pass in the `fragments.h5` file created by the `process_pdbbind.py` script and specify the fingerprint type and output path.
To use, pass in the `moad.h5` file and specify the fingerprint type and output path.

Supported fingerprints:
- `rdk`: RDKFingerprint (2048 bits)
- `rdk10`: RDKFingerprint (path size 10) (2048 bits)
- `morgan`: Mogan fingerprint (r=2) (2048 bits)
- `gobbi2d`: Gobbi 2d pharmophocore fingerprint (folded to 2048 bits)

Usage:

```
usage: make_fingerprints.py [-h] -f FRAGMENTS -fp {rdk,morgan,gobbi2d}
usage: make_fingerprints.py [-h] -f FRAGMENTS -fp {rdk,rdk10,morgan,gobbi2d}
[-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-f FRAGMENTS, --fragments FRAGMENTS
Path to fragemnts.h5 containing "frag_smiles" array
-fp {rdk,morgan,gobbi2d}, --fingerprint {rdk,morgan,gobbi2d}
-fp {rdk,rdk10,morgan,gobbi2d}, --fingerprint {rdk,rdk10,morgan,gobbi2d}
Which fingerprint type to generate
-o OUTPUT, --output OUTPUT
Output file path (.h5)
Expand Down

0 comments on commit 1929c57

Please sign in to comment.