Skip to content

Commit 8b7bb81

Browse files
committed
include nextflow strict parser export
1 parent 6da399e commit 8b7bb81

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/smoke_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
version: ${{ matrix.nextflow_version }}
4040
- name: Run ${{ matrix.profile }}
4141
run: |
42+
export NXF_SYNTAX_PARSER=v2
4243
nextflow run . -profile test_base,${{ matrix.profile }},docker \
4344
${{ matrix.quantification_mode && format('--quantification_mode {0}', matrix.quantification_mode) || '' }} \
4445
${{ matrix.bam_only && '--bam_only' || '' }}

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ To run the pipeline, you must provide a samplesheet, reference genome, and refer
4444

4545
Use the command below to run the pipeline on the test data provided in `examples/`
4646
```
47+
# Required for Nextflow < 26.04
48+
export NXF_SYNTAX_PARSER=v2
49+
4750
nextflow run main.nf \
4851
--input examples/samplesheet_test_sc_fastq.csv \
4952
--genome examples/GRCh38.primary_assembly.genome.chr21.fa.gz \
@@ -244,6 +247,9 @@ Example data and pre-configured profiles are provided in `examples/` to run the
244247
| `test_custom` | Custom chemistry, single-sample ONT run from demultiplexed BAM |
245248

246249
```bash
250+
# Required for Nextflow < 26.04
251+
export NXF_SYNTAX_PARSER=v2
252+
247253
# Single-cell: test from FASTQ input
248254
nextflow run . -profile test_base,test_sc_fastq,singularity
249255

@@ -280,6 +286,9 @@ custom_example,examples/custom_example.bam,my_custom_chemistry,ONT
280286
The `--bam_only` flag stops the pipeline after genome alignment, saving BAM files to `output/bam/`. This is useful when you want to inspect the aligned reads or run downstream steps separately.
281287

282288
```bash
289+
# Required for Nextflow < 26.04
290+
export NXF_SYNTAX_PARSER=v2
291+
283292
nextflow run main.nf \
284293
--input examples/samplesheet_test_sc_fastq.csv \
285294
--genome examples/GRCh38.primary_assembly.genome.chr21.fa.gz \
@@ -298,6 +307,9 @@ sample,path,chemistry,technology
298307
```
299308

300309
```bash
310+
# Required for Nextflow < 26.04
311+
export NXF_SYNTAX_PARSER=v2
312+
301313
nextflow run main.nf \
302314
--input examples/samplesheet_test_sc_bam.csv \
303315
--genome examples/GRCh38.primary_assembly.genome.chr21.fa.gz \

0 commit comments

Comments
 (0)