Command-line tool to run Nextflow pipelines in the cloud
Project description
nflaunch
nflaunch is a command-line tool designed to simplify the launching of Nextflow pipelines on cloud batch services.
It abstracts complex cloud configurations into a unified interface, currently supporting Google Cloud Batch.
This tool is under active development and intended for users with experience managing cloud resources and Nextflow pipelines. Ensure you understand the configurations and implications of job submissions before using it in production environments.
Table of Contents
Key Features
- GCP Batch Support - Automated volume mounting and job execution on Google Cloud
- Dry-Run Mode - Validate job configurations before submission
- Plugin System - Extensible architecture for pipeline-specific enhancements
- Local & Remote Pipelines - Support for both published (e.g. nf-core public pipelines) and local pipeline directories
- Resume Capability - Resume failed pipeline runs
Quick Start
Prerequisites
- Python 3.10+
- Google Cloud CLI installed and authenticated
Installation
pip install nflaunch
Verify installation:
nflaunch --help
For detailed installation instructions, see the Installation Guide.
GCP Setup
Configure required permissions and authentication:
gcloud auth login
gcloud auth application-default login
Enable the following APIs in your GCP project:
- Google Cloud Batch API (
batch.googleapis.com) - Google Cloud Storage API (
storage.googleapis.com)
For complete GCP setup instructions, see the GCP Setup Guide.
Documentation
Comprehensive documentation is available in the docs/ directory:
Getting Started
- Installation Guide - Detailed installation instructions and setup
- Quickstart Guide - Step-by-step examples to run your first pipeline
- GCP Setup - Google Cloud permissions, authentication, and configuration
Reference
- CLI Reference - Complete command-line options and examples
- Cloud Resources - Understanding resources created in GCP
- Plugins - Plugin system overview and development guide
Usage Example
Run the nf-core/demo pipeline with dry-run validation:
nflaunch \
--base-bucket my-nextflow-bucket \
--pipeline-name nf-core/demo \
--pipeline-version 1.0.2 \
--params-file examples/params.yaml \
--samplesheet examples/samplesheet.csv \
--config-file examples/resources.config \
--project-id my-gcp-project \
--region europe-west4 \
--service-account-email sa@my-project.iam.gserviceaccount.com \
--network default \
--subnetwork default \
--labels '{"env": "test", "tool": "nflaunch"}' \
--dry-run
Remove --dry-run to submit the job.
For more examples and detailed usage instructions, see the Quickstart Guide.
License
This project is distributed under the terms of the Apache License 2.0.
Documentation: docs/ | Examples: examples/ | Changelog: CHANGELOG.md
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
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 nflaunch-0.2.1.tar.gz.
File metadata
- Download URL: nflaunch-0.2.1.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
121183dc71939e0518bc33b06ad73480072385357be3542be47dcf0ea9eee286
|
|
| MD5 |
aaaf9391a7ef74db8b91fbd18423e9e8
|
|
| BLAKE2b-256 |
c2ff24964c4a966f81b171a0bac79b46932fe95dc37505a696d3281e221b0d13
|
Provenance
The following attestation bundles were made for nflaunch-0.2.1.tar.gz:
Publisher:
release.yaml on rodjc/nflaunch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nflaunch-0.2.1.tar.gz -
Subject digest:
121183dc71939e0518bc33b06ad73480072385357be3542be47dcf0ea9eee286 - Sigstore transparency entry: 1318339314
- Sigstore integration time:
-
Permalink:
rodjc/nflaunch@aaebb37478e9424904f440d1c94c44611e4dd31b -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rodjc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@aaebb37478e9424904f440d1c94c44611e4dd31b -
Trigger Event:
push
-
Statement type:
File details
Details for the file nflaunch-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nflaunch-0.2.1-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90a8a7dfabbfff882306a41251abacf35d319b4df796c2234bf89f79bd2e1be1
|
|
| MD5 |
ee7e35604465619c1b33dea86cbf4dcc
|
|
| BLAKE2b-256 |
e0cb440248e8bf72b59def37c3eb6bfbcf7309f75037d1906c866f7dcb419f0a
|
Provenance
The following attestation bundles were made for nflaunch-0.2.1-py3-none-any.whl:
Publisher:
release.yaml on rodjc/nflaunch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nflaunch-0.2.1-py3-none-any.whl -
Subject digest:
90a8a7dfabbfff882306a41251abacf35d319b4df796c2234bf89f79bd2e1be1 - Sigstore transparency entry: 1318339779
- Sigstore integration time:
-
Permalink:
rodjc/nflaunch@aaebb37478e9424904f440d1c94c44611e4dd31b -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rodjc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@aaebb37478e9424904f440d1c94c44611e4dd31b -
Trigger Event:
push
-
Statement type: