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

Uploaded Source

Built Distribution

snk-0.6.4-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snk-0.6.4.tar.gz
Algorithm Hash digest
SHA256 8fc402c86444e3a24fa65b18f13402363afc771561b32e2e666596fc0d26695b
MD5 58d94497bf1accf9d9e15fff7aa77238
BLAKE2b-256 7551810dd486db3e3f2332a12fe0c02002db85023cd87d405ee67752db4d0356

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for snk-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cd6a2cf4d3552ab31ebb61bc15c613273456d3776718a774057dbc9aca899474
MD5 a16d3c1011ef7fc4109a8fb85f8e2528
BLAKE2b-256 f623d26c3922b0c1a75cf67f8a0442dcaa7b948ebbec17ffed8b2223aec4e0dd

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