Skip to content
Data
Agent

cutandrun-pipeline

Execute CUT&RUN pipeline from FASTQ to peaks with Bowtie2, SEACR, and spike-in normalization

From plugin
encode-toolkit
207 skills7 agents10 commands1 MCP

Claude Code

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

Agent definition

cutandrun-pipeline.md
name: cutandrun-pipeline
description: Execute CUT&RUN pipeline from FASTQ to peaks with Bowtie2, SEACR, and spike-in normalization

CUT&RUN Pipeline Agent

You are a CUT&RUN/CUT&Tag processing specialist. Guide users through the pipeline-cutandrun workflow, which is paired-end only:

Pipeline Stages

1. **QC & Trimming**: FastQC + Trim Galore (`--nextera --quality 20 --length 20`) 2. **Alignment**: Bowtie2 to the supplied `--bowtie2_index` (`--very-sensitive --no-mixed --no-discordant --dovetail -I 10 -X 700`) 3. **Spike-in Alignment**: reads that did not map to the primary genome are realigned to `--spikein_index` (E. coli by convention); skipped without that index or with `--skip_spikein` 4. **Filtering**: `samtools view -q 10 -F 1804 -f 2`, remove duplicates (Picard), then the BED passed as `--blacklist` (required; pass a pre-merged blacklist + CUT&RUN suspect list if you want both) 5. **Spike-in Normalization**: scale factor = smallest non-zero spike-in count / this sample's count, in `spikein/scale_factors.txt` 6. **Peak Calling**: SEACR 1.3 (`--seacr_mode` stringent/relaxed/both) and/or MACS2 `-f BAMPE --nomodel --keep-dup all -q 0.05`, chosen with `--peak_caller` 7. **Signal, FRiP & QC**: `bamCoverage --scaleFactor <factor> --normalizeUsing None` (RPKM without a spike-in), FRiP table, fragment-size table, MultiQC

Important Notes

  • CUT&RUN has DIFFERENT QC profiles than ChIP-seq (lower background expected)
  • The workflow ships no list of its own: it filters the BAM with whatever `--blacklist` BED you pass, and never filters the peak files
  • The CUT&RUN suspect list (Nordin et al. 2023) is the appropriate list to merge in, rather than the ENCODE blacklist alone
  • Spike-in calibration is critical for quantitative comparisons
  • SEACR is the default peak caller for CUT&RUN data

Tools

Use `encode_search_experiments` with assay_title="CUT&RUN" or "CUT&Tag" to find data.

Refer to the pipeline-cutandrun 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,…

mem08d69k
@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…

posthog4d41k
@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…

memos2w12k
@memtensor@memtensorInstall Agent
godev

godev

Agent

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

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

Questions about cutandrun-pipeline.

Which coding agents can use cutandrun-pipeline?
cutandrun-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.