Snakemake logger plugin: spectio
Warning
This plugin is not maintained and reviewed by the official Snakemake organization.
This logger connects Snakemake to Spectio, an open-source run manager for HPC and Kubernetes that launches, monitors and relaunches Nextflow and Snakemake runs on your own cluster.
Version 0.0.1 writes each run’s events to Spectio’s spool, which Spectio reads to show the run, its rules and its jobs. It is added to Snakemake’s own output, never in its place, and it never fails a run. Install it where Snakemake runs and name it with --logger spectio. A run started from a terminal writes its spool in .spectio/events/ of the directory Snakemake starts in and, when ~/.spectio/ exists, a pointer that lets a Spectio server of the same user find the run. The plugin has no settings. Spectio’s documentation is at https://spectio.pages.dev.
Installation
Install this plugin by installing it with pip or mamba directly, e.g.:
pip install snakemake-logger-plugin-spectio
Or, if you are using pixi, add the plugin to your pixi.toml. Be careful to put it under the right dependency type based on the plugin’s availability, e.g.:
snakemake-logger-plugin-spectio = "*"
Usage
In order to use the plugin, run Snakemake (>=9.11) with the corresponding value for the logger flag:
snakemake --logger spectio ...
with ... being any additional arguments you want to use.
Settings
The logger plugin has the following settings (which can be passed via command line, the workflow or environment variables, if provided in the respective columns):
CLI argument |
Description |
Default |
Choices |
Required |
Type |
|---|---|---|---|---|---|
|
File the JSON lines are appended to. |
|
✗ |