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

Multiple nextflow scripts in a single repository #621

Closed
ewels opened this issue Feb 22, 2018 · 3 comments
Closed

Multiple nextflow scripts in a single repository #621

ewels opened this issue Feb 22, 2018 · 3 comments
Milestone

Comments

@ewels
Copy link
Member

ewels commented Feb 22, 2018

Note about finding a nice way to deal with having multiple nextflow scripts in a single GitHub repository, sharing a single config setup.

Reasons for doing this:

  • Keeps everything together in one place
    • A single name, URL
    • Simple versioning (GitHub releases)
  • Shared configuration profiles can be used across sub-pipelines
  • Splitting up into multiple scripts keeps distinct functionalities separate
    • eg. using different sets of tools to process the same data type, as in NGI-MethylSeq
    • eg. massive pipelines made up of a handful of stages, as in Sarek (formerly CAW)

This generally works pretty well, simply defining the repo and the script name when running the pipeline. However, the shared configs need to define all processes, and Nextflow now generates a tonne of warning messages about processes that are configured but not part of the pipeline script.

There's also the question of how to manage and string such scripts together. Some approaches are already discussed by @skptic here. We're also thinking about writing a simple Python package tool that could manage things, read and write configs, build long nextflow launch commands and string multiple nextflow pipelines together.

Pinging @maxulysse and @boulund as we've discussed similar questions previously internally.

@pditommaso
Copy link
Member

The warning has been introduced because it's quite easy to have typo in a process name in the config file which can badly effect a pipeline run without notice.

However I see your point, it could be possible to introduce an option to disable such warning. What do you think ?

@ewels
Copy link
Member Author

ewels commented Feb 23, 2018

I think that would be nice. Maybe with the option of providing a list a named processes to ignore? Then we'd still catch the typos. But still a lot less verbose than making a load of dummy processes.

@pditommaso
Copy link
Member

This issue is solved by #623.

@pditommaso pditommaso added this to the v0.29.0 milestone Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants