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 pipeline management system. Snk allows you to install Snakemake pipelines as dynamically generated 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.

Installation

pip install snk

Basic Use

Install a pipeline as a CLI

Install the dna-seq-gatk-variant-calling pipeline (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 pipeline 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 pipeline 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.10.1.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

snk-0.10.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snk-0.10.1.tar.gz
Algorithm Hash digest
SHA256 2d0d28beb6519f2e814fa4fd77c987dbea65723b3db566edee04dbb97ca9d876
MD5 418e8dcd5f4f735b9633dff3357ad9c7
BLAKE2b-256 aa924732951226437e1d0fd3c642ae0e3e12446560d7ba441023cdcd685c277a

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for snk-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1761920a6b3bc3b3e90511bfb2982ab1e6ac47f2c3c835640735f24d7c8db7b3
MD5 21f8477636f0afb55630223bc6eb53ff
BLAKE2b-256 4202c9136e27112f409938c5b98ea24d1f554a4bb966f1ec9742d5b175a40f0b

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