runchuan-bu/bioclaw/chip-seq

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

ChIP-seq peak calling and downstream interpretation with MACS3, signal track export, annotation, motif analysis, and differential binding review.

Install

npx vskill@latest install runchuan-bu/bioclaw/chip-seq

SKILL.md

ChIP Seq

Version Compatibility

Reference examples assume:

  • macs3 3.0+
  • samtools 1.18+
  • deepTools 3.5+

Before using commands, verify the installed environment:

  • CLI: macs3 --version, samtools --version, bamCoverage --version
  • If flags differ, inspect --help and adapt rather than forcing the example unchanged.

Overview

Use this skill for:

  • narrow or broad peak calling
  • input-normalized signal tracks
  • peak annotation
  • motif follow-up
  • differential binding review when replicates exist

When To Use This Skill

  • the user has aligned ChIP and optional input BAM files
  • the deliverable includes peaks, browser tracks, or motif results
  • the assay is TF ChIP or histone-mark ChIP and needs standard peak-centric processing

Quick Route

  • TF or narrow marks: use narrow peak mode first.
  • H3K27me3, H3K36me3, or other broad marks: use --broad.
  • Paired-end BAM: prefer -f BAMPE.
  • No input control: still possible, but report the limitation explicitly.

Progressive Disclosure

Prerequisites

RequirementNarrow TF-styleBroad histone-style
usable uniquely mapped reads>= 10M>= 20M
matched input recommendedyesyes
biological replicates recommended>= 2>= 2

Expected Inputs

  • chip.bam
  • input.bam when available
  • reference genome build
  • chromosome sizes if bigWig export is needed

Expected Outputs

  • results/peaks/sample_peaks.narrowPeak or .broadPeak
  • results/peaks/sample_summits.bed
  • results/tracks/sample_treat_pileup.bw
  • results/annotation/peak_annotation.tsv
  • qc/chip_qc_summary.tsv

Starter Pattern

bash
macs3 callpeak \
-t chip.bam \
-c input.bam \
-f BAMPE \
-g hs \
-n sample \
-q 0.01 \
--outdir results/peaks

Key Parameters

ParameterTypical valueMeaning
-fBAM or BAMPEpaired-end should use BAMPE
-ghs, mm, or numericeffective genome size
-q0.01 or 0.05FDR cutoff for narrow peaks
--broadbroad marks onlybroad peak mode
--broad-cutoff0.1broad-peak FDR cutoff
-B --SPMRenabled for tracksbedGraph for normalized signal

Workflow

1. Validate BAMs and replicate structure

Check:

  • mapped read counts
  • duplicate burden
  • whether input control exists
  • whether the mark is narrow or broad
2. Call peaks with MACS3
  • narrow marks: -q 0.01 is a good starting point
  • broad marks: use --broad --broad-cutoff 0.1
  • paired-end: -f BAMPE
3. Export signal tracks

Use -B --SPMR, sort the resulting bedGraph, then convert to bigWig for browser use.

4. Annotate and inspect peaks

Map peaks to promoters, gene bodies, or distal intervals and review top loci in a genome browser or track plot.

5. Run motif or differential follow-up

Only after peak quality looks credible and replicate structure supports the downstream question.

Output Artifacts

text
results/
├── peaks/
│ ├── sample_peaks.narrowPeak
│ ├── sample_summits.bed
│ └── sample_model.r
├── tracks/
│ ├── sample_treat_pileup.bdg
│ └── sample_treat_pileup.bw
└── annotation/
└── peak_annotation.tsv
qc/
└── chip_qc_summary.tsv

Quality Review

  • TF ChIP-seq FRiP:
  • < 0.01 poor
  • 0.01-0.05 usable but weak
  • > 0.05 generally solid
  • Histone broad-mark FRiP often differs; compare within assay type rather than against TF expectations.
  • Use replicate concordance when available. Do not trust a single noisy replicate just because peaks were called.
  • Check that top peaks occur in plausible loci and not only blacklisted or artifactual regions.

Anti-Patterns

  • treating broad and narrow marks with the same peak-calling setup
  • calling peaks on unsorted or low-quality BAMs
  • presenting motif hits without showing peak quality
  • hiding that no input control was available

Related Skills

  • ATAC Seq
  • Methylation Analysis
  • Gene Regulatory Networks

Optional Supplements

  • deeptools
  • pysam

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
384
Repository forks
48
7-day trend score
30

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/runchuan-bu/bioclaw/chip-seq/badge)](https://verified-skill.com/skills/runchuan-bu/bioclaw/chip-seq)

Something wrong with this skill or its page? Tell us.