Epigenomics methylgpt agent

From swaruplab/operon · View interactive version

Epigenomics methylgpt agent is an AI agent skill from the GitHub repository swaruplab/operon. AI-powered DNA methylation analysis using MethylGPT foundation models for epigenomic profiling, differential methylation detection, and cancer epigenome characterization.

How to use this skill

Skill file

Epigenomics MethylGPT Agent

The Epigenomics MethylGPT Agent leverages foundation models for comprehensive DNA methylation analysis. It integrates MethylGPT and DiffuCpG for methylation profiling, differential methylation region (DMR) detection, and cancer epigenome characterization at single-base resolution.

When to Use This Skill

Core Capabilities

  1. MethylGPT Foundation Model: Leverages transformer-based architecture trained on large-scale methylome data for methylation state prediction and pattern recognition.
  1. Differential Methylation Analysis: Identifies DMRs with increased sensitivity using AI-enhanced detection compared to traditional statistical methods.
  1. Cancer Epigenome Profiling: Specialized analysis for tumor methylation signatures, including hypermethylation of tumor suppressors and global hypomethylation patterns.
  1. Missing Data Imputation: Uses DiffuCpG generative AI model to address missing data in methylation arrays and sequencing studies.
  1. Single-Base Resolution: Deep learning models capture sequence context and long-range dependencies for accurate CpG methylation identification.
  1. Multi-Platform Support: Analyzes data from Illumina methylation arrays (450K, EPIC), WGBS, RRBS, and targeted bisulfite sequencing.

Workflow

  1. Input: Provide methylation data (beta values, WGBS BAM files, or raw intensity data) and sample metadata.
  1. Preprocessing: Quality control, normalization, and batch effect correction.
  1. Analysis: Apply MethylGPT for methylation prediction, DMR calling, and pattern discovery.
  1. Interpretation: Annotate DMRs to genomic features (promoters, enhancers, gene bodies) and pathways.
  1. Output: DMR reports, methylation heatmaps, pathway enrichment, and epigenetic age estimates.

Example Usage

User: "Identify differentially methylated regions between tumor and normal samples in this WGBS dataset."

Agent Action:

python3 Skills/Genomics/Epigenomics_MethylGPT_Agent/methylgpt_analyzer.py \
    --input tumor_normal_methylation.csv \
    --groups tumor,normal \
    --model methylgpt-base \
    --analysis dmr \
    --min_cpgs 5 \
    --delta_beta 0.2 \
    --output dmr_results.json

Key Methods and Tools

| Method | Application | Reference |

|--------|-------------|-----------|

| MethylGPT | Foundation model for methylome analysis | 2025 Nature Methods |

| DiffuCpG | Generative AI for missing data imputation | 2025 Bioinformatics |

| DeepMethyl | WGBS analysis for DMR detection | 2024 Genome Biology |

| minfi | Illumina array preprocessing | Bioconductor |

| DSS | Statistical DMR calling | Bioconductor |

Prerequisites

Related Skills

Methodology

DNA methylation analysis leverages CNNs and transformers to capture sequence context and long-range dependencies. The MethylGPT foundation model is pre-trained on millions of CpG sites across diverse tissues and conditions, enabling transfer learning for specific applications. DiffuCpG uses diffusion-based generative modeling to impute missing methylation values while preserving biological structure.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.