Skip to content

A Nextflow plugin that provides a web-based interface for visualizing and exploring Nextflow pipeline executions directly in your browser.

License

Notifications You must be signed in to change notification settings

incsteps/nf-cachebrowser

Repository files navigation

nf-cachebrowser

A Nextflow plugin that provides a web-based interface for visualizing and exploring Nextflow pipeline executions directly in your browser.

Nextflow License Version

Overview

nf-cachebrowser is a powerful Nextflow plugin that allows you to visualize pipeline executions through an intuitive web interface. Monitor your workflows, explore execution details, and analyze pipeline performance without leaving your browser.

Features

  • 🌐 Web-based Interface - Access pipeline execution data through a modern web UI
  • πŸ“Š Real-time Monitoring - Track running pipelines in real-time (only in not blocking supported storages)
  • πŸ” Detailed Execution View - Explore individual process executions and their outputs
  • πŸ“ˆ Performance Analytics - Analyze execution times, resource usage, and bottlenecks
  • πŸ—‚οΈ Cache Management - Browse and manage Nextflow work directories and cached results
  • πŸ”„ Resume Capabilities - Visualize pipeline resume points and execution flow
  • πŸ“± Responsive Design - Works seamlessly on desktop and mobile devices

Quick Start

Prerequisites

  • Nextflow 22.10.0 or later
  • Java 8 or later
  • Modern web browser

Installation

Install globally:

nextflow plugin install nf-cachebrowser

Basic Usage

Start the cache browser server:

nextflow plugin nf-cachebrowser:run

This will launch a web server (default: http://localhost:9999) where you can view your pipeline executions.

Run your pipeline:

nextflow run your-pipeline.nf 

Commands

Start Server

Launch the web interface server:

nextflow plugin nf-cachebrowser:run [OPTIONS]

Options:

  • --port, -p - Server port (default: 9999)
  • --directory, -d - runtime Nextflow directory

Stop Server

Stop the running server:

TODO!!! kill the process by the moment

Web Interface

Dashboard

The main dashboard provides:

  • Overview of recent pipeline executions
  • Quick access to running pipelines
  • System resource usage charts (TODO!!)
  • Execution statistics (TODO!!)

Execution Details

For each pipeline execution, view:

  • Execution timeline and progress (TODO!!)
  • Process-level execution details
  • Resource consumption graphs (TODO!!)
  • Log files and error messages (TODO!!)
  • Work directory contents

Tasks Details

Task Details

API Endpoints

The plugin also provides a REST API for programmatic access:

  • GET /api/executions - List all executions
  • GET /api/tasks/{id} - Get execution details

Troubleshooting

Common Issues

Server won't start:

  • Check if port is already in use
  • Verify Java version compatibility
  • Check file permissions in work directory

Browser shows empty data:

  • Ensure directory specified contains a .nextflow folder
  • Check if execution data exists in work directory
  • Verify network connectivity to server

Development

Building from Source

git clone https://github.com/incsteps/nf-cachebrowser.git
cd nf-cachebrowser
./gradlew build

Running Tests

./gradlew test

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Acknowledgments

  • Nextflow team for the amazing workflow engine
  • Contributors and community members
  • Beta testers and early adopters

Changelog

v0.0.1-rc (2025-05-24)

  • Initial release
  • Web-based execution visualization
  • Real-time monitoring capabilities
  • RESTful API endpoints

Made with ❀️ by jagedn and Incremental Steps team

About

A Nextflow plugin that provides a web-based interface for visualizing and exploring Nextflow pipeline executions directly in your browser.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •