A plugin for poetry that adds Snakemake-specific functionality.
Project description
poetry-snakemake-plugin
A plugin for poetry that adds Snakemake-specific functionality. Currently it supports scaffolding the source code for new Snakemake executor plugins and storage plugins. This works as follows.
Scaffolding an executor plugin
Lets assume that you want to create a snakemake executor plugin with the name snakemake-executor-plugin-myfancyexecutor
.
# Install poetry plugin via
poetry self add poetry-snakemake-plugin
# Create a new poetry project via
poetry new snakemake-executor-plugin-myfancyexecutor
cd snakemake-executor-plugin-myfancyexecutor
# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-executor-plugin
# Next, edit the scaffolded code according to your needs, and publish
# the resulting plugin into a github repository. The scaffold command also
# creates github actions workflows that will immediately start to check and test
# the plugin.
Scaffolding a storage plugin
Lets assume that you want to create a snakemake storage plugin with the name snakemake-storage-plugin-myfancystorage
.
# Install poetry plugin via
poetry self add poetry-snakemake-plugin
# Create a new poetry project via
poetry new snakemake-storage-plugin-myfancystorage
cd snakemake-storage-plugin-myfancystorage
# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-storage-plugin
# Next, edit the scaffolded code according to your needs, and publish
# the resulting plugin into a github repository. The scaffold command also
# creates github actions workflows that will immediately start to check and test
# the plugin.
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
Close
Hashes for poetry_snakemake_plugin-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486b68e837fbae8f00f13e7f7861765bce716f58b9f3bb5607839c84255285f9 |
|
MD5 | 06b8ee45967bf77818390e3220870561 |
|
BLAKE2b-256 | 5043290de0856fe20a1a0a245b52d46cc1a3defaa59146833f87793d5bc99da4 |
Close
Hashes for poetry_snakemake_plugin-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9876b6ea9fc37fe3c42c244e65cebd8bf22abe827930c649cd0778a37b47c303 |
|
MD5 | e03fa169adc24b312b8c76bd76357aed |
|
BLAKE2b-256 | ea2be6fa6c3d94bfa9f04df6a3d2569c2192fcbadffcf097fdfb96d0d8318f2e |