Skip to content

Commit

Permalink
add docs for --use
Browse files Browse the repository at this point in the history
  • Loading branch information
rusalkaguy committed Feb 21, 2020
1 parent 5d1b6a9 commit 3252f90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The module contiains



SYNTAX: snakemakeslurm [--debug] [snakemake flags]
SYNTAX: snakemakeslurm [--debug] [--use] [snakemake flags]

EXAMPLE:
```
Expand All @@ -34,8 +34,10 @@ CMD: snakemake \
--error {cluster.error} --output {cluster.output} \
-p all
```
* --debug prints snakemake commandline, but does NOT invoke snakemake.
* --use adds --use-conda and/or --use-singularity if those directives are present in Snakefile

Notice:
Notes:
* it has defined (mostly 1-to-1) name mappings for SLURM attributes to keys in the cluster.json file
* it has populated "--mail-user $[email protected]"
* it has mapped rule.threads to SLURM:--cpus-per-task
Expand Down

0 comments on commit 3252f90

Please sign in to comment.