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

Support foreign workflow systems #290

Open
jsbrittain opened this issue Jul 3, 2024 · 0 comments
Open

Support foreign workflow systems #290

jsbrittain opened this issue Jul 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jsbrittain
Copy link
Collaborator

jsbrittain commented Jul 3, 2024

Provide an interface to non-Snakemake workflow manager rules / modules. We will focus on nextflow as another common workflow system. Options include:

  • Install nextflow into a conda environment and launch form there (questions over how effective this will be, especially when run on HPC).
  • Use Snakemake's native foreign interface support:
    • Integrating foreign workflow management systems
    • Snakemake 6.2 and later allows to hand over execution steps to other workflow management systems. By this, it is possible to make use of workflows written for other systems, while performing any further pre- or postprocessing within Snakemake. Such a handover is indicated with the handover directive.
    • Here, the workflow is executed as usual until this rule is reached. Then, Snakemake passes all resources to the nextflow workflow management system, which generates certain files. The rule is executed as a local rule, meaning that it would not be submitted to a cluster or cloud system by Snakemake. Instead, the invoked other workflow management system is responsible for that. E.g., in case of Nextflow, submission behavior can be configured via a nextflow.conf file or environment variables. After the step is done, Snakemake continues execution with the output files produced by the foreign workflow.

A useful trial workflow is the vocpl pipeline, which we have implemented in both nextflow and Snakemake.

@jsbrittain jsbrittain added the enhancement New feature or request label Jul 3, 2024
@jsbrittain jsbrittain mentioned this issue Jul 3, 2024
32 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant