Skip to content

Commit 4ea867a

Browse files
authored
Merge pull request #3330 from mashehu/skip-GRCh37
Template: Remove mention of GRCh37 if igenomes is skipped
2 parents 3f85556 + 8c9888b commit 4ea867a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- Fix some typos and improve writing in `usage.md` and `CONTRIBUTING.md` ([#3302](https://github.com/nf-core/tools/pull/3302))
2323
- Add `manifest.contributors` to `nextflow.config` ([#3311](https://github.com/nf-core/tools/pull/3311))
2424
- Update template components ([#3328](https://github.com/nf-core/tools/pull/3328))
25+
- Template: Remove mention of GRCh37 if igenomes is skipped ([#3330](https://github.com/nf-core/tools/pull/3330))
2526

2627
### Download
2728

nf_core/pipeline-template/docs/usage.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ An [example samplesheet](../assets/samplesheet.csv) has been provided with the p
6161
The typical command for running the pipeline is as follows:
6262

6363
```bash
64-
nextflow run {{ name }} --input ./samplesheet.csv --outdir ./results --genome GRCh37 -profile docker
64+
nextflow run {{ name }} --input ./samplesheet.csv --outdir ./results {% if igenomes %}--genome GRCh37{% endif %} -profile docker
6565
```
6666
6767
This will launch the pipeline with the `docker` configuration profile. See below for more information about profiles.
@@ -93,7 +93,9 @@ with:
9393
```yaml title="params.yaml"
9494
input: './samplesheet.csv'
9595
outdir: './results/'
96+
{% if igenomes -%}
9697
genome: 'GRCh37'
98+
{% endif -%}
9799
<...>
98100
```
99101

0 commit comments

Comments
 (0)