@@ -2,18 +2,16 @@ Command Line Interface
2
2
======================
3
3
4
4
Command line interfaces (CLI) are provided for the two most common tasks:
5
- conformer generation and fingerprinting. At the moment, using the CLI requires
6
- :ref: `downloading the E3FP source <install:Option 3: Install from source >`.
7
-
8
- In the below examples, we assume the E3FP repository is located at
9
- ``$E3FP_REPO ``.
5
+ conformer generation and fingerprinting.
6
+ When e3fp is installed, the CLI commands are available as ``e3fp-conformer `` and
7
+ ``e3fp-fingerprint ``.
10
8
11
9
Conformer Generation CLI
12
10
------------------------
13
11
14
12
To see all available options, run
15
13
16
- .. command-output :: python $E3FP_REPO/src/ e3fp/ conformer/generate.py --help
14
+ .. command-output :: e3fp- conformer --help
17
15
:shell:
18
16
19
17
We will generate conformers for the molecule whose SMILES string is defined in
@@ -26,7 +24,7 @@ The below example generates at most 3 conformers for this molecule.
26
24
27
25
.. code-block :: shell-session
28
26
29
- $ python $E3FP_REPO/src/ e3fp/ conformer/generate.py -s caffeine.smi --num_conf 3 -o ./
27
+ $ e3fp- conformer -s caffeine.smi --num_conf 3 -o ./
30
28
2017-07-17 00:11:05,743|WARNING|Only 1 processes available. 'mpi' mode not available.
31
29
2017-07-17 00:11:05,748|INFO|num_proc is not specified. 'processes' mode will use all 8 processes
32
30
2017-07-17 00:11:05,748|INFO|Parallelizer initialized with mode 'processes' and 8 processors.
@@ -54,14 +52,14 @@ Fingerprinting CLI
54
52
55
53
To see all available options, run
56
54
57
- .. command-output :: python $E3FP_REPO/src/ e3fp/ fingerprint/generate.py --help
55
+ .. command-output :: e3fp- fingerprint --help
58
56
:shell:
59
57
60
58
To continue the above example, we will fingerprint our caffeine conformers.
61
59
62
60
.. code-block :: shell-session
63
61
64
- $ python $E3FP_REPO/src/ e3fp/ fingerprint/generate.py caffeine.sdf.bz2 --bits 1024
62
+ $ e3fp- fingerprint caffeine.sdf.bz2 --bits 1024
65
63
2017-07-17 00:12:33,797|WARNING|Only 1 processes available. 'mpi' mode not available.
66
64
2017-07-17 00:12:33,801|INFO|num_proc is not specified. 'processes' mode will use all 8 processes
67
65
2017-07-17 00:12:33,801|INFO|Parallelizer initialized with mode 'processes' and 8 processors.
0 commit comments