Skip to content

Commit f80312a

Browse files
Fix nf-core part of Hello Nextflow
1 parent cac2362 commit f80312a

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

docs/hello_nextflow/09_hello_nf-core.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Whenever you're ready, run the command:
4949
nextflow pull nf-core/demo
5050
```
5151

52-
Nextflow will `pull` the pipeline's default GitHub branch
52+
Nextflow will `pull` the pipeline's default GitHub branch.
5353
For nf-core pipelines with a stable release, that will be the master branch.
5454
You select a specific branch with `-r`; we'll cover that later.
5555

@@ -59,7 +59,7 @@ Checking nf-core/demo ...
5959
```
6060

6161
To be clear, you can do this with any Nextflow pipeline that is appropriately set up in GitHub, not just nf-core pipelines.
62-
However nf-core is the largest open collection of Nextflow pipelines.
62+
However nf-core is the largest open curated collection of Nextflow pipelines.
6363

6464
!!!tip
6565

@@ -108,15 +108,18 @@ The `test` profile for `nf-core/demo` is shown below:
108108
----------------------------------------------------------------------------------------
109109
*/
110110
111+
process {
112+
resourceLimits = [
113+
cpus: 4,
114+
memory: '15.GB',
115+
time: '1.h'
116+
]
117+
}
118+
111119
params {
112120
config_profile_name = 'Test profile'
113121
config_profile_description = 'Minimal test dataset to check pipeline function'
114122
115-
// Limit resources so that this can run on GitHub Actions
116-
max_cpus = 2
117-
max_memory = '6.GB'
118-
max_time = '6.h'
119-
120123
// Input data
121124
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'
122125
@@ -137,11 +140,11 @@ nextflow run nf-core/demo -profile docker,test --outdir results
137140
!!! hint "Changing Nextflow version"
138141

139142
Depending on the nextflow version you have installed, this command might fail due to a version mismatch.
140-
If that happens, you can temporarily run the pipeline with a different version than you have installed by adding NXF_VER=<version> to the start of your command as shown below:
143+
If that happens, you can temporarily run the pipeline with a different version than you have installed by adding `NXF_VER=version` to the start of your command as shown below:
141144

142-
```bash
143-
NXF_VER=24.09.2-edge nextflow run nf-core/demo -profile docker,test --outdir results
144-
```
145+
```bash
146+
NXF_VER=24.09.2-edge nextflow run nf-core/demo -profile docker,test --outdir results
147+
```
145148

146149
Here's the console output from the pipeline:
147150

0 commit comments

Comments
 (0)