Skip to main content

A Snakemake logger plugin that stores workflow execution data in PostgreSQL

Project description

Snakemake Logger Plugin - Flowo

A Snakemake logger plugin designed to be used with FlowO for real-time task monitoring, making workflow management simple, interactive, and fun! 🎉

Demo page: flowo online

Important: This plugin is designed to be used together with FlowO and requires FlowO to function correctly. It is not a standalone monitoring tool.

🎈 Features

  • Stores Snakemake workflow execution data in PostgreSQL database
  • Tracks jobs, rules, files, and errors
  • Provides comprehensive logging and monitoring capabilities
  • Easy integration with existing Snakemake workflows

💻 Installation

pip install snakemake-logger-plugin-flowo

🔧 Configuration

# To generate the default configuration file, run the following command:
# This will create the default .env configuration file in your $HOME/.config/flowo/ directory.
flowo --generate-config

# After generating the .env file, open it with your preferred text editor to adjust the settings:
vim $HOME/.config/flowo/.env

The following environment variables are available for configuration in the .env file:

  • POSTGRES_USER: PostgreSQL username (default: flowo)
  • POSTGRES_PASSWORD: PostgreSQL password (default: flowo_password)
  • POSTGRES_DB: PostgreSQL database name (default: flowo_logs)
  • POSTGRES_HOST: PostgreSQL host (default: localhost)
  • POSTGRES_PORT: PostgreSQL port (default: 5432)
  • FLOWO_USER: User displayed in Flowo
  • FLOWO_WORKING_PATH: Snakemake execution project path

Note: The PostgreSQL database used by this plugin is configured in FlowO. Ensure FlowO is properly set up before using this logger plugin.


## 🚀 Usage
Basic usage
```bash
snakemake --logger flowo

Optional args: logger-flowo-name or logger-flowo-tags

snakemake \
    --logger flowo \
    --logger-flowo-name=your_project_name \
    --logger-flowo-tags="tagA,tagB,tagC"

🙏 Acknowledgement

This project is developed based on the excellent work of cademirch/snakemake-logger-plugin-snkmt. Special thanks to the original author for providing a solid foundation under the MIT License.

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

snakemake_logger_plugin_flowo-0.1.10.tar.gz (71.0 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file snakemake_logger_plugin_flowo-0.1.10.tar.gz.

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.10.tar.gz
Algorithm Hash digest
SHA256 4be93ed9b35c2a377251c8d2b135ac504420db24783b1c5e3a18927f98e7bb3e
MD5 19508198b535cc53b251d8d0f5d0a17c
BLAKE2b-256 c5262d0663fb2bf35a84836f96faf6ce53df7202bfa87abd643f57b9e829840b

See more details on using hashes here.

File details

Details for the file snakemake_logger_plugin_flowo-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1949d9288376e4a507318f89adc2fe60b0c1bd2748da8957fd0dc3ac03c545e6
MD5 d08a575389a7ad07a5d91554f7b12f0d
BLAKE2b-256 fff6530c4f5c98783786910c367c0843c2e682ca83044ed50648356b441880de

See more details on using hashes here.

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