Skip to content

Commit

Permalink
adding instructions for running workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wclose authored Jul 24, 2019
1 parent 4c5be94 commit 6ef9389
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,14 @@ conda activate clusterTutorial
```
8. Before running any jobs on the cluster, don't forget to change the `ACCOUNT` and `EMAIL` fields in the [cluster profile configuration](config/cluster.json) and the [cluster submission script](code/clusterSnakemake.pbs).

9. Run the Snakemake workflow. **Note**: If you wish to rerun the workflow after having it successfully complete, use the `--forcerun` or the `--forceall` flags or just delete the `results/` directory.
- To run it locally on the login node:
```
snakemake
```
- To run it on the cluster:
```
snakemake --profile config/pbs-torque/ --latency 20
```
See the [`conda` documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/index.html) for more information.

0 comments on commit 6ef9389

Please sign in to comment.