[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDRY7E1GBMSW2ST18J6VF2":3,"skill-same:01M7EDRY7E1GBMSW2ST18J6VF2":62},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EDRY7E1GBMSW2ST18J6VF2","bio-hi-c-analysis-hichip-plac-loops",null,"Calls significant loops from protein-directed and targeted 3C assays (HiChIP, PLAC-seq, Capture Hi-C\u002FPCHi-C, ChIA-PET) where the contact background is peak-anchored and coverage-biased, so generic Hi-C loop callers (cooltools dots, Juicer HiCCUPS) use the wrong null. Covers FitHiChIP (config-driven coverage+distance-decay spline regression, peak-to-peak vs peak-to-all foreground, loose vs stringent background, coverage vs ICE bias), MAPS (positive Poisson regression on bias factors for PLAC-seq\u002FHiChIP), hichipper (restriction-site-distance bias model + library QC), CHiCAGO (Delaporte two-component Brownian+technical background for asymmetric bait x other-end Capture Hi-C), the with\u002Fwithout separate-ChIP anchor decision, and differential loops via diffloop. Use when calling loops from HiChIP\u002FPLAC-seq\u002FCapture Hi-C, choosing FitHiChIP\u002FMAPS\u002FCHiCAGO, picking peak-to-all vs peak-to-peak, setting the loop FDR, supplying ChIP peaks as anchors, QCing a HiChIP library, or comparing loops between conditions.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-hichip-plac-loops\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-hi-c-analysis-hichip-plac-loops\ndescription: Calls significant loops from protein-directed and targeted 3C assays (HiChIP, PLAC-seq, Capture Hi-C\u002FPCHi-C, ChIA-PET) where the contact background is peak-anchored and coverage-biased, so generic Hi-C loop callers (cooltools dots, Juicer HiCCUPS) use the wrong null. Covers FitHiChIP (config-driven coverage+distance-decay spline regression, peak-to-peak vs peak-to-all foreground, loose vs stringent background, coverage vs ICE bias), MAPS (positive Poisson regression on bias factors for PLAC-seq\u002FHiChIP), hichipper (restriction-site-distance bias model + library QC), CHiCAGO (Delaporte two-component Brownian+technical background for asymmetric bait x other-end Capture Hi-C), the with\u002Fwithout separate-ChIP anchor decision, and differential loops via diffloop. Use when calling loops from HiChIP\u002FPLAC-seq\u002FCapture Hi-C, choosing FitHiChIP\u002FMAPS\u002FCHiCAGO, picking peak-to-all vs peak-to-peak, setting the loop FDR, supplying ChIP peaks as anchors, QCing a HiChIP library, or comparing loops between conditions.\ntool_type: mixed\nprimary_tool: fithichip\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"hi-c-analysis\u002Fhichip-plac-loops\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: FitHiChIP 11.0+, MAPS 1.1+, hichipper 0.7+, CHiCAGO 1.20+ (Bioconductor 3.18+), HiC-Pro 3.1+, diffloop 1.18+ (Bioconductor 3.18+).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- FitHiChIP: read the shipped `configfile` comments; parameter names and defaults change between releases\n- R: `packageVersion('diffloop')`\u002F`packageVersion('Chicago')` then `?function` to check signatures\n\nFitHiChIP is driven entirely by a key=value config file passed with `-C`; the loop caller, background, and bias model are set there, not on the command line. MAPS, hichipper, and CHiCAGO each expect a specific upstream format (HiC-Pro valid pairs \u002F .allValidPairs, or HiCUP+capture design files for CHiCAGO). If a tool errors, introspect the installed version's config\u002Fhelp and adapt the example rather than retrying.\n\n# Protein-Directed and Targeted 3C Loop Calling\n\n**\"My HiChIP\u002FPLAC-seq\u002FCapture Hi-C has loops anchored at CTCF\u002FH3K27ac\u002Fpromoters - which contacts are real?\"** -> Call loops with a method whose null jointly models the per-anchor coverage bias AND the distance-decay, not the uniform\u002Fdonut background that generic Hi-C callers assume.\n- CLI: `bash FitHiChIP_HiCPro.sh -C config_fithichip` (HiChIP\u002FPLAC-seq); edit and run `run_pipeline.sh` (MAPS; it invokes MAPS.py internally) for PLAC-seq\u002FHiChIP\n- R: `runChicago(...)` then PIRs at CHiCAGO score >= 5 (Capture Hi-C\u002FPCHi-C); `quickAssoc()`\u002F`loopAssoc()` (diffloop, differential)\n\n## The Single Most Important Modern Insight -- Generic Hi-C Loop Callers Use the Wrong Null on Peak-Anchored Data\n\nRunning `cooltools dots` or Juicer HiCCUPS on HiChIP, PLAC-seq, or Capture Hi-C is a documented error, not a shortcut. Those callers test each pixel against a *local, roughly-uniform* expected background (a donut\u002Fexpected neighborhood) built for a genome-wide-uniform in-situ Hi-C map. Protein-directed and capture assays violate that assumption in the most consequential way possible: the antibody (or oligo capture) **enriches contacts at the factor's binding sites**, so 1D coverage is wildly non-uniform - an H3K27ac anchor can carry 100x the read depth of a flanking non-peak bin. A donut null reads that coverage spike as contact enrichment and calls a \"loop\" at every peak. The dedicated callers exist precisely to fix this, and they all share one move: **regress out the per-anchor coverage bias before testing the distance-decayed contact frequency.**\n\nThree load-bearing consequences:\n\n1. **The hard part is 3C statistics, and it lives here; the peak-calling half lives in chip-seq.** FitHiChIP\u002FMAPS\u002FCHiCAGO each fit a *significance model* (spline regression on coverage + genomic distance; positive Poisson regression on bias factors; a two-component Brownian+technical background). That model - not the antibody - is the deliverable. Anchor\u002Fpeak calling (where the protein binds) is chip-seq's job (-> chip-seq\u002Fpeak-calling); this skill consumes those peaks and produces FDR-controlled loops.\n\n2. **Protein-targeting buys depth efficiency, so loops are called at far lower total depth than Hi-C.** HiChIP\u002FPLAC-seq concentrate reads onto a small anchored sub-space, needing ~5-10 read pairs per interaction versus ~100-1000 for genome-wide Hi-C (Mumbach 2016: >10x more conformation-informative reads, >100x less input than ChIA-PET). A 100-200M-pair HiChIP library calls loops that would need billions of pairs in Hi-C - but only at the protein's anchors, and only with the right null.\n\n3. **\"Peaks from the same data\" is a circularity trap.** When no separate ChIP-seq exists, HiChIP-derived peaks (hichipper, HiChIP-Peaks) are used as anchors - but calling peaks and loops from the same reads couples the two error structures. Prefer an independent ChIP-seq peak set as the anchor reference when one exists; if not, use a HiChIP-native peak caller and treat anchor confidence as part of the loop's uncertainty, not a given.\n\n## Method Taxonomy\n\n| Tool | Assay | Null \u002F significance model | Anchors | When |\n|------|-------|---------------------------|---------|------|\n| FitHiChIP | HiChIP, PLAC-seq, (CHi-C, ChIA-PET) | spline regression of contact count on coverage bias AND genomic distance; loose (peak-to-all) vs stringent (peak-to-peak) background; coverage-bias or ICE-bias regression | ChIP\u002FHiChIP peak file | default; recovers Hi-C\u002FCHi-C\u002FChIA-PET contacts best (Bhattacharyya 2019); config-driven |\n| MAPS | PLAC-seq, HiChIP | zero-truncated (positive) Poisson regression removing effective-fragment\u002FGC\u002Fmappability AND ChIP-enrichment bias, then test normalized frequency at anchored bins | AND-set vs XOR-set anchored bins | model-based PLAC-seq\u002FHiChIP, 4DN-adopted; two-step (bias model -> significance) |\n| hichipper | HiChIP | background read density modeled as a function of proximity to restriction sites; loop strength + confidence per anchor | self-derived (restriction-aware) | restriction-aware QC + loop calling without separate ChIP; feeds diffloop |\n| CHiCAGO | Capture Hi-C, PCHi-C | Delaporte two-component background: Brownian (distance-dependent, NB) + technical (distance-independent, Poisson), fit per bait; report PIRs at score >= 5 | baited fragments (asymmetric bait x other-end) | promoter\u002Fregion-capture; asymmetric design where dots cannot apply |\n| HiChIP-Peaks | HiChIP | peak calling from HiChIP signal (not loop calling) | n\u002Fa (produces anchors) | when no separate ChIP exists and anchors must come from HiChIP itself |\n| diffloop | any loop set (HiChIP\u002FChIA-PET) | edgeR-style count test on a union loop set across conditions | from the union set | differential looping between conditions (not a caller) |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| HiChIP\u002FPLAC-seq, have a separate ChIP-seq peak set | FitHiChIP with `PeakFile=` the ChIP peaks | independent anchors break the peak\u002Floop circularity; FitHiChIP is the default |\n| PLAC-seq\u002FHiChIP, prefer a regression-model caller | MAPS | positive Poisson regression explicitly removes ChIP-enrichment bias |\n| No separate ChIP; need anchors + library QC fast | hichipper (then FitHiChIP\u002Fdiffloop) | restriction-aware, self-derives anchors, reports library quality |\n| Capture Hi-C \u002F Promoter-Capture Hi-C | CHiCAGO, PIRs at score >= 5 | asymmetric bait x other-end; two-component per-bait background |\n| H3K27ac\u002Fbroad anchors, want sensitivity | FitHiChIP loose (peak-to-all) background | most contacts have at least one peak anchor |\n| CTCF\u002Fcohesin sharp anchors, want specificity | FitHiChIP stringent (peak-to-peak) background | restricts foreground to peak-peak contacts |\n| Compare loops between conditions | -> hic-differential context; quantify with diffloop \u002F FitHiChIP DiffAnalysis | union anchors + count test, not pixel subtraction |\n| Generic in-situ Hi-C (no protein\u002Fcapture) | -> loop-calling (cooltools dots \u002F chromosight) | uniform background is correct there; do NOT use it here |\n| Anchors not yet called | -> chip-seq\u002Fpeak-calling | peak calling is chip-seq's competency; this skill consumes peaks |\n| Annotate loop anchors with TFs\u002Fgenes | -> chip-seq\u002Fpeak-annotation, atac-seq\u002Fenhancer-gene-linking | anchor-to-feature assignment lives there |\n\n## FitHiChIP - Coverage + Distance Spline Regression (default)\n\n**Goal:** Call FDR-controlled loops from a HiChIP\u002FPLAC-seq library whose anchors are defined by an (ideally independent) ChIP-seq peak set.\n\n**Approach:** FitHiChIP reads valid pairs (HiC-Pro format), bins them, fits a spline regression of contact count on BOTH the genomic-distance decay and the per-bin coverage bias, then assigns each candidate contact an FDR. Everything - resolution, foreground type, background, bias model, FDR - is set in a key=value config passed with `-C`; the command line itself takes no analysis parameters.\n\n```bash\n# config_fithichip (key=value; comments stripped). Run: bash FitHiChIP_HiCPro.sh -C config_fithichip\nValidPairs=sample.allValidPairs.gz   # HiC-Pro valid pairs (or set Matrix=\u002FInterval= for matrix input)\nPeakFile=chipseq_peaks.bed           # anchors; prefer an INDEPENDENT ChIP-seq peak set over HiChIP-derived\nChrSizeFile=hg38.chrom.sizes\nOutDir=fithichip_out\u002F\nPREFIX=sample\nBINSIZE=5000                          # 5kb: standard HiChIP anchor resolution (~2.5kb effective, hichipper)\nLowDistThr=20000                      # 20kb floor: below this, contacts are dominated by self-ligation\u002Fdiagonal\nUppDistThr=2000000                    # 2Mb ceiling: loops beyond this are rare and noise-dominated\nIntType=3                             # 3=peak-to-all (loose foreground); 1=peak-to-peak (stringent)\nUseP2PBackgrnd=0                      # 0=loose (peak-to-all) background; 1=stringent (peak-to-peak) background\nBiasType=1                            # 1=coverage-bias regression (default); 2=ICE-bias regression\nMergeInt=1                            # merge adjacent significant contacts into one loop (recommended)\nQVALUE=0.01                           # FDR cutoff for significant loops\n```\n\n`IntType` sets the foreground (which candidate contacts are tested); `UseP2PBackgrnd` sets the background the regression is fit against. The two together encode the loose-vs-stringent choice: peak-to-all foreground + loose background maximizes sensitivity for broad marks (H3K27ac); peak-to-peak foreground + stringent background maximizes specificity for sharp factors (CTCF\u002Fcohesin). Output significant loops land under a nested `OutDir\u002FFitHiChIP_Peak2ALL_b\u003Cbin>_L\u003Clow>_U\u003Cupp>\u002FP2Pbckgr_\u003C0|1>\u002F...\u002F` tree, in `\u003CPREFIX>.interactions_FitHiC_Q\u003CQVALUE>.bed` (and `..._MergeNearContacts.bed` when `MergeInt=1`); locate it with `find OutDir -name '*interactions_FitHiC_Q*.bed'`.\n\n## MAPS - Positive Poisson Regression on Bias Factors\n\n**Goal:** Call PLAC-seq\u002FHiChIP loops with an explicit regression model that removes both the generic 3C biases and the ChIP-enrichment bias.\n\n**Approach:** MAPS is a two-step pipeline: first fit a zero-truncated (positive) Poisson regression of observed contact counts on effective-fragment length, GC content, mappability, and ChIP-enrichment per bin; then test each anchored bin-pair's count against the model-normalized expectation, controlling FDR. It distinguishes AND anchors (both ends in a peak) from XOR anchors (one end), reflecting the peak-to-peak vs peak-to-all distinction.\n\n```bash\n# MAPS is driven by a COPIED run_pipeline.sh with key=value bash variables, not CLI flags.\n# Edit run_pipeline_sample.sh, then run it: .\u002Frun_pipeline_sample.sh\nbin_size=5000                              # 5kb anchor bin\nbinning_range=1000000                      # max interaction distance modeled\nfdr=2                                       # -log10(FDR) cutoff; 2 means FDR \u003C= 0.01\ndataset_name='sample'\nmacs2_filepath='chipseq_peaks.narrowPeak'  # ChIP\u002FHiChIP anchors\norganism='hg38'                            # selects the bundled effective-length\u002FGC\u002Fmappability bias track\n# run_pipeline.sh runs feather (preprocessing) then MAPS.py (positive Poisson regression) internally\n```\n\nThe model-based design is MAPS's signature: it does not subtract a local background; it predicts each bin-pair's expected count from the bias covariates and flags positive residuals. FitHiChIP and MAPS disagree substantially on the same data (the literature reports tens-of-thousands-loop differences at matched FDR) - the model assumptions differ, so report which caller and its settings.\n\n## CHiCAGO - Two-Component Background for Capture Hi-C\n\n**Goal:** Call significant promoter-interacting regions (PIRs) from Capture Hi-C \u002F PCHi-C, where oligo capture makes the map asymmetric (baited fragment x any other-end).\n\n**Approach:** CHiCAGO fits a per-bait background with two components - a Brownian (distance-dependent, negative-binomial) term and a technical-noise (distance-independent, Poisson) term, convolved as a Delaporte distribution - then scores each bait-other-end pair as a weighted -log p-value; report other-ends above the conventional score threshold.\n\n```r\n# Reference: Chicago 1.20+ (Bioconductor 3.18+) | Verify API if version differs\nlibrary(Chicago)\n\nCHICAGO_SCORE \u003C- 5   # conventional PIR threshold (Cairns 2016); soft 3-5 grey zone, >=5 = called\ncd \u003C- setExperiment(designDir = 'capture_design\u002F')         # baitmap\u002Frmap\u002FNPB\u002FNBaitsPB\u002FproxOE from the capture design\ncd \u003C- readAndMerge(files = c('sample_rep1.chinput', 'sample_rep2.chinput'), cd = cd)\ncd \u003C- chicagoPipeline(cd)                                  # fits Brownian+technical background, scores all bait x other-end\nexportResults(cd, file.path('chicago_out', 'sample'), format = 'washU_text')   # PIRs at score >= CHICAGO_SCORE\n```\n\nNeither cooltools dots nor FitHiChIP's symmetric model applies to Capture Hi-C: the bait-vs-other-end asymmetry and the per-bait normalization are the whole point. The capture design files (`baitmap`, `rmap`, and the precomputed `NPB`\u002F`NBaitsPB`\u002F`proxOE` from `makeDesignFiles.py`) encode which fragments were baited and the distance-binned background normalization.\n\n## Differential Loops with diffloop\n\n**Goal:** Find loops that change strength between conditions, given per-condition loop call sets.\n\n**Approach:** Build a UNION loop set across all samples, count the read pairs supporting each loop per replicate, then run an edgeR-style count test on the union set; there is no \"DESeq2 for loops,\" so the union-then-count workflow is the standard.\n\n```r\n# Reference: diffloop 1.18+ (Bioconductor 3.18+) | Verify API if version differs\nlibrary(diffloop)\n\nloops \u003C- loopsMake(beddir = 'hichipper_loops\u002F')            # reads the hichipper-preprocessed loop directory\nloops \u003C- subsetLoops(loops, loops@rowData$loopWidth >= 20000)   # drop sub-20kb (self-ligation regime)\ngroups \u003C- c('wt', 'wt', 'ko', 'ko')\nloops \u003C- updateLDGroups(loops, groups)\nres \u003C- quickAssoc(loops)   # two-group edgeR exact test on the union set; loopAssoc(loops, coef=, design=) for a GLM\n```\n\ndiffloop pairs naturally with hichipper output. FitHiChIP also ships a differential-analysis script (`DiffAnalysisHiChIP.r`); either way the unit of comparison is a union anchor\u002Floop set, not a per-pixel matrix subtraction (-> hic-differential for the matrix-level framing).\n\n## Per-Method Failure Modes\n\n### Generic dots\u002FHiCCUPS on protein-directed data\n**Trigger:** running `cooltools dots` or Juicer HiCCUPS on a HiChIP\u002FPLAC-seq\u002FCapture cooler. **Mechanism:** the donut\u002Flocal-expected null assumes uniform coverage; antibody\u002Fcapture enrichment spikes coverage at anchors. **Symptom:** a \"loop\" at essentially every peak; calls that do not reproduce across replicates. **Fix:** use FitHiChIP\u002FMAPS (HiChIP\u002FPLAC-seq) or CHiCAGO (Capture); they regress out coverage bias.\n\n### Anchors and loops from the same reads (circularity)\n**Trigger:** HiChIP-derived peaks used as the FitHiChIP `PeakFile` when a separate ChIP-seq exists. **Mechanism:** peak and loop errors share a source, inflating apparent confidence at high-coverage anchors. **Symptom:** loops concentrate at the strongest coverage peaks regardless of biology. **Fix:** anchor on an independent ChIP-seq peak set; reserve HiChIP-native peaks for when no ChIP exists.\n\n### Wrong foreground\u002Fbackground pair for the mark\n**Trigger:** stringent peak-to-peak background on a broad H3K27ac library, or loose on sharp CTCF. **Mechanism:** the foreground\u002Fbackground must match the anchor sharpness. **Symptom:** too few loops (over-stringent on broad marks) or noisy excess (over-loose on sharp factors). **Fix:** loose\u002Fpeak-to-all for broad marks; stringent\u002Fpeak-to-peak for CTCF\u002Fcohesin.\n\n### CHiCAGO design files mismatched to the capture\n**Trigger:** baitmap\u002Frmap or precomputed NPB\u002FNBaitsPB\u002FproxOE built for a different fragmentation or bait set. **Mechanism:** the per-bait background normalization depends on the exact capture design. **Symptom:** absurd scores or empty PIR lists. **Fix:** regenerate design files with `makeDesignFiles.py` from the actual rmap\u002Fbaitmap.\n\n### Short-range contacts not excluded\n**Trigger:** `LowDistThr` left at 0 \u002F no distance floor. **Mechanism:** sub-20kb contacts are dominated by the diagonal, self-ligation, and re-ligation, not loops. **Symptom:** a wall of \"loops\" hugging the diagonal. **Fix:** set a distance floor (FitHiChIP `LowDistThr=20000`; equivalent in MAPS\u002FCHiCAGO).\n\n### Chromosome-name mismatch across inputs\n**Trigger:** `chr1` in the valid pairs vs `1` in the peak\u002Fchrom-size file. **Mechanism:** anchors silently fail to intersect the contacts. **Symptom:** few or zero loops, no error. **Fix:** harmonize chromosome naming across valid pairs, PeakFile, and ChrSizeFile.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Loop resolution 5kb (HiChIP) | hichipper effective ~2.5kb (Lareau & Aryee 2018) | standard HiChIP anchor bin; finer needs more depth, coarser blurs anchors |\n| Lower distance floor 20kb | FitHiChIP default; self-ligation\u002Fdiagonal regime | below ~20kb contacts are dominated by religation\u002Fdangling\u002Fdiagonal, not loops |\n| Upper distance ceiling 2Mb | FitHiChIP default | loops beyond ~2Mb are rare and noise-dominated at typical HiChIP depth |\n| Loop FDR (q) \u003C= 0.01 | FitHiChIP\u002FMAPS default | genome-wide candidate-contact testing needs strict FDR; 0.05 acceptable for discovery |\n| CHiCAGO PIR score >= 5 | Cairns 2016 convention | weighted -log p threshold; 3-5 is a soft grey zone, >=5 is called |\n| ~5-10 read pairs per interaction | Mumbach 2016 (HiChIP efficiency) | protein-targeting lets loops be called at far lower depth than Hi-C |\n| MAPS\u002FFitHiChIP at 5-10kb, ~100-300M valid pairs | HiChIP depth practice | anchored sub-space is small, so usable loop resolution arrives well below Hi-C billions |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| A loop at every peak; no replicate reproducibility | generic dots\u002FHiCCUPS used on HiChIP\u002Fcapture | switch to FitHiChIP\u002FMAPS\u002FCHiCAGO |\n| FitHiChIP runs but finds almost nothing | over-stringent background on a broad mark, or wrong `PeakFile` | use loose\u002Fpeak-to-all; verify the peak set matches the antibody |\n| FitHiChIP `PeakFile`\u002F`ChrSizeFile` error | missing mandatory config key or wrong path | every mandatory key (`PeakFile`, `ChrSizeFile`, `OutDir`) must be set |\n| Few\u002Fzero loops, no error | chrom-name mismatch (`chr1` vs `1`) across inputs | harmonize naming across valid pairs, peaks, chrom sizes |\n| CHiCAGO empty\u002Fabsurd PIR list | design files mismatched to the capture | regenerate baitmap\u002Frmap + NPB\u002FNBaitsPB\u002FproxOE with `makeDesignFiles.py` |\n| diffloop `loopsMake` reads nothing | wrong bedpe directory or per-sample naming | point `beddir` at the per-sample hichipper loop bedpe files |\n| Wall of diagonal-hugging loops | no lower distance threshold | set `LowDistThr` (FitHiChIP) \u002F equivalent distance floor |\n\n## References\n\n- Mumbach MR, Rubin AJ, Flynn RA, Dai C, Khavari PA, Greenleaf WJ, Chang HY. 2016. HiChIP: efficient and sensitive analysis of protein-directed genome architecture. *Nat Methods* 13(11):919-922.\n- Fang R, Yu M, Li G, Chee S, Liu T, Schmitt AD, Ren B. 2016. Mapping of long-range chromatin interactions by proximity ligation-assisted ChIP-seq. *Cell Res* 26:1345-1348.\n- Bhattacharyya S, Chandra V, Vijayanand P, Ay F. 2019. Identification of significant chromatin contacts from HiChIP data by FitHiChIP. *Nat Commun* 10:4221.\n- Juric I, Yu M, Abnousi A, Raviram R, Fang R, Zhao Y, Zhang Y, Qiu Y, Hu M, et al. 2019. MAPS: model-based analysis of long-range chromatin interactions from PLAC-seq and HiChIP experiments. *PLoS Comput Biol* 15(4):e1006982.\n- Lareau CA, Aryee MJ. 2018. hichipper: a preprocessing pipeline for calling DNA loops from HiChIP data. *Nat Methods* 15:155-156.\n- Cairns J, Freire-Pritchett P, Wingett SW, Varnai C, Dimond A, Plagnol V, Zerbino D, Schoenfelder S, Javierre BM, Osborne C, Fraser P, Spivakov M. 2016. CHiCAGO: robust detection of DNA looping interactions in Capture Hi-C data. *Genome Biol* 17:127.\n- Lareau CA, Aryee MJ. 2018. diffloop: a computational framework for identifying and analyzing differential DNA loops from sequencing data. *Bioinformatics* 34(4):672-674.\n\n## Related Skills\n\n- loop-calling - The bulk in-situ Hi-C counterpart (cooltools dots \u002F chromosight); correct null there, wrong null here\n- hic-differential - Matrix-level condition comparison framing behind differential loops\n- contact-pairs - Produces the valid pairs (HiC-Pro \u002F pairtools) these callers consume\n- hic-data-io - Cooler handling of the contact maps upstream of anchored loop calling\n- chip-seq\u002Fpeak-calling - Calls the ChIP-seq peaks used as independent loop anchors\n- chip-seq\u002Fpeak-annotation - Annotate loop anchors with TFs\u002Fgenes\n- atac-seq\u002Fenhancer-gene-linking - Enhancer-promoter contacts complement HiChIP\u002FPCHi-C loops\n- genome-intervals\u002Foverlap-significance - Test loop-anchor enrichment at features against a structured null\n","## Version Compatibility\n\nReference examples tested with: FitHiChIP 11.0+, MAPS 1.1+, hichipper 0.7+, CHiCAGO 1.20+ (Bioconductor 3.18+), HiC-Pro 3.1+, diffloop 1.18+ (Bioconductor 3.18+).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- FitHiChIP: read the shipped `configfile` comments; parameter names and defaults change between releases\n- R: `packageVersion('diffloop')`\u002F`packageVersion('Chicago')` then `?function` to check signatures\n\nFitHiChIP is driven entirely by a key=value config file passed with `-C`; the loop caller, background, and bias model are set there, not on the command line. MAPS, hichipper, and CHiCAGO each expect a specific upstream format (HiC-Pro valid pairs \u002F .allValidPairs, or HiCUP+capture design files for CHiCAGO). If a tool errors, introspect the installed version's config\u002Fhelp and adapt the example rather than retrying.\n\n# Protein-Directed and Targeted 3C Loop Calling\n\n**\"My HiChIP\u002FPLAC-seq\u002FCapture Hi-C has loops anchored at CTCF\u002FH3K27ac\u002Fpromoters - which contacts are real?\"** -> Call loops with a method whose null jointly models the per-anchor coverage bias AND the distance-decay, not the uniform\u002Fdonut background that generic Hi-C callers assume.\n- CLI: `bash FitHiChIP_HiCPro.sh -C config_fithichip` (HiChIP\u002FPLAC-seq); edit and run `run_pipeline.sh` (MAPS; it invokes MAPS.py internally) for PLAC-seq\u002FHiChIP\n- R: `runChicago(...)` then PIRs at CHiCAGO score >= 5 (Capture Hi-C\u002FPCHi-C); `quickAssoc()`\u002F`loopAssoc()` (diffloop, differential)\n\n## The Single Most Important Modern Insight -- Generic Hi-C Loop Callers Use the Wrong Null on Peak-Anchored Data\n\nRunning `cooltools dots` or Juicer HiCCUPS on HiChIP, PLAC-seq, or Capture Hi-C is a documented error, not a shortcut. Those callers test each pixel against a *local, roughly-uniform* expected background (a donut\u002Fexpected neighborhood) built for a genome-wide-uniform in-situ Hi-C map. Protein-directed and capture assays violate that assumption in the most consequential way possible: the antibody (or oligo capture) **enriches contacts at the factor's binding sites**, so 1D coverage is wildly non-uniform - an H3K27ac anchor can carry 100x the read depth of a flanking non-peak bin. A donut null reads that coverage spike as contact enrichment and calls a \"loop\" at every peak. The dedicated callers exist precisely to fix this, and they all share one move: **regress out the per-anchor coverage bias before testing the distance-decayed contact frequency.**\n\nThree load-bearing consequences:\n\n1. **The hard part is 3C statistics, and it lives here; the peak-calling half lives in chip-seq.** FitHiChIP\u002FMAPS\u002FCHiCAGO each fit a *significance model* (spline regression on coverage + genomic distance; positive Poisson regression on bias factors; a two-component Brownian+technical background). That model - not the antibody - is the deliverable. Anchor\u002Fpeak calling (where the protein binds) is chip-seq's job (-> chip-seq\u002Fpeak-calling); this skill consumes those peaks and produces FDR-controlled loops.\n\n2. **Protein-targeting buys depth efficiency, so loops are called at far lower total depth than Hi-C.** HiChIP\u002FPLAC-seq concentrate reads onto a small anchored sub-space, needing ~5-10 read pairs per interaction versus ~100-1000 for genome-wide Hi-C (Mumbach 2016: >10x more conformation-informative reads, >100x less input than ChIA-PET). A 100-200M-pair HiChIP library calls loops that would need billions of pairs in Hi-C - but only at the protein's anchors, and only with the right null.\n\n3. **\"Peaks from the same data\" is a circularity trap.** When no separate ChIP-seq exists, HiChIP-derived peaks (hichipper, HiChIP-Peaks) are used as anchors - but calling peaks and loops from the same reads couples the two error structures. Prefer an independent ChIP-seq peak set as the anchor reference when one exists; if not, use a HiChIP-native peak caller and treat anchor confidence as part of the loop's uncertainty, not a given.\n\n## Method Taxonomy\n\n| Tool | Assay | Null \u002F significance model | Anchors | When |\n|------|-------|---------------------------|---------|------|\n| FitHiChIP | HiChIP, PLAC-seq, (CHi-C, ChIA-PET) | spline regression of contact count on coverage bias AND genomic distance; loose (peak-to-all) vs stringent (peak-to-peak) background; coverage-bias or ICE-bias regression | ChIP\u002FHiChIP peak file | default; recovers Hi-C\u002FCHi-C\u002FChIA-PET contacts best (Bhattacharyya 2019); config-driven |\n| MAPS | PLAC-seq, HiChIP | zero-truncated (positive) Poisson regression removing effective-fragment\u002FGC\u002Fmappability AND ChIP-enrichment bias, then test normalized frequency at anchored bins | AND-set vs XOR-set anchored bins | model-based PLAC-seq\u002FHiChIP, 4DN-adopted; two-step (bias model -> significance) |\n| hichipper | HiChIP | background read density modeled as a function of proximity to restriction sites; loop strength + confidence per anchor | self-derived (restriction-aware) | restriction-aware QC + loop calling without separate ChIP; feeds diffloop |\n| CHiCAGO | Capture Hi-C, PCHi-C | Delaporte two-component background: Brownian (distance-dependent, NB) + technical (distance-independent, Poisson), fit per bait; report PIRs at score >= 5 | baited fragments (asymmetric bait x other-end) | promoter\u002Fregion-capture; asymmetric design where dots cannot apply |\n| HiChIP-Peaks | HiChIP | peak calling from HiChIP signal (not loop calling) | n\u002Fa (produces anchors) | when no separate ChIP exists and anchors must come from HiChIP itself |\n| diffloop | any loop set (HiChIP\u002FChIA-PET) | edgeR-style count test on a union loop set across conditions | from the union set | differential looping between conditions (not a caller) |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| HiChIP\u002FPLAC-seq, have a separate ChIP-seq peak set | FitHiChIP with `PeakFile=` the ChIP peaks | independent anchors break the peak\u002Floop circularity; FitHiChIP is the default |\n| PLAC-seq\u002FHiChIP, prefer a regression-model caller | MAPS | positive Poisson regression explicitly removes ChIP-enrichment bias |\n| No separate ChIP; need anchors + library QC fast | hichipper (then FitHiChIP\u002Fdiffloop) | restriction-aware, self-derives anchors, reports library quality |\n| Capture Hi-C \u002F Promoter-Capture Hi-C | CHiCAGO, PIRs at score >= 5 | asymmetric bait x other-end; two-component per-bait background |\n| H3K27ac\u002Fbroad anchors, want sensitivity | FitHiChIP loose (peak-to-all) background | most contacts have at least one peak anchor |\n| CTCF\u002Fcohesin sharp anchors, want specificity | FitHiChIP stringent (peak-to-peak) background | restricts foreground to peak-peak contacts |\n| Compare loops between conditions | -> hic-differential context; quantify with diffloop \u002F FitHiChIP DiffAnalysis | union anchors + count test, not pixel subtraction |\n| Generic in-situ Hi-C (no protein\u002Fcapture) | -> loop-calling (cooltools dots \u002F chromosight) | uniform background is correct there; do NOT use it here |\n| Anchors not yet called | -> chip-seq\u002Fpeak-calling | peak calling is chip-seq's competency; this skill consumes peaks |\n| Annotate loop anchors with TFs\u002Fgenes | -> chip-seq\u002Fpeak-annotation, atac-seq\u002Fenhancer-gene-linking | anchor-to-feature assignment lives there |\n\n## FitHiChIP - Coverage + Distance Spline Regression (default)\n\n**Goal:** Call FDR-controlled loops from a HiChIP\u002FPLAC-seq library whose anchors are defined by an (ideally independent) ChIP-seq peak set.\n\n**Approach:** FitHiChIP reads valid pairs (HiC-Pro format), bins them, fits a spline regression of contact count on BOTH the genomic-distance decay and the per-bin coverage bias, then assigns each candidate contact an FDR. Everything - resolution, foreground type, background, bias model, FDR - is set in a key=value config passed with `-C`; the command line itself takes no analysis parameters.\n\n```bash\n# config_fithichip (key=value; comments stripped). Run: bash FitHiChIP_HiCPro.sh -C config_fithichip\nValidPairs=sample.allValidPairs.gz   # HiC-Pro valid pairs (or set Matrix=\u002FInterval= for matrix input)\nPeakFile=chipseq_peaks.bed           # anchors; prefer an INDEPENDENT ChIP-seq peak set over HiChIP-derived\nChrSizeFile=hg38.chrom.sizes\nOutDir=fithichip_out\u002F\nPREFIX=sample\nBINSIZE=5000                          # 5kb: standard HiChIP anchor resolution (~2.5kb effective, hichipper)\nLowDistThr=20000                      # 20kb floor: below this, contacts are dominated by self-ligation\u002Fdiagonal\nUppDistThr=2000000                    # 2Mb ceiling: loops beyond this are rare and noise-dominated\nIntType=3                             # 3=peak-to-all (loose foreground); 1=peak-to-peak (stringent)\nUseP2PBackgrnd=0                      # 0=loose (peak-to-all) background; 1=stringent (peak-to-peak) background\nBiasType=1                            # 1=coverage-bias regression (default); 2=ICE-bias regression\nMergeInt=1                            # merge adjacent significant contacts into one loop (recommended)\nQVALUE=0.01                           # FDR cutoff for significant loops\n```\n\n`IntType` sets the foreground (which candidate contacts are tested); `UseP2PBackgrnd` sets the background the regression is fit against. The two together encode the loose-vs-stringent choice: peak-to-all foreground + loose background maximizes sensitivity for broad marks (H3K27ac); peak-to-peak foreground + stringent background maximizes specificity for sharp factors (CTCF\u002Fcohesin). Output significant loops land under a nested `OutDir\u002FFitHiChIP_Peak2ALL_b\u003Cbin>_L\u003Clow>_U\u003Cupp>\u002FP2Pbckgr_\u003C0|1>\u002F...\u002F` tree, in `\u003CPREFIX>.interactions_FitHiC_Q\u003CQVALUE>.bed` (and `..._MergeNearContacts.bed` when `MergeInt=1`); locate it with `find OutDir -name '*interactions_FitHiC_Q*.bed'`.\n\n## MAPS - Positive Poisson Regression on Bias Factors\n\n**Goal:** Call PLAC-seq\u002FHiChIP loops with an explicit regression model that removes both the generic 3C biases and the ChIP-enrichment bias.\n\n**Approach:** MAPS is a two-step pipeline: first fit a zero-truncated (positive) Poisson regression of observed contact counts on effective-fragment length, GC content, mappability, and ChIP-enrichment per bin; then test each anchored bin-pair's count against the model-normalized expectation, controlling FDR. It distinguishes AND anchors (both ends in a peak) from XOR anchors (one end), reflecting the peak-to-peak vs peak-to-all distinction.\n\n```bash\n# MAPS is driven by a COPIED run_pipeline.sh with key=value bash variables, not CLI flags.\n# Edit run_pipeline_sample.sh, then run it: .\u002Frun_pipeline_sample.sh\nbin_size=5000                              # 5kb anchor bin\nbinning_range=1000000                      # max interaction distance modeled\nfdr=2                                       # -log10(FDR) cutoff; 2 means FDR \u003C= 0.01\ndataset_name='sample'\nmacs2_filepath='chipseq_peaks.narrowPeak'  # ChIP\u002FHiChIP anchors\norganism='hg38'                            # selects the bundled effective-length\u002FGC\u002Fmappability bias track\n# run_pipeline.sh runs feather (preprocessing) then MAPS.py (positive Poisson regression) internally\n```\n\nThe model-based design is MAPS's signature: it does not subtract a local background; it predicts each bin-pair's expected count from the bias covariates and flags positive residuals. FitHiChIP and MAPS disagree substantially on the same data (the literature reports tens-of-thousands-loop differences at matched FDR) - the model assumptions differ, so report which caller and its settings.\n\n## CHiCAGO - Two-Component Background for Capture Hi-C\n\n**Goal:** Call significant promoter-interacting regions (PIRs) from Capture Hi-C \u002F PCHi-C, where oligo capture makes the map asymmetric (baited fragment x any other-end).\n\n**Approach:** CHiCAGO fits a per-bait background with two components - a Brownian (distance-dependent, negative-binomial) term and a technical-noise (distance-independent, Poisson) term, convolved as a Delaporte distribution - then scores each bait-other-end pair as a weighted -log p-value; report other-ends above the conventional score threshold.\n\n```r\n# Reference: Chicago 1.20+ (Bioconductor 3.18+) | Verify API if version differs\nlibrary(Chicago)\n\nCHICAGO_SCORE \u003C- 5   # conventional PIR threshold (Cairns 2016); soft 3-5 grey zone, >=5 = called\ncd \u003C- setExperiment(designDir = 'capture_design\u002F')         # baitmap\u002Frmap\u002FNPB\u002FNBaitsPB\u002FproxOE from the capture design\ncd \u003C- readAndMerge(files = c('sample_rep1.chinput', 'sample_rep2.chinput'), cd = cd)\ncd \u003C- chicagoPipeline(cd)                                  # fits Brownian+technical background, scores all bait x other-end\nexportResults(cd, file.path('chicago_out', 'sample'), format = 'washU_text')   # PIRs at score >= CHICAGO_SCORE\n```\n\nNeither cooltools dots nor FitHiChIP's symmetric model applies to Capture Hi-C: the bait-vs-other-end asymmetry and the per-bait normalization are the whole point. The capture design files (`baitmap`, `rmap`, and the precomputed `NPB`\u002F`NBaitsPB`\u002F`proxOE` from `makeDesignFiles.py`) encode which fragments were baited and the distance-binned background normalization.\n\n## Differential Loops with diffloop\n\n**Goal:** Find loops that change strength between conditions, given per-condition loop call sets.\n\n**Approach:** Build a UNION loop set across all samples, count the read pairs supporting each loop per replicate, then run an edgeR-style count test on the union set; there is no \"DESeq2 for loops,\" so the union-then-count workflow is the standard.\n\n```r\n# Reference: diffloop 1.18+ (Bioconductor 3.18+) | Verify API if version differs\nlibrary(diffloop)\n\nloops \u003C- loopsMake(beddir = 'hichipper_loops\u002F')            # reads the hichipper-preprocessed loop directory\nloops \u003C- subsetLoops(loops, loops@rowData$loopWidth >= 20000)   # drop sub-20kb (self-ligation regime)\ngroups \u003C- c('wt', 'wt', 'ko', 'ko')\nloops \u003C- updateLDGroups(loops, groups)\nres \u003C- quickAssoc(loops)   # two-group edgeR exact test on the union set; loopAssoc(loops, coef=, design=) for a GLM\n```\n\ndiffloop pairs naturally with hichipper output. FitHiChIP also ships a differential-analysis script (`DiffAnalysisHiChIP.r`); either way the unit of comparison is a union anchor\u002Floop set, not a per-pixel matrix subtraction (-> hic-differential for the matrix-level framing).\n\n## Per-Method Failure Modes\n\n### Generic dots\u002FHiCCUPS on protein-directed data\n**Trigger:** running `cooltools dots` or Juicer HiCCUPS on a HiChIP\u002FPLAC-seq\u002FCapture cooler. **Mechanism:** the donut\u002Flocal-expected null assumes uniform coverage; antibody\u002Fcapture enrichment spikes coverage at anchors. **Symptom:** a \"loop\" at essentially every peak; calls that do not reproduce across replicates. **Fix:** use FitHiChIP\u002FMAPS (HiChIP\u002FPLAC-seq) or CHiCAGO (Capture); they regress out coverage bias.\n\n### Anchors and loops from the same reads (circularity)\n**Trigger:** HiChIP-derived peaks used as the FitHiChIP `PeakFile` when a separate ChIP-seq exists. **Mechanism:** peak and loop errors share a source, inflating apparent confidence at high-coverage anchors. **Symptom:** loops concentrate at the strongest coverage peaks regardless of biology. **Fix:** anchor on an independent ChIP-seq peak set; reserve HiChIP-native peaks for when no ChIP exists.\n\n### Wrong foreground\u002Fbackground pair for the mark\n**Trigger:** stringent peak-to-peak background on a broad H3K27ac library, or loose on sharp CTCF. **Mechanism:** the foreground\u002Fbackground must match the anchor sharpness. **Symptom:** too few loops (over-stringent on broad marks) or noisy excess (over-loose on sharp factors). **Fix:** loose\u002Fpeak-to-all for broad marks; stringent\u002Fpeak-to-peak for CTCF\u002Fcohesin.\n\n### CHiCAGO design files mismatched to the capture\n**Trigger:** baitmap\u002Frmap or precomputed NPB\u002FNBaitsPB\u002FproxOE built for a different fragmentation or bait set. **Mechanism:** the per-bait background normalization depends on the exact capture design. **Symptom:** absurd scores or empty PIR lists. **Fix:** regenerate design files with `makeDesignFiles.py` from the actual rmap\u002Fbaitmap.\n\n### Short-range contacts not excluded\n**Trigger:** `LowDistThr` left at 0 \u002F no distance floor. **Mechanism:** sub-20kb contacts are dominated by the diagonal, self-ligation, and re-ligation, not loops. **Symptom:** a wall of \"loops\" hugging the diagonal. **Fix:** set a distance floor (FitHiChIP `LowDistThr=20000`; equivalent in MAPS\u002FCHiCAGO).\n\n### Chromosome-name mismatch across inputs\n**Trigger:** `chr1` in the valid pairs vs `1` in the peak\u002Fchrom-size file. **Mechanism:** anchors silently fail to intersect the contacts. **Symptom:** few or zero loops, no error. **Fix:** harmonize chromosome naming across valid pairs, PeakFile, and ChrSizeFile.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Loop resolution 5kb (HiChIP) | hichipper effective ~2.5kb (Lareau & Aryee 2018) | standard HiChIP anchor bin; finer needs more depth, coarser blurs anchors |\n| Lower distance floor 20kb | FitHiChIP default; self-ligation\u002Fdiagonal regime | below ~20kb contacts are dominated by religation\u002Fdangling\u002Fdiagonal, not loops |\n| Upper distance ceiling 2Mb | FitHiChIP default | loops beyond ~2Mb are rare and noise-dominated at typical HiChIP depth |\n| Loop FDR (q) \u003C= 0.01 | FitHiChIP\u002FMAPS default | genome-wide candidate-contact testing needs strict FDR; 0.05 acceptable for discovery |\n| CHiCAGO PIR score >= 5 | Cairns 2016 convention | weighted -log p threshold; 3-5 is a soft grey zone, >=5 is called |\n| ~5-10 read pairs per interaction | Mumbach 2016 (HiChIP efficiency) | protein-targeting lets loops be called at far lower depth than Hi-C |\n| MAPS\u002FFitHiChIP at 5-10kb, ~100-300M valid pairs | HiChIP depth practice | anchored sub-space is small, so usable loop resolution arrives well below Hi-C billions |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| A loop at every peak; no replicate reproducibility | generic dots\u002FHiCCUPS used on HiChIP\u002Fcapture | switch to FitHiChIP\u002FMAPS\u002FCHiCAGO |\n| FitHiChIP runs but finds almost nothing | over-stringent background on a broad mark, or wrong `PeakFile` | use loose\u002Fpeak-to-all; verify the peak set matches the antibody |\n| FitHiChIP `PeakFile`\u002F`ChrSizeFile` error | missing mandatory config key or wrong path | every mandatory key (`PeakFile`, `ChrSizeFile`, `OutDir`) must be set |\n| Few\u002Fzero loops, no error | chrom-name mismatch (`chr1` vs `1`) across inputs | harmonize naming across valid pairs, peaks, chrom sizes |\n| CHiCAGO empty\u002Fabsurd PIR list | design files mismatched to the capture | regenerate baitmap\u002Frmap + NPB\u002FNBaitsPB\u002FproxOE with `makeDesignFiles.py` |\n| diffloop `loopsMake` reads nothing | wrong bedpe directory or per-sample naming | point `beddir` at the per-sample hichipper loop bedpe files |\n| Wall of diagonal-hugging loops | no lower distance threshold | set `LowDistThr` (FitHiChIP) \u002F equivalent distance floor |\n\n## References\n\n- Mumbach MR, Rubin AJ, Flynn RA, Dai C, Khavari PA, Greenleaf WJ, Chang HY. 2016. HiChIP: efficient and sensitive analysis of protein-directed genome architecture. *Nat Methods* 13(11):919-922.\n- Fang R, Yu M, Li G, Chee S, Liu T, Schmitt AD, Ren B. 2016. Mapping of long-range chromatin interactions by proximity ligation-assisted ChIP-seq. *Cell Res* 26:1345-1348.\n- Bhattacharyya S, Chandra V, Vijayanand P, Ay F. 2019. Identification of significant chromatin contacts from HiChIP data by FitHiChIP. *Nat Commun* 10:4221.\n- Juric I, Yu M, Abnousi A, Raviram R, Fang R, Zhao Y, Zhang Y, Qiu Y, Hu M, et al. 2019. MAPS: model-based analysis of long-range chromatin interactions from PLAC-seq and HiChIP experiments. *PLoS Comput Biol* 15(4):e1006982.\n- Lareau CA, Aryee MJ. 2018. hichipper: a preprocessing pipeline for calling DNA loops from HiChIP data. *Nat Methods* 15:155-156.\n- Cairns J, Freire-Pritchett P, Wingett SW, Varnai C, Dimond A, Plagnol V, Zerbino D, Schoenfelder S, Javierre BM, Osborne C, Fraser P, Spivakov M. 2016. CHiCAGO: robust detection of DNA looping interactions in Capture Hi-C data. *Genome Biol* 17:127.\n- Lareau CA, Aryee MJ. 2018. diffloop: a computational framework for identifying and analyzing differential DNA loops from sequencing data. *Bioinformatics* 34(4):672-674.\n\n## Related Skills\n\n- loop-calling - The bulk in-situ Hi-C counterpart (cooltools dots \u002F chromosight); correct null there, wrong null here\n- hic-differential - Matrix-level condition comparison framing behind differential loops\n- contact-pairs - Produces the valid pairs (HiC-Pro \u002F pairtools) these callers consume\n- hic-data-io - Cooler handling of the contact maps upstream of anchored loop calling\n- chip-seq\u002Fpeak-calling - Calls the ChIP-seq peaks used as independent loop anchors\n- chip-seq\u002Fpeak-annotation - Annotate loop anchors with TFs\u002Fgenes\n- atac-seq\u002Fenhancer-gene-linking - Enhancer-promoter contacts complement HiChIP\u002FPCHi-C loops\n- genome-intervals\u002Foverlap-significance - Test loop-anchor enrichment at features against a structured null\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","mixed","2026-09-20","hi-c-analysis\u002Fhichip-plac-loops\u002FSKILL.md","fithichip","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-hichip-plac-loops","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-hi-c-analysis-hichip-plac-loops",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-hi-c-analysis-hichip-plac-loops",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-hi-c-analysis-hichip-plac-loops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-hichip-plac-loops\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Frun_fithichip.sh","SCRIPT","脚本",1947,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-hichip-plac-loops\u002Fexamples\u002Frun_fithichip.sh",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"usage-guide.md","REFERENCE","参考文档",6859,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-hichip-plac-loops\u002Fusage-guide.md",[63,71,78,85,92,99],{"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":70},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":70},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":70},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]