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.2.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.2-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snkmt-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e53694eab885fdb86ddc18490391bb504773a9113750d01a28a755a9b36f158d
MD5 f79f0b0e8c6138bbd7d48e153778d57a
BLAKE2b-256 e2ffa61fc29dc8838d41628c70d6cbfc58177dd4b0b73780668f3685ceb4cc68

See more details on using hashes here.

Provenance

The following attestation bundles were made for snkmt-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: snkmt-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 700c2282d876224e52c437b494d842d32193293a55552fd531b70cedff39c051
MD5 84159ac38f4a7e1fb8f4c14d2b9d8f96
BLAKE2b-256 36292b85b3b98e9c035126612ce93ad3772e660b6648dd8267f8b4b91d3b45d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for snkmt-0.1.2-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