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

config flowo_project_name or flowo_tags

snakemake \
    --config flowo_project_name=your_project_name flowo_tags="tagA,tagB,tagC" \
    --logger flowo

or config in --configfile

flowo_project_name: your_project_name
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.9.tar.gz (71.1 kB view details)

Uploaded Source

Built Distribution

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

snakemake_logger_plugin_flowo-0.1.9-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.9.tar.gz
Algorithm Hash digest
SHA256 4fd619746e3730407613102bd555fd2237ecb4c2817ecb53a90dc1cc7fa6850a
MD5 0397b7bd78b147dd0b346e8b7163ed9f
BLAKE2b-256 61f27ca8c4d594f1be388040666432247ab5a300640612bb1551f3214c113965

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ca4ec80098d4618e2457056fff5e0b75079d2cb12bb14f8fc3ca18bd451f6d42
MD5 3809e4b1c5b911180f00a45e4ad2fd34
BLAKE2b-256 a1a703f78f9a9c58916ca0fd5df31d84adb1c99a9b18ccbf36fc1e802839cfd2

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