Skip to main content

Realtime monitoring of Snakemake workflows

Project description

snkmt

A CLI utility for monitoring running Snakemake workflows in real-time.

Note: This project is still under active development. Please report bugs, weird UI behavior, and feature requests - they are greatly appreciated!

Overview

snkmt (Snakemate) works with the snakemake-logger-plugin-snkmt plugin to capture and store Snakemake workflow execution data in a SQLite database. This allows you to monitor workflow progress, view job statuses, and troubleshoot errors through an interactive terminal interface.

How it Works

  1. The snakemake-logger-plugin-snkmt plugin captures workflow events during Snakemake execution
  2. Events are written to a local SQLite database
  3. snkmt provides tools to view and monitor this data through a terminal UI and CLI commands

Installation

Install via the logger plugin (recommended):

pip install snakemake-logger-plugin-snkmt

This will automatically install snkmt as a dependency.

Usage

Execute a Snakemake workflow

snakemake --logger snkmt ...

Interactive Console

Launch the real-time monitoring interface:

  • Tab / Shift+Tab: Navigate between interface elements
  • Enter: Select workflow rows or log files
  • Escape: Close modals/dialogs
  • q / Ctrl+C: Quit application
snkmt console

Options:

  • --db-path, -d: Specify custom database path

Database Commands

View database information:

snkmt db info [DB_PATH]

Migrate database to latest version:

snkmt db migrate [DB_PATH]

Configuration

By default, snkmt stores data in the XDG Base Directory specified user data directory. You can customize this location using the --db-path option or by configuring the logger plugin.

Screenshots

Main Dashboard

snkmt dashboard showing workflow list and details

Error Inspection

Error view showing failed jobs and log files Error view showing failed jobs and log files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snkmt-0.1.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snkmt-0.1.1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file snkmt-0.1.1.tar.gz.

File metadata

  • Download URL: snkmt-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snkmt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 836818f36cc06a703a85574d9acba10668f4636bc73e5e48f718e42ec17a3c00
MD5 dd80dcc5d722e04644d822fe6f259c1c
BLAKE2b-256 07360a60fa961fa14b0c313a3fe811016841b9f9b98e1d5a0cb3612779b0bd8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for snkmt-0.1.1.tar.gz:

Publisher: release-please.yml on cademirch/snkmt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snkmt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: snkmt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snkmt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a4551b05c1877d8ff0290ca84b1bb1141c86e8a4b96363f5a82ff3590414cb3
MD5 238f3a5a58c2d1c4aa01067647607346
BLAKE2b-256 ddba4be0cb57c920a39fcdee2824549b57654b12954921a263fccb70c6163399

See more details on using hashes here.

Provenance

The following attestation bundles were made for snkmt-0.1.1-py3-none-any.whl:

Publisher: release-please.yml on cademirch/snkmt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page