跳转到主要内容

为poetry添加特定于Snakemake的功能的插件。

项目描述

poetry-snakemake-plugin

test coverage: 100%

为poetry添加特定于Snakemake的功能的插件。目前它支持为新Snakemake executor插件storage插件 构建源代码。它的工作原理如下。

构建executor插件

假设您想创建一个名为 snakemake-executor-plugin-myfancyexecutor 的snakemake executor插件。

# 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.

构建storage插件

假设您想创建一个名为 snakemake-storage-plugin-myfancystorage 的snakemake storage插件。

# 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.

构建report插件

假设您想创建一个名为 snakemake-report-plugin-myfancyreport 的snakemake report插件。

# Install poetry plugin via
poetry self add poetry-snakemake-plugin

# Create a new poetry project via
poetry new snakemake-report-plugin-myfancyreport

cd snakemake-storage-plugin-myfancyreport

# Scaffold the project as a snakemake executor plugin
poetry scaffold-snakemake-report-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.

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

poetry_snakemake_plugin-0.4.0.tar.gz (9.6 kB 查看散列)

上传时间

构建分布

poetry_snakemake_plugin-0.4.0-py3-none-any.whl (16.1 kB 查看哈希值)

上传时间 Python 3

由以下机构支持