Skip to main content

GWASLab-Agent

GWASLab-Agent is an LLM-powered framework for automated GWAS summary statistics processing, quality control, transformation, and visualization.
It extends the original GWASLab Python package with intelligent planning, multi-step workflow generation, and agent-driven execution.

GWASLab-Agent is designed to serve as an autonomous GWAS assistant, capable of interpreting user instructions, planning complex operations, managing file paths, and producing publication-ready summaries and figures.

image

Installation

  1. Create a new environment (recommended)
# Create a clean environment with Python 3.12
conda create -n gwaslab-agent python=3.12

# Activate it
conda activate gwaslab-agent
  1. Install GWASLab and GWASLab-Agent
pip install gwaslab
pip install gwaslab_agent

Design of GWASLab-Agent

SmartSumstats Object

At the core of GWASLab-Agent is the SmartSumstats object — an LLM-enhanced wrapper around gl.Sumstats.
It integrates five coordinated sub-agents:

  • Loader — detects file formats, parses paths, handles chromosome patterns
  • Planner — constructs optimal multi-step workflows
  • Worker — executes tasks, QC steps, and visualizations
  • PathManager — manages input/output paths and reference resources
  • Summarizer — generates structured summaries and Methods-section text

Together, these sub-agents enable fully automated GWAS workflows with minimal user input.



Citation

(Coming soon — please cite GWASLab and GWASLab-Agent once the corresponding manuscripts or preprints are available.)

Metadata

Release files for gwaslab-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwaslab-agent 0.1.0
File Size Uploaded
gwaslab_agent-0.1.0.tar.gz 153.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwaslab-agent 0.1.0
File Interpreter ABI Platform
gwaslab_agent-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 314.2 kB

Release files / gwaslab_agent-0.1.0.tar.gz

Download URL gwaslab_agent-0.1.0.tar.gz
Size 153.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d4c386de36f9a4b5823978507b8bf7a8200f05d7781335e91241447ba46e8b0b
BLAKE2b-256 checksum
How to use checksums
12c742f718dc356d34f936c031146c32d701dc61110d614b5c2bf9c9eaa01c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release files / gwaslab_agent-0.1.0-py3-none-any.whl

Download URL gwaslab_agent-0.1.0-py3-none-any.whl
Size 160.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2796ffb9478bf403b9170a3aef0cdc5337ff4f012869118cd0a5ccb0ba0bf8
BLAKE2b-256 checksum
How to use checksums
1e85f3ecd07e067c0a971b9ebf63dba26a0f3a5c51c78b91bd33e890c191dfd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page