[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMHE60C35CPZM50QZY3DVY":3,"skill-same:01M7EMHE60C35CPZM50QZY3DVY":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMHE60C35CPZM50QZY3DVY","chip-seq-analysis",null,"ChIP-seq analysis — peak calling, differential binding, motif discovery, and QC with phantom-peak metrics.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-chip-seq-analysis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: chip-seq-analysis\ndescription: ChIP-seq analysis — peak calling, differential binding, motif discovery, and QC with phantom-peak metrics.\ncategory: scientific\n---\n\n## Overview\n\nchip-seq-analysis covers chromatin immunoprecipitation sequencing from raw reads to biological\ninterpretation: QC specific to ChIP (fragment size, enrichment metrics), peak calling (MACS2),\ndifferential binding (DiffBind\u002FDESeq2), motif discovery, and annotation of peaks to regulatory\nfunction. ChIP-seq quality is dominated by the antibody — the analysis can only work with what\nthe IP enriched.\n\n## When to use\n\n- Experimental design: antibody validation, controls (input\u002FIgG), replicate numbers, depth.\n- QC: cross-correlation, FRiP, library complexity, strand cross-correlation.\n- Peak calling: MACS2 parameters for narrow (TFs) vs broad (histone marks) peaks.\n- Differential binding: DiffBind, proper count-based statistics.\n- Motif discovery: HOMER, MEME — finding and validating motifs.\n- Peak annotation: genomic distribution, target-gene assignment, overlap analysis.\n- Visualization: genome browser tracks, heatmaps, metaplots.\n\n## Core concepts\n\n- **Antibody first.** Validate by western blot + IP-western or, ideally, ChIP-qPCR on known\n  positive\u002Fnegative loci before sequencing. ENCODE antibody validation guidelines exist for\n  a reason — most failed ChIP-seqs trace to unvalidated antibodies. Polyclonal lot variation\n  is real; record lots.\n- **Controls.** Input (sonicated chromatin, no IP) is the essential control — models local\n  biases (copy number, chromatin accessibility, mappability). IgG controls for non-specific\n  binding but doesn't replace input. Sequence input to comparable depth.\n- **Fragment size.** Sonication\u002FMNase to 200-500 bp; verify on Bioanalyzer before IP.\n  Fragment size determines resolution — and MACS2's shifting model estimates it, but garbage\n  in (kilobase fragments) means garbage out.\n- **QC metrics.** NSC\u002FRSC (normalized\u002Frelative strand cross-correlation — measures\n  clustering of reads; ENCODE thresholds: NSC >1.05, RSC >0.8); FRiP (fraction of reads in\n  peaks — the enrichment summary; good TF ChIP >1%, great >5%; histone marks higher);\n  library complexity (PCR bottleneck coefficient — low complexity = over-amplified);\n  replicate concordance. Check these before peak interpretation.\n- **Peak calling (MACS2).** Narrow peaks (TFs): default MACS2 with q-value cutoff\n  (q\u003C0.01-0.05). Broad peaks (H3K27me3, H3K36me3): `--broad` mode. Always call against\n  input control; don't call peaks on merged replicates then \"validate\" in individuals\n  (call in each, assess overlap — IDR framework for replicate concordance).\n- **IDR (irreproducible discovery rate).** Ranks peaks by consistency across replicates —\n  the principled way to define a consensus peak set. ENCODE standard; use it instead of\n  arbitrary overlap thresholds.\n- **Differential binding.** DiffBind: consensus peak set → count reads per peak per sample\n  → DESeq2\u002FedgeR statistics. This is RNA-seq-style count modeling on peaks — same rules\n  (replicates, FDR, effect sizes). Don't compare peak lists by Venn diagram overlap;\n  test quantitatively.\n- **Motif discovery.** HOMER or MEME-ChIP on top peaks (500-1000 strongest); expect the\n  known motif for the factor (positive control — if the factor's own motif isn't enriched,\n  question the experiment); de novo motifs need validation (don't name a \"novel motif\"\n  from one experiment). Central enrichment of motifs within peaks supports direct binding.\n- **Annotation.** Genomic distribution (promoter\u002Fintronic\u002Fintergenic vs expected); target\n  gene assignment (nearest TSS is crude — use GREAT or activity-by-contact models for\n  enhancers); overlap with other marks (chromatin states via ChromHMM). A peak list without\n  functional annotation is a phone book.\n\n## Practical workflow\n\n1. **Validate antibody.** IP-western\u002FChIP-qPCR before sequencing; record lot.\n2. **Prepare.** Fragment to 200-500 bp; input control; ≥2 biological replicates;\n   20M+ reads for TFs, more for broad marks.\n3. **Align + QC.** Bowtie2\u002FBWA; deduplicate; compute NSC\u002FRSC, FRiP (after preliminary\n   peaks), complexity; check replicate correlation.\n4. **Call peaks.** MACS2 (narrow or broad mode) vs input; IDR across replicates for\n   consensus set.\n5. **Differential.** DiffBind consensus → counts → DESeq2; FDR + fold-change thresholds.\n6. **Motifs.** HOMER\u002FMEME on top peaks; check known motif; central enrichment.\n7. **Annotate + visualize.** Genomic distribution, target genes, browser tracks\n   (normalized bigWigs), heatmaps\u002Fmetaplots at peak sets.\n8. **Report.** Antibody (vendor\u002Fcatalog\u002Flot), QC metrics, peak counts, IDR thresholds,\n   GEO deposition.\n\nExample command sketch:\n```bash\nmacs2 callpeak -t chip.bam -c input.bam -f BAM -g hs -n tf_x -q 0.01\n# broad marks:\nmacs2 callpeak -t h3k27me3.bam -c input.bam -f BAM -g hs -n k27 --broad -q 0.05\n```\n\n## Common pitfalls\n\n- Unvalidated antibody (enrichment of nothing, confidently peak-called).\n- No input control (CNV\u002Faccessibility artifacts as \"peaks\").\n- Merged-replicate peak calling without IDR.\n- Venn diagrams instead of quantitative differential binding.\n- Motif \"discovery\" without the known-motif positive control.\n- Nearest-gene assignment for enhancer peaks (often wrong).\n- Ignoring FRiP\u002FNSC failures and interpreting anyway.\n","## Overview\n\nchip-seq-analysis covers chromatin immunoprecipitation sequencing from raw reads to biological\ninterpretation: QC specific to ChIP (fragment size, enrichment metrics), peak calling (MACS2),\ndifferential binding (DiffBind\u002FDESeq2), motif discovery, and annotation of peaks to regulatory\nfunction. ChIP-seq quality is dominated by the antibody — the analysis can only work with what\nthe IP enriched.\n\n## When to use\n\n- Experimental design: antibody validation, controls (input\u002FIgG), replicate numbers, depth.\n- QC: cross-correlation, FRiP, library complexity, strand cross-correlation.\n- Peak calling: MACS2 parameters for narrow (TFs) vs broad (histone marks) peaks.\n- Differential binding: DiffBind, proper count-based statistics.\n- Motif discovery: HOMER, MEME — finding and validating motifs.\n- Peak annotation: genomic distribution, target-gene assignment, overlap analysis.\n- Visualization: genome browser tracks, heatmaps, metaplots.\n\n## Core concepts\n\n- **Antibody first.** Validate by western blot + IP-western or, ideally, ChIP-qPCR on known\n  positive\u002Fnegative loci before sequencing. ENCODE antibody validation guidelines exist for\n  a reason — most failed ChIP-seqs trace to unvalidated antibodies. Polyclonal lot variation\n  is real; record lots.\n- **Controls.** Input (sonicated chromatin, no IP) is the essential control — models local\n  biases (copy number, chromatin accessibility, mappability). IgG controls for non-specific\n  binding but doesn't replace input. Sequence input to comparable depth.\n- **Fragment size.** Sonication\u002FMNase to 200-500 bp; verify on Bioanalyzer before IP.\n  Fragment size determines resolution — and MACS2's shifting model estimates it, but garbage\n  in (kilobase fragments) means garbage out.\n- **QC metrics.** NSC\u002FRSC (normalized\u002Frelative strand cross-correlation — measures\n  clustering of reads; ENCODE thresholds: NSC >1.05, RSC >0.8); FRiP (fraction of reads in\n  peaks — the enrichment summary; good TF ChIP >1%, great >5%; histone marks higher);\n  library complexity (PCR bottleneck coefficient — low complexity = over-amplified);\n  replicate concordance. Check these before peak interpretation.\n- **Peak calling (MACS2).** Narrow peaks (TFs): default MACS2 with q-value cutoff\n  (q\u003C0.01-0.05). Broad peaks (H3K27me3, H3K36me3): `--broad` mode. Always call against\n  input control; don't call peaks on merged replicates then \"validate\" in individuals\n  (call in each, assess overlap — IDR framework for replicate concordance).\n- **IDR (irreproducible discovery rate).** Ranks peaks by consistency across replicates —\n  the principled way to define a consensus peak set. ENCODE standard; use it instead of\n  arbitrary overlap thresholds.\n- **Differential binding.** DiffBind: consensus peak set → count reads per peak per sample\n  → DESeq2\u002FedgeR statistics. This is RNA-seq-style count modeling on peaks — same rules\n  (replicates, FDR, effect sizes). Don't compare peak lists by Venn diagram overlap;\n  test quantitatively.\n- **Motif discovery.** HOMER or MEME-ChIP on top peaks (500-1000 strongest); expect the\n  known motif for the factor (positive control — if the factor's own motif isn't enriched,\n  question the experiment); de novo motifs need validation (don't name a \"novel motif\"\n  from one experiment). Central enrichment of motifs within peaks supports direct binding.\n- **Annotation.** Genomic distribution (promoter\u002Fintronic\u002Fintergenic vs expected); target\n  gene assignment (nearest TSS is crude — use GREAT or activity-by-contact models for\n  enhancers); overlap with other marks (chromatin states via ChromHMM). A peak list without\n  functional annotation is a phone book.\n\n## Practical workflow\n\n1. **Validate antibody.** IP-western\u002FChIP-qPCR before sequencing; record lot.\n2. **Prepare.** Fragment to 200-500 bp; input control; ≥2 biological replicates;\n   20M+ reads for TFs, more for broad marks.\n3. **Align + QC.** Bowtie2\u002FBWA; deduplicate; compute NSC\u002FRSC, FRiP (after preliminary\n   peaks), complexity; check replicate correlation.\n4. **Call peaks.** MACS2 (narrow or broad mode) vs input; IDR across replicates for\n   consensus set.\n5. **Differential.** DiffBind consensus → counts → DESeq2; FDR + fold-change thresholds.\n6. **Motifs.** HOMER\u002FMEME on top peaks; check known motif; central enrichment.\n7. **Annotate + visualize.** Genomic distribution, target genes, browser tracks\n   (normalized bigWigs), heatmaps\u002Fmetaplots at peak sets.\n8. **Report.** Antibody (vendor\u002Fcatalog\u002Flot), QC metrics, peak counts, IDR thresholds,\n   GEO deposition.\n\nExample command sketch:\n```bash\nmacs2 callpeak -t chip.bam -c input.bam -f BAM -g hs -n tf_x -q 0.01\n# broad marks:\nmacs2 callpeak -t h3k27me3.bam -c input.bam -f BAM -g hs -n k27 --broad -q 0.05\n```\n\n## Common pitfalls\n\n- Unvalidated antibody (enrichment of nothing, confidently peak-called).\n- No input control (CNV\u002Faccessibility artifacts as \"peaks\").\n- Merged-replicate peak calling without IDR.\n- Venn diagrams instead of quantitative differential binding.\n- Motif \"discovery\" without the known-motif positive control.\n- Nearest-gene assignment for enhancer peaks (often wrong).\n- Ignoring FRiP\u002FNSC failures and interpreting anyway.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-chip-seq-analysis",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill chip-seq-analysis",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill chip-seq-analysis",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill chip-seq-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-chip-seq-analysis\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]