differential-methylation

Identify differential DNA methylation regions and sites from WGBS BED/BedGraph inputs.

12|3|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/BIsnake2001/ChromSkills --skill differential-methylation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: differential-methylation
Source: https://github.com/BIsnake2001/ChromSkills/tree/main/21.differential-methylation
Command: npx skills add https://github.com/BIsnake2001/ChromSkills --skill differential-methylation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze differential DNA methylation between experimental conditions using WGBS methylation tracks (BED/BedGraph) and produce DMR and DMC calls with ready-to-use inputs and visuals.

Core Features & Use Cases

  • Standardizes heterogeneous BED inputs into per-sample four-column Metilene tables (chrom, start, end, methylation_fraction) and merges them for analysis.
  • Runs Metilene to detect DMRs and DMCs with tunable parameters and produces filtered results.
  • Generates quick visualizations such as Δmethylation vs –log10(q) and length histograms for interpretation.
  • Use Case: researchers comparing case vs control methylation to identify differential methylation patterns across the genome.

Quick Start

Provide per-sample BED methylation files and execute the metilene-based workflow to obtain DMR and DMC results along with visuals.

Frequently Asked Questions about differential-methylation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify differential methylation regions from WGBS data?

You can identify differential methylation regions from WGBS data by processing per-sample BED or BedGraph methylation tracks through a Metilene workflow to output DMRs and DMCs. The process standardizes inputs into per-sample methylation tables, merges them into a matrix, and executes Metilene to detect differential sites across experimental conditions.

What is the best way to call DMRs and DMCs across experimental conditions?

Calling DMRs and DMCs across experimental conditions is best handled by standardizing heterogeneous BED inputs into a merged methylation matrix and running Metilene with tunable parameters. This approach filters results and generates visualizations such as Δmethylation vs –log10(q) plots and length histograms for interpretation.

Do I need BED or BedGraph files to run methylation analysis with Metilene?

Yes, you need per-sample BED or BedGraph methylation files to run methylation analysis with Metilene. The workflow standardizes these heterogeneous inputs into per-sample four-column Metilene tables containing chromosome, start, end, and methylation fraction before merging them for analysis.

Can I visualize methylation differences after detecting DMRs?

You can visualize methylation differences after detecting DMRs through generated plots including Δmethylation vs –log10(q) scatter plots and length histograms. These visualizations are produced automatically alongside filtered DMR and DMC results to aid interpretation of differential methylation patterns.

Does this differential methylation workflow work for targeted methylation analyses?

This differential methylation workflow works for both genome-wide and targeted methylation analyses. It accepts BED and BedGraph inputs from WGBS methylation tracks and applies Metilene to detect DMRs and DMCs across the specified genomic regions for case versus control comparisons.

Why does my Metilene analysis require a merged methylation matrix?

Metilene analysis requires a merged methylation matrix because the tool needs standardized per-sample inputs combined into a single structure to compare methylation fractions across experimental conditions. The workflow builds this matrix from individual four-column Metilene tables before executing the differential methylation detection.