Skip to main content

No project description provided

Project description

snk

PyPI - Version PyPI - Python Version write-the - docs

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 its 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 snakemake-workflows/rna-seq-star-deseq2

Inspect the CLI

rna-seq-star-deseq2 --help
image

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.6.3.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

snk-0.6.3-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snk-0.6.3.tar.gz
Algorithm Hash digest
SHA256 f20a78de410210bbd2a8d19f2746b5ab7481329125b45008edf3930ae7919b12
MD5 507846dfc8fcc8a15ea78a997eff2444
BLAKE2b-256 3dfb08a1e19df69caf6b1a295bfb6fcdd44652e7beb5b41cdcba0365b3b6e7dc

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for snk-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fc075581fdd14d72b8c6a3603c6adf7a32a18e60553f46b88aac605bec90a973
MD5 679e7d7898356018f03f096ce77bedf2
BLAKE2b-256 83a67003e982d4cd91a759133878ce249672ffae3afa42f13fbe76afd8a0647d

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