GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - snakemake/snakemake-github-action: A Github action for running a Snakemake workflow

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.test
.test
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 

Repository files navigation

Snakemake github action

This action runs Snakemake on the repository.

Inputs

directory

Required The working directory to use. Default .test.

snakefile

The Snakefile containing the workflow description. Default Snakefile.

args

Additional arguments to pass to Snakemake.

stagein

Preliminary commands to run before the workflow execution.

task

Whether to run Snakemake or to generate a container image specification (Dockerfile, apptainer.def) that contains all required environments. Can be either run or containerize. Default run.

show-disk-usage-on-error

Whether used disk space shall be printed if Snakemake fails. Can be either true or false (default: false).

snakemake-version

Snakemake version to install from conda. Default * (latest available version from the configured channels).

snakemake-branch

Optional Snakemake git branch to install from https://github.com/snakemake/snakemake. If set, this takes precedence over snakemake-version and Snakemake is installed from source via pip.

install-apptainer

Whether to install Apptainer (true/false). Default false.

containerize-args

Additional arguments for containerize, can be one of 'dockerfile', 'apptainer' or '' (defaults to dockerfile).

Example usage

- name: Linting
  uses: snakemake/snakemake-github-action@v2
  with:
    directory: ".test"
    snakefile: "workflow/Snakefile"
    args: "--lint"

- name: Testing
  uses: snakemake/snakemake-github-action@v2
  with:
    directory: ".test"
    snakefile: "workflow/Snakefile"
    args: "--cores 1 --sdm conda --conda-cleanup-pkgs cache"
    stagein: "" # additional preliminary commands to run (can be multiline)
    show-disk-usage-on-error: true

- name: Testing with custom Snakemake branch
  uses: snakemake/snakemake-github-action@v2
  with:
    directory: ".test"
    snakefile: "workflow/Snakefile"
    args: "--cores 1 --sdm conda --conda-cleanup-pkgs cache"
    snakemake-branch: main

- name: Create container file
  uses: snakemake/snakemake-github-action@v2
  with:
    directory: ".test"
    snakefile: "workflow/Snakefile"
    task: "containerize"
    containerize-args: "apptainer"

About

A Github action for running a Snakemake workflow

Resources

Readme
MIT license
Activity
Custom properties

Stars

64 stars

Watchers

1 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.