Closed leipzig closed 2 years ago
Don't know what OS/shell you are using, but Unix shells strip the quotes, so nextflow (or the pipeline) never gets to see them, i.e it makes no difference (in this case) if you put them there. If you really want quotes to be seen by the pipeline, \'99\'
or "'99'"
should do the trick. On the other hand, if something should be read as a string and the code autodetects a number and complains, because it thinks it is smarter than you, I'd call that a bug.
@leipzig sorry for late reply.
As @tdanhorn said, it is indeed a bug which is fixed on the current dev
.
@leipzig can you try that: --vep_cache_version \"99\"
Hm I think there is still something :fish: going on with the vep_cache_version number:
ERROR: Validation of pipeline parameters failed!
* --vep_cache_version: expected type: Number, found: String (104)
when running:
nextflow run nf-core/sarek -r dev -profile cfc \
--input samplesheet.csv \
--outdir ./results \
--genome GATK.GRCh38 \
--aligner bwa-mem2 \
--bwa false \
--save_reference \
-resume
Dev version: 5d0a0b9755
Edit: tried also --vep_cache_version \"104\"
, same thing
Edit2: --vep_cache_version 104
works with no quotes. So something in the igenomes.config not quite right yet
So the issue with igenomes has been fixed.
Afraid there's nothing we can do at the moment params from the command line, except using --schema_ignore_params
and said params to avoid validation from the schema.
Closing the issue for now.
Check Documentation
I have checked the following places for your error:
Description of the bug
* --vep_cache_version: expected type: String, found: Integer (99)
Steps to reproduce
Steps to reproduce the behaviour:
Expected behaviour
not treat
vep_cache_version
as numeric when it is quotedLog files
System
Nextflow Installation
Container engine
Additional context
there is no type of quote that will solve this to my knowledge