Skip to main content

GWASLab Agent

Project description

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.)

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

gwaslab_agent-0.0.7.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

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

gwaslab_agent-0.0.7-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file gwaslab_agent-0.0.7.tar.gz.

File metadata

  • Download URL: gwaslab_agent-0.0.7.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for gwaslab_agent-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d9b6004263cc48a4a183f94426d5ecc5480eeb4ba26ebae8f04206824b34137e
MD5 38feb2669da53fe1e055d3e26e774888
BLAKE2b-256 7713efc141b14e9436191d69c7edc3e7fda2b9de1b8efe2aa41280f80f97003d

See more details on using hashes here.

File details

Details for the file gwaslab_agent-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: gwaslab_agent-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for gwaslab_agent-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6e0acd947af862cf5eda123ba8b2956aea2691661844bcd564be76c2801cfadc
MD5 f1e6e3ee7def8aa892f157a9dc08dcc5
BLAKE2b-256 f56d8a38cb4fbf9c6dc139e0a29994b3855643571bd6292e25b2c24b413dc0e8

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