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


Release history Release notifications | RSS feed

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file snk-0.0.2.tar.gz.

File metadata

  • Download URL: snk-0.0.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for snk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dd542d4581e9990101b9cc842464d6a0fe754a7ad767d57033fde401d5b99ce8
MD5 6c6d3346660e3c34138ef3c1644511e1
BLAKE2b-256 9615c3302e6fdbeff069a3b14bdf1a434d005405c6ef45fe6d85a35fabf87b0d

See more details on using hashes here.

Provenance

File details

Details for the file snk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: snk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for snk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ac94fb8c0fcd982b87db838017c53ca54b5553c7733bf63c92a55ee03d0507
MD5 6777566388ef102bbc7319f4f1a341da
BLAKE2b-256 bb60f4f5c59548fcb7d063a54a263d463b66c49b06d7f750e23b96f69d27e0e1

See more details on using hashes here.

Provenance

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