No project description provided
Project description
SNK (Snek)
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
View run options
variant-calling run -h
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
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
Built Distribution
File details
Details for the file snk-0.22.0.tar.gz
.
File metadata
- Download URL: snk-0.22.0.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d696f9f78c13be468c911d37d882f1b513078eb0edea08c8bedfdc21a7ec886 |
|
MD5 | bfe2341c11ac43bcb5e655f6d7117fbd |
|
BLAKE2b-256 | 654bcf2535cb3ab03c0cee0c950123a8c30abc32a5e29686f3544acba066c246 |
Provenance
File details
Details for the file snk-0.22.0-py3-none-any.whl
.
File metadata
- Download URL: snk-0.22.0-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f162cd2c5cf277af39e9d7e09448ac687629b8e717eb92d7fc598813a09f9059 |
|
MD5 | 88ee3ed3bc98877124445420732fefa9 |
|
BLAKE2b-256 | 2774fbd639d469bdabf1ab8c0a32635e2f7a6cfdfc4bb8ec7186ca33bc382ae9 |