Nf-core training

Hello!

I’m currently following the training material of the “Hello nf-core” training. In part 2 I’m trying to run the pipeline with the test profile. However for some reason I keep getting an error, and I can’t figure out why.

training/hello-nf-core → nextflow run core-hello --outdir core-hello-results -profile test,docker --validate_params false
Nextflow 25.10.4 is available - Please consider updating your version to it

N E X T F L O W   ~  version 25.10.2

Launching core-hello/main.nf [ridiculous_boyd] DSL2 - revision: b9e9b3b8de

WARN: Unrecognized config option ‘validation.defaultIgnoreParams’
WARN: Unrecognized config option ‘validation.monochromeLogs’
Input/output options
outdir             : core-hello-results

Generic options
validate_params    : false
trace_report_suffix: 2026-02-12_13-19-37

Core Nextflow options
runName            : ridiculous_boyd
containerEngine    : docker
launchDir          : /workspaces/training/hello-nf-core
workDir            : /workspaces/training/hello-nf-core/work
projectDir         : /workspaces/training/hello-nf-core/core-hello
userName           : root
profile            : test,docker
configFiles        : /workspaces/training/hello-nf-core/core-hello/nextflow.config

!! Only displaying parameters that differ from the pipeline defaults !!

ERROR ~ Validation of pipeline parameters failed!

– Check ‘.nextflow.log’ file for details
The following invalid input values have been detected:

Missing required parameter(s): input

–validate_params (false): Value is [string] but should be [boolean]

Can somebody please help me fix this? Thanks!

1 Like

Hi @emma , can you specify exactly which exercise you are on?

Please confirm that you have done the environment setup steps to do with the Nextflow version: Getting started - training.nextflow.io

Specifically, this:

export NXF_SYNTAX_PARSER=v1

I think that this should solve the error. See the link above for more details. These problems are already fixed in Nextflow dev, so should be solved in the next stable release :slight_smile:

Phil

Hi!

This works, thank you!!

1 Like

Hi, when im trying to run the demo pipeline on local computer, it shows errors like this:

Is this because of failing to link with URL ?

Hi @Rachel , can you clarify if you are trying to run this without an active internet connection?

i have an active internet connection (and also VPN on)

Ok, then I’m not sure why this isn’t working for you. Can you confirm that you’ve run export NXF_SYNTAX_PARSER=v1 and your version of Nextflow is 25.10.2 or later?

Yes, ive set up the environment.

After i read the error

ERROR ~ Validation of pipeline parameters failed!

– Check ‘.nextflow.log’ file for details
The following invalid input values have been detected:

* --input (/home/rechal2026/.nextflow/assets/nf-core/demo/assets/samplesheet.csv): Validation of file failed:
→ Entry 1: Error for field ‘fastq_2’ (/path/to/fastq/files/AEG588A1_S1_L002_R2_001.fastq.gz): the file or directory ‘/path/to/fastq/files/AEG588A1_S1_L002_R2_001.fastq.gz’ does not exist (FastQ file for reads 2 cannot contain spaces and must have extension ‘.fq.gz’ or ‘.fastq.gz’)
→ Entry 1: Error for field ‘fastq_1’ (/path/to/fastq/files/AEG588A1_S1_L002_R1_001.fastq.gz): the file or directory ‘/path/to/fastq/files/AEG588A1_S1_L002_R1_001.fastq.gz’ does not exist (FastQ file for reads 1 must be provided, cannot contain spaces and must have extension ‘.fq.gz’ or ‘.fastq.gz’)
→ Entry 2: Error for field ‘fastq_1’ (/path/to/fastq/files/AEG588A4_S4_L003_R1_001.fastq.gz): the file or directory ‘/path/to/fastq/files/AEG588A4_S4_L003_R1_001.fastq.gz’ does not exist (FastQ file for reads 1 must be provided, cannot contain spaces and must have extension ‘.fq.gz’ or ‘.fastq.gz’)

i realize that maybe the path “assets/samplesheet.csv” is not real. But then why it can work on CI, but cannot work on local?:thinking:

Did you change the input to the pipeline to use that? As noted in the training lesson here, “An example samplesheet is also provided under the assets directory, although the paths in this one are not real.”

That file is just given as an example of how the samplesheet should be formatted.

Have you tried using `–input https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv` directly in your command?

Yes.

But when i open this link https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv`, it shows 404 not found.

when i run “nextflow run check_url.nf”

it shows: Launching check_url.nf [furious_kirch] DSL2 - revision: 8ba99a01c0

SUCCESS: samplesheet_test_illumina_amplicon.csv
:~/pipelines/nf-core/demo$ nextflow run nf-core/demo
–input https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv
–outdir demo-results

maybe the link of the fastq files are fake?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.