Skip to main content

No project description provided

Project description

SNK (Snek)

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


Documentation: https://snk.wytamma.com

Source Code: https://github.com/Wytamma/snk


Snk (pronounced snek) is a Snakemake workflow management system. Snk allows you to install Snakemake workflows as dynamically generated Command Line Interfaces (CLIs). Using a workflow as a CLI increases its interoperability and allows complex workflows to be used as modular components in a larger system.

Installation

pip install snk

Basic Use

Install a workflow as a CLI

Install the dna-seq-gatk-variant-calling workflow (v2.1.1) as variant-calling.

snk install snakemake-workflows/dna-seq-gatk-variant-calling --name variant-calling -t v2.1.1

Successfully installed variant-calling (v2.1.1)!

Inspect the CLI

variant-calling --help
main cli

View run options

variant-calling run -h
run cli

Create a DAG

Here we use the .test resources included in the workflow to create the DAG.

variant-calling run -r .test/config -r .test/data --dag dag.pdf
dag

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.

variant-calling run --fasta example.fa

You can also configure the workflow using a config file.

variant-calling config --pretty # print the config 
variant-calling config > config.yml # save the config 
variant-calling run --config config.yml # run with config 

Read the documentation for more information.

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

Uploaded Source

Built Distribution

snk-0.21.1-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snk-0.21.1.tar.gz
Algorithm Hash digest
SHA256 00e1cefb96a1b8bffb49ac06520a010ae29dac96fdd25da2b9a397b6434d2ba7
MD5 9b124dc44e5239e9302fb3b587b4f781
BLAKE2b-256 5722dd0604595c751fa70302ed109293666c246bfc1759b206d124e308c12a0c

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for snk-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b18ce619c490ebf88479c8f1044ef6c8c73786a08b782a1059337c7b76c9d9e0
MD5 9c3a769d3f583bb6b98ec3365940f828
BLAKE2b-256 6eb1dc62fcbd939b16451a428631a18486e5435f3ab090c596a76c314a1dcae6

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