Skip to content

Commit

Permalink
Document passing cluster-related smk params
Browse files Browse the repository at this point in the history
  • Loading branch information
karel-brinda committed Mar 6, 2024
1 parent 1ee755e commit 503a955
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ and the <a href="https://doi.org/10.1101/2023.04.15.536996">associated paper</a>

* [1. Introduction](#1-introduction)
* [2. Dependencies](#2-dependencies)
* [2a. Essential dependencies](#2a-essential-dependencies)
* [2b. Protocol-specific dependencies](#2b-protocol-specific-dependencies)
* [2a. Essential dependencies](#2a-essential-dependencies)
* [2b. Protocol-specific dependencies](#2b-protocol-specific-dependencies)
* [3. Installation](#3-installation)
* [4. Usage](#4-usage)
* [4a. Basic example](#4a-basic-example)
* [4b. Adjusting configuration](#4b-adjusting-configuration)
* [4c. List of implemented protocols](#4c-list-of-implemented-protocols)
* [4d. List of workflow commands](#4d-list-of-workflow-commands)
* [4e. Troubleshooting](#4e-troubleshooting)
* [4a. Basic example](#4a-basic-example)
* [4b. Adjusting configuration](#4b-adjusting-configuration)
* [4c. List of implemented protocols](#4c-list-of-implemented-protocols)
* [4d. List of workflow commands](#4d-list-of-workflow-commands)
* [4e. Running on a cluster.](#4e-running-on-a-cluster)
* [4f. Troubleshooting](#4f-troubleshooting)
* [5. Citation](#5-citation)
* [6. Issues](#6-issues)
* [7. Changelog](#7-changelog)
Expand Down Expand Up @@ -286,9 +287,20 @@ Here's a list of all implemented commands (to be executed as `make {command}`):
`conda install -c conda-forge -bioconda yapf snakefmt`.


### 4e. Troubleshooting

Tests can be run by `make test`.
### 4e. Running on a cluster.

Cluster-related parameters for Snakemake can be added via the `SMK_CLUSTER_ARGS` Make variable.

Example:
```bash
make SMK_CLUSTER_ARGS="--profile my_snakemake_cluster_profile"
```


### 4f. Troubleshooting

Tests can be run by `make test` (just Protocol 1) or `make bigtest` (all the protocols).


## 5. Citation
Expand Down

0 comments on commit 503a955

Please sign in to comment.