I am getting this error which does not make sense ...
# rnaseq
v
I am getting this error which does not make sense because as you can see it is all in the params file:
Copy code
WARN: The following invalid input values have been detected:

* --custom_config_base: https://raw.githubusercontent.com/nf-core/configs/master
* --kallisto_quant_fraglen_sd: 200
* --featurecounts_feature_type: exon
* --ribo_database_manifest: /home/bioinformatics/.nextflow/assets/nf-core/rnaseq/workflows/rnaseq/assets/rrna-db-defaults.txt
* --extra_fqlint_args: --disable-validator P001
* --aligner: star_salmon
* --custom_config_version: master
* --featurecounts_group_type: gene_biotype
* --hisat2_build_memory: 200.GB
* --skip_preseq: true
* --umi_dedup_tool: umitools
* --gtf_extra_attributes: gene_name
* --max_multiqc_email_size: 25.MB
* --bracken_precision: S
* --min_trimmed_reads: 10000
* --pseudo_aligner_kmer_size: 31
* --deseq2_vst: true
* --umitools_extract_method: string
* --validate_params: true
* --min_mapped_reads: 5
* --rseqc_modules: bam_stat,inner_distance,infer_experiment,junction_annotation,junction_saturation,read_distribution,read_duplication
* --gtf_group_features: gene_id
* --kallisto_quant_fraglen: 200
* --paramsFile: params.yaml
* --trimmer: trimgalore
* --skip_bbsplit: true
* --publish_dir_mode: copy
* --pipelines_testdata_base_path: https://raw.githubusercontent.com/nf-core/test-datasets/7f1614baeb0ddf66e60be78c3d9fa55440465ac8/
* --stranded_threshold: 0.8
* --igenomes_base: s3://ngi-igenomes/igenomes/
* --trace_report_suffix: 2025-08-20_10-35-01
* --unstranded_threshold: 0.1
* --umitools_grouping_method: directional


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, outdir
Here is my params.yaml file
Copy code
input: './samplesheet.csv'
outdir: './results/'
skip_pseudo_alignment: true
skip_deseq2_qc: true
fasta: '/home/bioinformatics/genomes/GCF_000001405.40/GCF_000001405.40_GRCh38.p14_genomic.fna'
gtf: '/home/bioinformatics/genomes/GCF_000001405.40/genomic.gtf'
transcript_fasta: '/home/bioinformatics/genomes/GCF_000001405.40/rna.fna'
remove_ribo_rna: true
ribo_database_manifest: '/media/datastore/databases/rRNA_databases_v4/fastafiles.txt'
extra_star_align_args: '--chimOutType WithinBAM --chimJunctionOverhangMin 10 --alignSJDBoverhangMin 10 --alignMatesGapMax 100000 --alignIntronMax 100000'
And here is the command:
Copy code
nextflow run nf-core/rnaseq -r 3.20.0 -profile singularity --params-file params.yaml
And as a sanity check to ensure I am editing the params file that I specify, I ran this from where I run the nextflow command:
Copy code
$ cat params.yaml
input: './samplesheet.csv'
outdir: './results/'
skip_pseudo_alignment: true
skip_deseq2_qc: true
fasta: '/home/bioinformatics/genomes/GCF_000001405.40/GCF_000001405.40_GRCh38.p14_genomic.fna'
gtf: '/home/bioinformatics/genomes/GCF_000001405.40/genomic.gtf'
transcript_fasta: '/home/bioinformatics/genomes/GCF_000001405.40/rna.fna'
remove_ribo_rna: true
ribo_database_manifest: '/media/datastore/databases/rRNA_databases_v4/fastafiles.txt'
extra_star_align_args: '--chimOutType WithinBAM --chimJunctionOverhangMin 10 --alignSJDBoverhangMin 10 --alignMatesGapMax 100000 --alignIntronMax 100000'
p
nextflow run nf-core/rnaseq -r 3.20.0 -profile singularity --params-file params.yaml
nextflow uses single dashes for its arguments (and double dashes goes to params) so here you set
params.params-file=params.yaml
rather than telling nextflow to pick up parameters from
params.yaml
.
party this 1
v
Yeah... I omitted a dash and it is running now. Not the first time I have made that mistake. Thanks!
m
you're not the only one
You can notice this in the WARNING:
Copy code
--paramsFile: params.yaml
But hard to miss indeed, I'm wondering if we should try to protect all nextflow options in the schema to avoid this kind of things, cc @Nicolas Vannieuwkerke
(or at least warn better)
n
This should normally get picked up by the plugin and show an error in that case, I'm wondering why it's not doing that here
v
Very easy to miss, since it was in the middle of a long list of yellow warnings.
n
Can you make an issue for that? I'll take a look when I find some time 😛
v
Sure, I'll try
🎉 1
n
thank you! Could also repost it in the nf-schema repository?
v
Sure
n
Thanks!