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

Remove hyphens from pipeline names in Nextflow workflows #3365

Open
adamrtalbot opened this issue Dec 18, 2024 · 1 comment
Open

Remove hyphens from pipeline names in Nextflow workflows #3365

adamrtalbot opened this issue Dec 18, 2024 · 1 comment

Comments

@adamrtalbot
Copy link
Contributor

Description of feature

There's a common convention outside of nf-core to call your pipeline nf-${thing}, but in doing this we add a hyphen which is an invalid Nextflow workflow name.

It's an easy fix shortly after creation to remove the hyphen, but we can replace all hyphens with strings while creating the subworkflow names.

@adamrtalbot
Copy link
Contributor Author

We could also reduce the number of workflows so this only affects one workflow in total, but this is a bigger issue.

I.e. the hierarchy would be from:

  1. anonymous workflow (main.nf)
  2. NF_CORE_PIPELINE_NAME (main.nf)
  3. PIPELINE_NAME (workflows/main.nf)

To:

  1. anonymous workflow (main.nf)
  2. PIPELINE_NAME (workflows/main.nf)

Cut out the middle man workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant