chip-seq
Skill27 starsChanged 8 months agoMITView on GitHub
ChIP-seq peak calling and downstream interpretation with MACS3, signal track export, annotation, motif analysis, and differential binding review.
In this repository43 other files it gives its agents.
- alignment-and-mappingSkill
- database-accessSkill
- read-qcSkill
- reporting-and-figure-exportSkill
- sequence-and-format-ioSkill
- workflow-managementSkill
- ehr-analysisSkill
- atac-seqSkill
- epitranscriptomicsSkill
- gene-regulatory-networksSkill
- hi-c-3d-genomicsSkill
- methylation-analysisSkill
- comparative-genomicsSkill
- copy-numberSkill
- genome-assemblySkill
- long-read-genomicsSkill
- phasing-imputationSkill
- variant-callingSkill
- metagenomicsSkill
- microbiome-ampliconSkill
- pathogen-epi-genomicsSkill
- phylogeneticsSkill
- causal-genomicsSkill
- machine-learning-for-omicsSkill
- multi-omics-integrationSkill
- pathway-analysisSkill
- systems-biologySkill
- imaging-mass-cytometrySkill
- metabolomicsSkill
- proteomicsSkill
- structural-biologySkill
- cell-annotationSkill
- cell-communicationSkill
- multiome-scatacSkill
- scrna-preprocessing-clusteringSkill
- spatial-transcriptomicsSkill
- trajectory-lineageSkill
- alternative-splicingSkill
- bulk-rna-expressionSkill
- differential-expressionSkill
- ribo-seqSkill
- rna-quantificationSkill
- small-rna-seqSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Before using commands, verify the installed environment:
- Very specific: line 21
If flags differ, inspect --help and adapt rather than forcing the example unchanged.
- Distinctive: line 25
Use this skill for:
- Distinctive: line 44
No input control: still possible, but report the limitation explicitly.
- Distinctive: line 48
Read technical_reference.md for QC gates, narrow-versus-broad logic, and replicate handling.
- Distinctive: line 49
Read commands_and_thresholds.md for MACS3 commands, parameter defaults, and output file conventions.
- Very specific: line 117
Use -B --SPMR, sort the resulting bedGraph, then convert to bigWig for browser use.
- Distinctive: line 125
Only after peak quality looks credible and replicate structure supports the downstream question.
- Distinctive: line 151
Use replicate concordance when available.
- Distinctive: line 152
Check that top peaks occur in plausible loci and not only blacklisted or artifactual regions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ChIP Seq
Version Compatibility
Reference examples assume:
macs33.0+samtools1.18+deepTools3.5+
Before using commands, verify the installed environment:
- CLI:
macs3 --version,samtools --version,bamCoverage --version - If flags differ, inspect
--helpand 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
- Read technical_reference.md for QC gates, narrow-versus-broad logic, and replicate handling.
- Read commands_and_thresholds.md for MACS3 commands, parameter defaults, and output file conventions.
Prerequisites
| Requirement | Narrow TF-style | Broad histone-style |
| usable uniquely mapped reads | >= 10M | >= 20M |
| matched input recommended | yes | yes |
| biological replicates recommended | >= 2 | >= 2 |
Expected Inputs
chip.baminput.bamwhen available- reference genome build
- chromosome sizes if bigWig export is needed
Expected Outputs
results/peaks/sample_peaks.narrowPeakor.broadPeakresults/peaks/sample_summits.bedresults/tracks/sample_treat_pileup.bwresults/annotation/peak_annotation.tsvqc/chip_qc_summary.tsv
Starter Pattern
macs3 callpeak \
-t chip.bam \
-c input.bam \
-f BAMPE \
-g hs \
-n sample \
-q 0.01 \
--outdir results/peaksKey Parameters
| Parameter | Typical value | Meaning |
-f | BAM or BAMPE | paired-end should use BAMPE |
-g | hs, mm, or numeric | effective genome size |
-q | 0.01 or 0.05 | FDR cutoff for narrow peaks |
--broad | broad marks only | broad peak mode |
--broad-cutoff | 0.1 | broad-peak FDR cutoff |
-B --SPMR | enabled for tracks | bedGraph 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.01is 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
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.tsvQuality Review
- TF ChIP-seq FRiP:
< 0.01poor0.01-0.05usable but weak> 0.05generally 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
deeptoolspysam
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

