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 FlowoFLOWO_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snakemake_logger_plugin_flowo-0.1.9.tar.gz.
File metadata
- Download URL: snakemake_logger_plugin_flowo-0.1.9.tar.gz
- Upload date:
- Size: 71.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fd619746e3730407613102bd555fd2237ecb4c2817ecb53a90dc1cc7fa6850a
|
|
| MD5 |
0397b7bd78b147dd0b346e8b7163ed9f
|
|
| BLAKE2b-256 |
61f27ca8c4d594f1be388040666432247ab5a300640612bb1551f3214c113965
|
File details
Details for the file snakemake_logger_plugin_flowo-0.1.9-py3-none-any.whl.
File metadata
- Download URL: snakemake_logger_plugin_flowo-0.1.9-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4ec80098d4618e2457056fff5e0b75079d2cb12bb14f8fc3ca18bd451f6d42
|
|
| MD5 |
3809e4b1c5b911180f00a45e4ad2fd34
|
|
| BLAKE2b-256 |
a1a703f78f9a9c58916ca0fd5df31d84adb1c99a9b18ccbf36fc1e802839cfd2
|