|
a |
|
b/docs/usage/cli.md |
|
|
1 |
# Command-line interface |
|
|
2 |
|
|
|
3 |
## HippUnfold Command-line interface |
|
|
4 |
|
|
|
5 |
The following can also be seen by entering ``hippunfold -h`` into your terminal. |
|
|
6 |
|
|
|
7 |
These are all the required and optional arguments HippUnfold accepts in order to run flexibly on many different input data types and with many options, but in most cases only the required arguments are needed. |
|
|
8 |
|
|
|
9 |
|
|
|
10 |
```{argparse} |
|
|
11 |
--- |
|
|
12 |
filename: ../hippunfold/run.py |
|
|
13 |
func: get_parser |
|
|
14 |
prog: hippunfold |
|
|
15 |
--- |
|
|
16 |
``` |
|
|
17 |
|
|
|
18 |
## Snakemake command-line interface |
|
|
19 |
|
|
|
20 |
In addition to the above command-line arguments, Snakemake arguments are also be passed at the `hippunfold` command-line. |
|
|
21 |
|
|
|
22 |
The most critical of these is the `--cores` or `-c` argument, which is a **required** argument for HippUnfold. |
|
|
23 |
|
|
|
24 |
The complete list of [Snakemake](https://snakemake.readthedocs.io/en/stable/) arguments are below, and mostly act to determine your environment and App behaviours. They will likely only need to be used for running in cloud environments or troubleshooting. These can be listed from the command-line with `hippunfold --help-snakemake`. |
|
|
25 |
|
|
|
26 |
```{argparse} |
|
|
27 |
--- |
|
|
28 |
module: snakemake |
|
|
29 |
func: get_argument_parser |
|
|
30 |
prog: snakemake |
|
|
31 |
--- |
|
|
32 |
``` |
|
|
33 |
|
|
|
34 |
|