Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save trimmed parameter saying 'false' is not a valid choice #128

Closed
rvijay-seqcoast opened this issue Apr 22, 2024 · 2 comments
Closed

Save trimmed parameter saying 'false' is not a valid choice #128

rvijay-seqcoast opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rvijay-seqcoast
Copy link

Description of the bug

I am running into an issue with the --save_trimmed_fail setting when running the bacass pipeline. It indicates that 'false' is not a valid choice, but it also indicates that 'true' or 'false' are the only valid arguments for this setting.

Command used and terminal output

nextflow run https://github.com/nf-core/bacass \
		 -name bacass-test-2 \
		 -params-file https://api.cloud.seqera.io/ephemeral/Mn6cNSXHpkJNUK5IW3P4HQ.json \
		 -with-tower \
		 -r 2.2.0 \
		 -profile docker


  workDir        : /seqcoast-aws/scratch/1kcilKqDAJaXkO
  projectDir     : /.nextflow/assets/nf-core/bacass
  userName       : root
  profile        : docker
  configFiles    :
Input/output options
  input          : https://raw.githubusercontent.com/nf-core/test-datasets/bacass/bacass_hybrid.tsv
  outdir         : s3://seqcoast-aws
Assembly parameters
  assembly_type  : hybrid
  canu_mode      : -nanopore
Annotation
  dfast_config   : /.nextflow/assets/nf-core/bacass/assets/test_config_dfast.py
Skipping Options
  skip_kraken2   : true
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
If you use nf-core/bacass for your analysis please cite:
* The pipeline
  10.5281/zenodo.2669428
* The nf-core framework
  https://doi.org/10.1038/s41587-020-0439-x
* Software dependencies
  https://github.com/nf-core/bacass/blob/master/CITATIONS.md
------------------------------------------------------
ERROR ~ ERROR: Validation of pipeline parameters failed!
-- Check 'nf-1kcilKqDAJaXkO.log' file for details
The following invalid input values have been detected:
* --save_trimmed_fail: 'false' is not a valid choice (Available choices: true, false)
-- Check script '.nextflow/assets/nf-core/bacass/./workflows/../subworkflows/local/utils_nfcore_bacass_pipeline/../../nf-core/utils_nfvalidation_plugin/main.nf' at line: 57 or see 'nf-1kcilKqDAJaXkO.log' file for more details

Relevant files

No response

System information

  • Nextflow version: 23.10.1
  • Hardware: AWS
  • Executor: awsbatch
  • Container engine: Docker
  • OS: Linux
  • Version of nf-core/bacass: 2.2.0
@rvijay-seqcoast rvijay-seqcoast added the bug Something isn't working label Apr 22, 2024
@Daniel-VM Daniel-VM self-assigned this Apr 23, 2024
@Daniel-VM
Copy link
Contributor

Daniel-VM commented Apr 24, 2024

Hi @rvijay-seqcoast!, this issue is already fixed in dev (see #125 ). Incoming release will have this fix available in a tagged version (future 2.3.0).

In the mean time you can try -r dev:

nextflow run https://github.com/nf-core/bacass  \
    -name bacass-test-2 \
    -params-file https://api.cloud.seqera.io/ephemeral/Mn6cNSXHpkJNUK5IW3P4HQ.json \
    -with-tower \
    -r dev \
    -profile docker

Hope this help. Let me know if that works 😃

@Daniel-VM
Copy link
Contributor

clossing this. re-open it if the issue persist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants