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

Snakemake standardized usage #151

Open
2 of 3 tasks
uniqueg opened this issue Mar 6, 2024 · 0 comments · May be fixed by #152
Open
2 of 3 tasks

Snakemake standardized usage #151

uniqueg opened this issue Mar 6, 2024 · 0 comments · May be fixed by #152

Comments

@uniqueg
Copy link

uniqueg commented Mar 6, 2024

Problem

V-pipe is listed in the Snakemake Workflow Catalog. However, it does not adhere to the standardized usage and therefore isn't listed in the default view (tab "Standardized usage") and can only be found after manually changing to a different view (tab "All workflows").

Adhering to the recommended standardized usage might increase the exposure of V-pipe, particularly, as the workflow -with the current number of stars- would be featured on the front page.

Solution

As described here, being listed in the "Standardized usage" section requires:

  • the main workflow definition in file workflow/Snakefile
  • workflow configuration instructions to be provided in config/README.md
  • a .snakemake-workflow-catalog.yml file to configure usage instructions

As the first two conditions are already fulfilled, it appears that only the last condition needs to be addressed for V-pipe to be listed in the "Standardized usage" section.

Additional context

The allowed/required sections for the usage instructions configuration file (in YAML format) are described below:

usage:
  mandatory-flags: # optional definition of additional flags
    desc: # describe your flags here in a few sentences (they will be inserted below the example commands)
    flags: # put your flags here
  software-stack-deployment: # definition of software deployment method (at least one of conda, singularity, or singularity+conda)
    conda: true # whether pipeline works with --use-conda
    singularity: true # whether pipeline works with --use-singularity
    singularity+conda: true # whether pipeline works with --use-singularity --use-conda
  report: true # add this to confirm that the workflow allows to use 'snakemake --report report.zip' to generate a report containing all results and explanations

A working example for a Snakemake Workflow Catalog configuration can be found, e.g., here for the ZARP workflow.

@uniqueg uniqueg linked a pull request Mar 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant