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.

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

Snk will dynamically generate config options for the CLI. For example if your config.yaml file has the option fasta: null you can set this option with --fasta.

rna-seq-star-deseq2 run --fasta example.fa

You can also configure the pipeline using a config file.

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

how it works

When installing a pipeline snk will

  • create directory $PYTHON_BIN_DIR/../snk/pipelines/PIPELINE
  • install the pipeline into this directory
  • expose CLI at $PYTHON_BIN_DIR that point to pipeline directory in snk/pipelines/PIPELINE/bin
  • As long as $PYTHON_BIN_DIR 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.7.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

snk-0.0.7-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snk-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c9c3048a3f62cea0b02d469d8bc6c4d1fe12461943dace5bfb915200b72f836f
MD5 2e499775a29e8af857f08d3a9528c436
BLAKE2b-256 c71e679fae6672703354277c92af8341a7bac90dc971cb28c201f9f7a6fd9b75

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for snk-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 82436181122e7813a61fe297c03c902d671512104c9fa0e7d480ede39b933334
MD5 5a3885cc9e7241f69fa8b4424e67b142
BLAKE2b-256 3a511948b1eab1e13e61aeba84ee1b113f3f34447539667e097ec9819d5b2241

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