Skip to main content

No project description provided

Project description

snk

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install snk

About

Snk is a SnakeMake pipeline management system. Snk allows you to install SnakeMake pipelines as Command Line Interfaces (CLIs). Using a pipeline as a CLI increases it's interoperability and allows complex pipelines to be used as modular components in a larger system.

https://excalidraw.com/#room=4cb5ad1ed651d8a96369,xM0iaXAGVFNiNJOuILncPg

Basic Use

Install a pipeline as a CLI

snk install https://github.com/snakemake-workflows/rna-seq-star-deseq2

Inspect the CLI

rna-seq-star-deseq2 --help

View the dag

rna-seq-star-deseq2 dag --pdf 

Run the pipeline

rna-seq-star-deseq2 run

Configure

rna-seq-star-deseq2 config # print the config 
rna-seq-star-deseq2 config > config.yml # save the config 
rna-seq-star-deseq2 run --config config.yml # run with config 

how it works

When installing a pipeline snk will

  • create directory ~/.local/snk/pipelines/PIPELINE
  • install the pipeline into this directory
  • expose CLI at ~/.local/bin that point to pipeline directory in ~/.local/snk/pipelines/PIPELINE/bin
  • As long as ~/.local/bin/ is on your PATH, you can now invoke the pipeline globally

hey what about snakedeploy??

yes

License

snk is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snk-0.0.2.tar.gz (18.3 kB view hashes)

Uploaded Source

Built Distribution

snk-0.0.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page