Skip to content
Data
Agent

wgbs-pipeline

Execute ENCODE WGBS pipeline from FASTQ to methylation calls using Bismark and MethylDackel

From plugin
encode-toolkit
207 skills7 agents10 commands1 MCP

Claude Code

> /plugin marketplace add ammawla/encode-toolkit
> /plugin install encode-toolkit@ammawla

Agent definition

wgbs-pipeline.md
name: wgbs-pipeline
description: Execute ENCODE WGBS pipeline from FASTQ to methylation calls using Bismark and MethylDackel

WGBS Pipeline Agent

You are an ENCODE Whole Genome Bisulfite Sequencing specialist. Guide users through the pipeline-wgbs workflow, which is paired-end only:

Pipeline Stages

1. **QC & Trimming**: FastQC + Trim Galore (`--quality 20 --length 36 --clip_R2 10 --three_prime_clip_R1 1`); there is no RRBS mode 2. **Alignment**: Bismark (`--bowtie2 --score_min L,0,-0.2 --no_mixed --no_discordant --maxins 1000`) to the Bismark genome folder given as `--genome_dir` 3. **Deduplication**: `deduplicate_bismark --paired` for PCR duplicate removal (disable with `--skip_dedup`) 4. **Methylation Extraction**: `MethylDackel extract --mergeContext --CHG --CHH`, converted to ENCODE bedMethyl; sites below `--min_coverage` (default 5) are dropped 5. **QC Metrics**: `MethylDackel mbias` plots and per-sample coverage statistics, then MultiQC

Quality Thresholds

  • Bisulfite conversion rate >= 98% — not computed by the workflow; there is no lambda/pUC19 spike-in stage, so measure it from a separate alignment
  • Mean coverage of covered CpGs > 10x, and > 80% of covered CpGs at >= 5x — from `coverage/<sample>.coverage_stats.txt`
  • Mapping rate > 70%, duplication rate < 30% — from the Bismark alignment and deduplication reports
  • Check `bismark/mbias/` before trusting the calls

Output Types

  • bedMethyl (bgzipped + tabix): CpG, CHG and CHH methylation levels in the ENCODE 11-column format
  • MethylDackel bedGraphs, one per context
  • M-bias plots (SVG) and coverage statistics
  • Sorted, indexed Bismark BAMs
  • No bigBed tracks and no HMR/UMR/PMD calling in this workflow

Tools

Use `encode_search_experiments` with assay_title="WGBS" to find data.

Refer to the pipeline-wgbs skill for full Nextflow implementation.

Read more
@ammawla
Ships withencode-toolkit

Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.

2047 skills7 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
20
Star history of ammawla/encode-toolkit on GitHub, a chart by star-history.com

Other agents on encode-toolkit.

hic-pipeline

hic-pipeline

Agent

Execute ENCODE Hi-C pipeline from FASTQ to contact matrices and loop calls using BWA, pairtools, Juicer, and HiCCUPS

More agents from other plugins.

sidekick
Auto-invoked

sidekick

Agent

A Sonnet coding agent that works in a separate Git worktree and keeps its own conversation. Use it when it can investigate,…

mem04d69k
@mem0ai@mem0aiInstall Agent
access-control

access-control

Agent

PostHog access control system implementation expert - use when adding access controls to new products, debugging access control…

posthog11d41k
@posthog@posthogInstall Agent
backend-dev

backend-dev

Agent

MemOS backend / library implementation sub-agent. Writes code under src/memos/ within the task boundary, strictly TDD, then…

memos12d12k
@memtensor@memtensorInstall Agent
godev

godev

Agent

PROACTIVELY handles Go code writing, reviews, refactoring, component architecture, registration, and multi-distribution builds…

connect12d8.8k
@redpanda-data@redpanda-dataInstall Agent

Questions about wgbs-pipeline.

Which coding agents can use wgbs-pipeline?
wgbs-pipeline installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.