[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EGM3RQF41832ZXY43GGE4T":3,"skill-same:01M7EGM3RQF41832ZXY43GGE4T":79},{"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":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":66},"01M7EGM3RQF41832ZXY43GGE4T","bio-workflows-hic-pipeline",null,"End-to-end Hi-C analysis workflow from FASTQ to compartments, TADs, and loops, with the decision of WHICH features the sequencing depth can support. Covers pairtools read-pair processing and library QC, cooler matrices, ICE balancing and distance-decay expected, A\u002FB compartments, TAD boundaries, loop calling, and the routing of HiChIP\u002FPLAC-seq\u002FCapture Hi-C to protein-directed loop callers. Use when processing Hi-C data end to end, deciding a resolution for a given depth, or choosing between bulk-Hi-C and protein-directed loop calling.","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-workflows-hic-pipeline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-workflows-hic-pipeline\ndescription: End-to-end Hi-C analysis workflow from FASTQ to compartments, TADs, and loops, with the decision of WHICH features the sequencing depth can support. Covers pairtools read-pair processing and library QC, cooler matrices, ICE balancing and distance-decay expected, A\u002FB compartments, TAD boundaries, loop calling, and the routing of HiChIP\u002FPLAC-seq\u002FCapture Hi-C to protein-directed loop callers. Use when processing Hi-C data end to end, deciding a resolution for a given depth, or choosing between bulk-Hi-C and protein-directed loop calling.\ntool_type: mixed\nprimary_tool: cooler\nworkflow: true\ndepends_on:\n  - hi-c-analysis\u002Fcontact-pairs\n  - hi-c-analysis\u002Fhic-data-io\n  - hi-c-analysis\u002Fmatrix-operations\n  - hi-c-analysis\u002Fcompartment-analysis\n  - hi-c-analysis\u002Ftad-detection\n  - hi-c-analysis\u002Floop-calling\n  - hi-c-analysis\u002Fhic-visualization\n  - hi-c-analysis\u002Fhic-differential\n  - hi-c-analysis\u002Fhichip-plac-loops\nqc_checkpoints:\n  - after_pairs: \"Long-range cis (>=20kb) fraction, not just %valid; trans is genome-size-dependent\"\n  - after_balance: \"balance=True returns finite weights; masked bins are NaN by design\"\n  - after_analysis: \"Eigenvector sign phased by GC; feature scale matches the resolution\"\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"workflows\u002Fhic-pipeline\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: BWA-MEM2 2.2.1+, cooler 0.10+, cooltools 0.7+, bioframe 0.7+, matplotlib 3.8+, pairtools 1.1+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\n# Hi-C Pipeline\n\n**\"Analyze my Hi-C data from FASTQ to 3D genome features\"** -> Process read pairs and judge library quality, build and balance a cooler, then call ONLY the features the depth can support: compartments are cheap, TADs need moderate depth, de-novo loops need billions of contacts.\n\nComplete workflow for Hi-C chromosome conformation capture analysis.\n\n## The Decision That Frames the Whole Pipeline -- depth dictates the feature\n\nContacts scale with the SQUARE of the bin count, so the affordable resolution is set by depth, not ambition. Read `hi-c-analysis\u002Fmatrix-operations` for the budget; the rule of thumb is ~1000 contacts\u002Fbin. Compartments (100kb-1Mb) come from almost any library; TAD boundaries (10-40kb) need a moderate map; de-novo loop calling (5-10kb dots) needed ~5 billion contacts in Rao 2014. On a shallow map, do NOT de-novo call loops -- run aggregate peak analysis (APA) on known CTCF\u002Fcohesin anchors instead (`hi-c-analysis\u002Floop-calling`).\n\nProtein-directed assays branch here: HiChIP, PLAC-seq, and Capture Hi-C have non-uniform peak-anchored coverage, so generic dots\u002FHiCCUPS use the wrong null. Route them to `hi-c-analysis\u002Fhichip-plac-loops` (FitHiChIP\u002FMAPS\u002FCHiCAGO), NOT to step 6 below.\n\n## Workflow Overview\n\n```\nHi-C FASTQ files\n    |\n    v\n[1. Alignment & Pairs] --> bwa-mem2 -SP5M + pairtools (parse\u002Fsort\u002Fdedup\u002Fsplit)\n    |                       QC: long-range cis fraction is the one-number readout\n    v\n[2. Matrix Generation] --> cooler cload + zoomify (sum RAW, re-balance per resolution)\n    |\n    v\n[3. Balancing] --------> ICE (cooler balance); REQUIRED before any analysis\n    |\n    v\n[4. Compartments 100kb] -> eigs_cis, sign-phased by GC (E1 is a choice, not an output)\n    |\n    v\n[5. TADs 10kb] ---------> insulation score across a window sweep (boundaries, not domains)\n    |\n    v\n[6. Loops 10kb] --------> cooltools dots IF deep; else APA on known anchors\n    |\n    v\nHi-C features (compartments \u002F boundaries \u002F loops)\n```\n\n## Step 1: Alignment and Pair Processing\n\n**Goal:** Turn raw Hi-C FASTQ into a deduplicated, classified `.pairs` list and judge whether the library worked.\n\n**Approach:** Align the two mates independently with `bwa-mem2 -SP5M` (proper pairing would destroy long-range contacts), then parse, sort, deduplicate, and split with pairtools, reading the long-range cis fraction as the go\u002Fno-go.\n\n```bash\n# Pass BOTH mates to ONE bwa-mem2 call. -SP5M: -S\u002F-P make bwa treat the mates as single-end and\n# skip proper-pair rescue (so long-range contacts survive), while both sides are still emitted for\n# pairtools to form the pair; -5 reports the 5'-most alignment of split reads, -M flags secondaries.\nbwa-mem2 mem -SP5M -t 16 reference.fa reads_R1.fastq.gz reads_R2.fastq.gz | \\\n    pairtools parse --min-mapq 40 --walks-policy 5unique \\\n    --max-inter-align-gap 30 --nproc-in 8 --nproc-out 8 \\\n    --chroms-path reference.genome | \\\n    pairtools sort --nproc 16 --tmpdir .\u002Ftmp | \\\n    pairtools dedup --nproc-in 8 --nproc-out 8 \\\n    --mark-dups --output-stats stats.txt | \\\n    pairtools split --nproc-in 8 --output-pairs sample.pairs.gz\n```\n\n**QC Checkpoint:** read `pairtools stats` as the go\u002Fno-go. The one-number readout is the LONG-RANGE cis fraction (>=20kb), not bare %valid: short-range cis is inflated by dangling ends and self-circles. Trans fraction is a noise floor but its acceptable value is genome-size-dependent (a human \u003C10% threshold is meaningless for a microbe). High duplicate rate = low library complexity (not rescuable by sequencing deeper). See `hi-c-analysis\u002Fcontact-pairs` for the orientation-balance QC and the Micro-C\u002FArima variants.\n\n## Step 2: Generate Contact Matrix\n\n```bash\n# Create cooler file at multiple resolutions\ncooler cload pairs \\\n    -c1 2 -p1 3 -c2 4 -p2 5 \\\n    reference.genome:1000 \\\n    sample.pairs.gz \\\n    sample.1000.cool\n\n# Multi-resolution (mcool)\ncooler zoomify sample.1000.cool \\\n    -r 1000,2000,5000,10000,25000,50000,100000,250000,500000,1000000 \\\n    -o sample.mcool\n```\n\n## Step 3: Normalization (ICE Balancing)\n\n**Goal:** ICE-balance the matrix so every bin has equal marginal coverage, without letting empty\u002Fartifact bins corrupt the result.\n\n**Approach:** Mask low-coverage and blacklist bins BEFORE balancing, then balance per resolution. ICE assumes equal visibility per bin, so an unmasked empty or repeat\u002Fblacklist bin is iteratively up-weighted into a bright stripe artifact; `mad_max` filters bins whose coverage is `mad_max` MADs below the median, and a blacklist\u002F`--blacklist` (or pre-masking bad bins) removes known artifacts. Balancing is REQUIRED before any analysis, but it does NOT make two maps comparable across conditions — that needs depth-matching + distance-stratified normalization (hi-c-analysis\u002Fhic-differential).\n\n```python\nimport cooler\nimport cooltools\n\n# Mask before balancing: mad_max drops low-coverage bins that would otherwise become stripes.\n# Balance EVERY resolution the downstream steps analyze -- weights are resolution-specific, and an\n# unbalanced cooler has no 'weight' column, so cooltools (eigs_cis, insulation, dots) fails on it.\n# Steps 4-6 below use 100kb (compartments) and 10kb (loops and insulation).\nfor res in (10000, 25000, 100000):\n    clr = cooler.Cooler(f'sample.mcool::\u002Fresolutions\u002F{res}')\n    cooler.balance_cooler(clr, store=True, mad_max=5, ignore_diags=2, min_nnz=10)   # masked bins are NaN by design\n\n# CLI equivalent (add --blacklist regions.bed to remove known-artifact bins first):\n# for res in 10000 25000 100000; do cooler balance --mad-max 5 --ignore-diags 2 --min-nnz 10 sample.mcool::\u002Fresolutions\u002F${res}; done\n```\n\n## Step 4: Compartment Analysis\n\n**Goal:** Assign each genomic bin to the active (A) or inactive (B) compartment with a non-arbitrary sign.\n\n**Approach:** At a coarse 100kb resolution, compute the cis eigenvector and orient it with a GC phasing track so positive E1 is the active compartment (the sign is arbitrary without it).\n\n```python\nimport cooler\nimport cooltools\nimport bioframe\nimport numpy as np\n\n# Compartments are coarse-scale: 100kb, balanced matrix\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F100000')\n\n# Phasing track is NOT optional: the eigenvector sign is arbitrary. A GC track\n# (matching the cooler binning exactly) orients positive E1 to the active (A) compartment.\nview_df = bioframe.make_viewframe(clr.chromsizes)\ngc = bioframe.frac_gc(clr.bins()[:][['chrom', 'start', 'end']], bioframe.load_fasta('reference.fa'))\n\neig_values, eig_vectors = cooltools.eigs_cis(clr, gc, view_df=view_df, n_eigs=3)\ncompartments = eig_vectors[['chrom', 'start', 'end', 'E1']].copy()\n# Masked bins have E1 = NaN; NaN > 0 is False, so guard or a bare np.where mislabels them all 'B'.\ncompartments['compartment'] = np.where(compartments['E1'].isna(), None, np.where(compartments['E1'] > 0, 'A', 'B'))\ncompartments.to_csv('compartments.tsv', sep='\\t', index=False)\n```\n\n## Step 5: TAD Detection\n\n**Goal:** Locate domain boundaries at the sub-Mb scale.\n\n**Approach:** Compute the insulation score across a window sweep at 10kb and read the `is_boundary`\u002F`boundary_strength` columns the function returns directly (report boundaries, not a fixed domain partition).\n\n```python\nimport cooltools\n\n# Load matrix at TAD resolution\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F10000')\n\n# Insulation across a window sweep; the function already returns boundary columns\n# (is_boundary_\u003CW>, boundary_strength_\u003CW>) -- there is no separate find_boundaries call.\nins = cooltools.insulation(clr, window_bp=[100000, 200000, 500000])\n\n# Boundaries at the 200kb window; keep the continuous strength (comparable across samples).\n# is_boundary is NaN for bad\u002Flow-mappability bins; fillna(False) before masking or pandas raises.\nboundaries = ins[ins['is_boundary_200000'].fillna(False).astype(bool)][['chrom', 'start', 'end', 'boundary_strength_200000']]\nboundaries.to_csv('tad_boundaries.tsv', sep='\\t', index=False)\n\n# Alternative: use HiCExplorer\n# hicFindTADs -m sample.cool --outPrefix tads --correctForMultipleTesting fdr\n```\n\n## Step 6: Loop Calling\n\n**Goal:** Detect focal CTCF\u002Fenhancer-promoter contacts, but only when the map is deep enough to support de-novo calling.\n\n**Approach:** Compute a distance-matched expected, then run `cooltools dots` on a deep map; on a shallow library, skip de-novo calling and run APA on known anchors instead.\n\n```python\nimport cooltools\n\n# Load high-resolution matrix\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F10000')\n\n# De-novo dot calling is only honest on a DEEP map (Rao 2014 used ~5B contacts).\n# On a shallow library, skip this and run APA on known anchors (see loop-calling).\nexpected = cooltools.expected_cis(clr)\nloops = cooltools.dots(clr, expected, max_loci_separation=2000000, nproc=4)\nloops.to_csv('loops.tsv', sep='\\t', index=False)\n\n# Alternative caller (template matching): chromosight\n# chromosight detect --pattern loops sample.mcool::\u002Fresolutions\u002F10000 loops\n# For HiChIP\u002FPLAC-seq\u002FCapture Hi-C do NOT use dots -> hi-c-analysis\u002Fhichip-plac-loops\n```\n\n## Step 7: Visualization\n\n```python\nimport matplotlib.pyplot as plt\nfrom matplotlib.colors import LogNorm\nimport cooltools.lib.plotting   # registers the 'fall' cmap; if unavailable in your stack, use 'afmhot_r'\n\n# A square balanced map on a log scale; importing cooltools.lib.plotting registers 'fall'.\n# Show O\u002FE with a symmetric diverging cmap to see compartments\u002Floops (see hic-visualization).\nmat = clr.matrix(balance=True).fetch('chr1:50000000-60000000')\nfig, ax = plt.subplots(figsize=(8, 8))\nax.matshow(mat, norm=LogNorm(vmax=mat[mat > 0].max() * 0.5), cmap='fall')\nplt.savefig('hic_matrix.pdf')\n\n# Triangle\u002Ftrack-stacked browser views: use pyGenomeTracks or HiCExplorer hicPlotTADs\n# (data-visualization\u002Fgenome-tracks), not a hand-rolled rotation.\n```\n\n## Complete Pipeline Script\n\n```bash\n#!\u002Fbin\u002Fbash\nset -e\n\nTHREADS=16\nREF=\"reference.fa\"\nGENOME=\"reference.genome\"\nR1=\"sample_R1.fastq.gz\"\nR2=\"sample_R2.fastq.gz\"\nOUTDIR=\"hic_results\"\n\nmkdir -p ${OUTDIR}\u002F{pairs,cool,analysis}\n\n# Step 1: Alignment and pairs\necho \"=== Alignment ===\"\nbwa-mem2 mem -SP5M -t ${THREADS} ${REF} ${R1} ${R2} | \\\n    pairtools parse --min-mapq 40 --walks-policy 5unique \\\n    --chroms-path ${GENOME} | \\\n    pairtools sort --nproc ${THREADS} --tmpdir .\u002Ftmp | \\\n    pairtools dedup --mark-dups --output-stats ${OUTDIR}\u002Fpairs\u002Fstats.txt | \\\n    pairtools split --output-pairs ${OUTDIR}\u002Fpairs\u002Fsample.pairs.gz\n\n# Step 2: Generate matrix\necho \"=== Matrix Generation ===\"\ncooler cload pairs -c1 2 -p1 3 -c2 4 -p2 5 \\\n    ${GENOME}:1000 ${OUTDIR}\u002Fpairs\u002Fsample.pairs.gz ${OUTDIR}\u002Fcool\u002Fsample.1000.cool\n\ncooler zoomify ${OUTDIR}\u002Fcool\u002Fsample.1000.cool \\\n    -r 1000,5000,10000,25000,50000,100000,500000 \\\n    -o ${OUTDIR}\u002Fcool\u002Fsample.mcool\n\n# Step 3: Balance\necho \"=== Balancing ===\"\nfor res in 10000 25000 100000; do\n    cooler balance ${OUTDIR}\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F${res}\ndone\n\necho \"=== Pipeline Complete ===\"\necho \"Run Python script for compartments, TADs, and loops\"\n```\n\n## Python Analysis Script\n\n```python\nimport cooler\nimport cooltools\nimport bioframe\nimport os\n\noutdir = 'hic_results\u002Fanalysis'\nos.makedirs(outdir, exist_ok=True)\n\n# Compartments (100kb) -- pass a GC phasing track (Step 4) so the sign is meaningful;\n# eigs_cis without phasing returns an arbitrary-sign eigenvector.\nprint('Compartments...')\nclr = cooler.Cooler('hic_results\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F100000')\ngc = bioframe.frac_gc(clr.bins()[:][['chrom', 'start', 'end']], bioframe.load_fasta('reference.fa'))\neig_values, eig_vectors = cooltools.eigs_cis(clr, gc, n_eigs=3)\neig_vectors.to_csv(f'{outdir}\u002Fcompartments.tsv', sep='\\t', index=False)\n\n# TADs (10kb)\nprint('TADs...')\nclr = cooler.Cooler('hic_results\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F10000')\ninsulation = cooltools.insulation(clr, window_bp=[100000, 200000])\ninsulation.to_csv(f'{outdir}\u002Finsulation.tsv', sep='\\t')\n\n# Loops (10kb)\nprint('Loops...')\nexpected = cooltools.expected_cis(clr)\nloops = cooltools.dots(clr, expected, nproc=4)\nloops.to_csv(f'{outdir}\u002Floops.tsv', sep='\\t')\n\nprint(f'Results saved to {outdir}\u002F')\n```\n\n## Common Errors\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Long-range contacts missing \u002F map looks like short-range only | Mates aligned as a proper pair instead of independently | Align with `bwa-mem2 mem -SP5M` (each end separately, no proper-pair rescue) |\n| Library \"passed\" %valid but is unusable | Judged on bare %valid; short-range cis is inflated by dangling ends\u002Fself-circles | Read the long-range cis (>=20kb) fraction as the go\u002Fno-go |\n| Bright stripes\u002Fplaid artifacts after balancing | Empty\u002Frepeat\u002Fblacklist bins not masked before ICE | Mask with `mad_max`\u002F`--blacklist`\u002F`min_nnz` before balancing |\n| A\u002FB compartments flipped between samples | Eigenvector sign is arbitrary without phasing | Phase E1 by a GC track matching the cooler binning exactly |\n| De-novo loops look sparse\u002Fnoisy | Called `dots` on a shallow map | Only de-novo call on deep maps (~billions of contacts, Rao 2014); else APA on known anchors |\n| Cross-condition differences dominated by depth | Compared balanced maps directly | Depth-match + distance-stratified normalize first (hi-c-analysis\u002Fhic-differential) |\n| HiChIP\u002FPLAC \"loops\" full of false positives | Generic dots\u002FHiCCUPS null on peak-anchored coverage | Route to FitHiChIP\u002FMAPS\u002FCHiCAGO (hi-c-analysis\u002Fhichip-plac-loops) |\n\n## References\n\n- Rao SSP, Huntley MH, Durand NC, et al (2014) A 3D map of the human genome at kilobase resolution reveals principles of chromatin looping. *Cell* 159:1665-1680. DOI 10.1016\u002Fj.cell.2014.11.021. (depth-vs-resolution; ~5B contacts for kilobase loops.)\n- Imakaev M, Fudenberg G, McCord RP, et al (2012) Iterative correction of Hi-C data reveals hallmarks of chromosome organization. *Nature Methods* 9:999-1003. DOI 10.1038\u002Fnmeth.2148. (ICE balancing.)\n- Abdennur N, Mirny LA (2020) Cooler: scalable storage for Hi-C data and other genomically labeled arrays. *Bioinformatics* 36:311-316. DOI 10.1093\u002Fbioinformatics\u002Fbtz540.\n- Open2C, Abdennur N, Fudenberg G, et al (2024) Cooltools: enabling high-resolution Hi-C analysis in Python. *PLOS Computational Biology* 20:e1012067. DOI 10.1371\u002Fjournal.pcbi.1012067.\n- Open2C, Abdennur N, Fudenberg G, et al (2024) Pairtools: from sequencing data to chromosome contacts. *PLOS Computational Biology* 20:e1012164. DOI 10.1371\u002Fjournal.pcbi.1012164.\n\n## Related Skills\n\n- hi-c-analysis\u002Fcontact-pairs - Read-pair processing and the library-QC decision\n- hi-c-analysis\u002Fhic-data-io - Cooler file operations and format conversion\n- hi-c-analysis\u002Fmatrix-operations - ICE balancing, expected\u002FP(s), and the resolution-vs-depth budget\n- hi-c-analysis\u002Fcompartment-analysis - Sign-phased A\u002FB compartments and saddle strength\n- hi-c-analysis\u002Ftad-detection - Insulation-score boundaries across a window sweep\n- hi-c-analysis\u002Floop-calling - Dot calling and APA validation\n- hi-c-analysis\u002Fhic-visualization - Normalization-aware contact-map plotting\n- hi-c-analysis\u002Fhic-differential - Scale-matched comparison between conditions\n- hi-c-analysis\u002Fhichip-plac-loops - Protein-directed loops (HiChIP\u002FPLAC-seq\u002FCapture Hi-C)\n","## Version Compatibility\n\nReference examples tested with: BWA-MEM2 2.2.1+, cooler 0.10+, cooltools 0.7+, bioframe 0.7+, matplotlib 3.8+, pairtools 1.1+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\n# Hi-C Pipeline\n\n**\"Analyze my Hi-C data from FASTQ to 3D genome features\"** -> Process read pairs and judge library quality, build and balance a cooler, then call ONLY the features the depth can support: compartments are cheap, TADs need moderate depth, de-novo loops need billions of contacts.\n\nComplete workflow for Hi-C chromosome conformation capture analysis.\n\n## The Decision That Frames the Whole Pipeline -- depth dictates the feature\n\nContacts scale with the SQUARE of the bin count, so the affordable resolution is set by depth, not ambition. Read `hi-c-analysis\u002Fmatrix-operations` for the budget; the rule of thumb is ~1000 contacts\u002Fbin. Compartments (100kb-1Mb) come from almost any library; TAD boundaries (10-40kb) need a moderate map; de-novo loop calling (5-10kb dots) needed ~5 billion contacts in Rao 2014. On a shallow map, do NOT de-novo call loops -- run aggregate peak analysis (APA) on known CTCF\u002Fcohesin anchors instead (`hi-c-analysis\u002Floop-calling`).\n\nProtein-directed assays branch here: HiChIP, PLAC-seq, and Capture Hi-C have non-uniform peak-anchored coverage, so generic dots\u002FHiCCUPS use the wrong null. Route them to `hi-c-analysis\u002Fhichip-plac-loops` (FitHiChIP\u002FMAPS\u002FCHiCAGO), NOT to step 6 below.\n\n## Workflow Overview\n\n```\nHi-C FASTQ files\n    |\n    v\n[1. Alignment & Pairs] --> bwa-mem2 -SP5M + pairtools (parse\u002Fsort\u002Fdedup\u002Fsplit)\n    |                       QC: long-range cis fraction is the one-number readout\n    v\n[2. Matrix Generation] --> cooler cload + zoomify (sum RAW, re-balance per resolution)\n    |\n    v\n[3. Balancing] --------> ICE (cooler balance); REQUIRED before any analysis\n    |\n    v\n[4. Compartments 100kb] -> eigs_cis, sign-phased by GC (E1 is a choice, not an output)\n    |\n    v\n[5. TADs 10kb] ---------> insulation score across a window sweep (boundaries, not domains)\n    |\n    v\n[6. Loops 10kb] --------> cooltools dots IF deep; else APA on known anchors\n    |\n    v\nHi-C features (compartments \u002F boundaries \u002F loops)\n```\n\n## Step 1: Alignment and Pair Processing\n\n**Goal:** Turn raw Hi-C FASTQ into a deduplicated, classified `.pairs` list and judge whether the library worked.\n\n**Approach:** Align the two mates independently with `bwa-mem2 -SP5M` (proper pairing would destroy long-range contacts), then parse, sort, deduplicate, and split with pairtools, reading the long-range cis fraction as the go\u002Fno-go.\n\n```bash\n# Pass BOTH mates to ONE bwa-mem2 call. -SP5M: -S\u002F-P make bwa treat the mates as single-end and\n# skip proper-pair rescue (so long-range contacts survive), while both sides are still emitted for\n# pairtools to form the pair; -5 reports the 5'-most alignment of split reads, -M flags secondaries.\nbwa-mem2 mem -SP5M -t 16 reference.fa reads_R1.fastq.gz reads_R2.fastq.gz | \\\n    pairtools parse --min-mapq 40 --walks-policy 5unique \\\n    --max-inter-align-gap 30 --nproc-in 8 --nproc-out 8 \\\n    --chroms-path reference.genome | \\\n    pairtools sort --nproc 16 --tmpdir .\u002Ftmp | \\\n    pairtools dedup --nproc-in 8 --nproc-out 8 \\\n    --mark-dups --output-stats stats.txt | \\\n    pairtools split --nproc-in 8 --output-pairs sample.pairs.gz\n```\n\n**QC Checkpoint:** read `pairtools stats` as the go\u002Fno-go. The one-number readout is the LONG-RANGE cis fraction (>=20kb), not bare %valid: short-range cis is inflated by dangling ends and self-circles. Trans fraction is a noise floor but its acceptable value is genome-size-dependent (a human \u003C10% threshold is meaningless for a microbe). High duplicate rate = low library complexity (not rescuable by sequencing deeper). See `hi-c-analysis\u002Fcontact-pairs` for the orientation-balance QC and the Micro-C\u002FArima variants.\n\n## Step 2: Generate Contact Matrix\n\n```bash\n# Create cooler file at multiple resolutions\ncooler cload pairs \\\n    -c1 2 -p1 3 -c2 4 -p2 5 \\\n    reference.genome:1000 \\\n    sample.pairs.gz \\\n    sample.1000.cool\n\n# Multi-resolution (mcool)\ncooler zoomify sample.1000.cool \\\n    -r 1000,2000,5000,10000,25000,50000,100000,250000,500000,1000000 \\\n    -o sample.mcool\n```\n\n## Step 3: Normalization (ICE Balancing)\n\n**Goal:** ICE-balance the matrix so every bin has equal marginal coverage, without letting empty\u002Fartifact bins corrupt the result.\n\n**Approach:** Mask low-coverage and blacklist bins BEFORE balancing, then balance per resolution. ICE assumes equal visibility per bin, so an unmasked empty or repeat\u002Fblacklist bin is iteratively up-weighted into a bright stripe artifact; `mad_max` filters bins whose coverage is `mad_max` MADs below the median, and a blacklist\u002F`--blacklist` (or pre-masking bad bins) removes known artifacts. Balancing is REQUIRED before any analysis, but it does NOT make two maps comparable across conditions — that needs depth-matching + distance-stratified normalization (hi-c-analysis\u002Fhic-differential).\n\n```python\nimport cooler\nimport cooltools\n\n# Mask before balancing: mad_max drops low-coverage bins that would otherwise become stripes.\n# Balance EVERY resolution the downstream steps analyze -- weights are resolution-specific, and an\n# unbalanced cooler has no 'weight' column, so cooltools (eigs_cis, insulation, dots) fails on it.\n# Steps 4-6 below use 100kb (compartments) and 10kb (loops and insulation).\nfor res in (10000, 25000, 100000):\n    clr = cooler.Cooler(f'sample.mcool::\u002Fresolutions\u002F{res}')\n    cooler.balance_cooler(clr, store=True, mad_max=5, ignore_diags=2, min_nnz=10)   # masked bins are NaN by design\n\n# CLI equivalent (add --blacklist regions.bed to remove known-artifact bins first):\n# for res in 10000 25000 100000; do cooler balance --mad-max 5 --ignore-diags 2 --min-nnz 10 sample.mcool::\u002Fresolutions\u002F${res}; done\n```\n\n## Step 4: Compartment Analysis\n\n**Goal:** Assign each genomic bin to the active (A) or inactive (B) compartment with a non-arbitrary sign.\n\n**Approach:** At a coarse 100kb resolution, compute the cis eigenvector and orient it with a GC phasing track so positive E1 is the active compartment (the sign is arbitrary without it).\n\n```python\nimport cooler\nimport cooltools\nimport bioframe\nimport numpy as np\n\n# Compartments are coarse-scale: 100kb, balanced matrix\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F100000')\n\n# Phasing track is NOT optional: the eigenvector sign is arbitrary. A GC track\n# (matching the cooler binning exactly) orients positive E1 to the active (A) compartment.\nview_df = bioframe.make_viewframe(clr.chromsizes)\ngc = bioframe.frac_gc(clr.bins()[:][['chrom', 'start', 'end']], bioframe.load_fasta('reference.fa'))\n\neig_values, eig_vectors = cooltools.eigs_cis(clr, gc, view_df=view_df, n_eigs=3)\ncompartments = eig_vectors[['chrom', 'start', 'end', 'E1']].copy()\n# Masked bins have E1 = NaN; NaN > 0 is False, so guard or a bare np.where mislabels them all 'B'.\ncompartments['compartment'] = np.where(compartments['E1'].isna(), None, np.where(compartments['E1'] > 0, 'A', 'B'))\ncompartments.to_csv('compartments.tsv', sep='\\t', index=False)\n```\n\n## Step 5: TAD Detection\n\n**Goal:** Locate domain boundaries at the sub-Mb scale.\n\n**Approach:** Compute the insulation score across a window sweep at 10kb and read the `is_boundary`\u002F`boundary_strength` columns the function returns directly (report boundaries, not a fixed domain partition).\n\n```python\nimport cooltools\n\n# Load matrix at TAD resolution\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F10000')\n\n# Insulation across a window sweep; the function already returns boundary columns\n# (is_boundary_\u003CW>, boundary_strength_\u003CW>) -- there is no separate find_boundaries call.\nins = cooltools.insulation(clr, window_bp=[100000, 200000, 500000])\n\n# Boundaries at the 200kb window; keep the continuous strength (comparable across samples).\n# is_boundary is NaN for bad\u002Flow-mappability bins; fillna(False) before masking or pandas raises.\nboundaries = ins[ins['is_boundary_200000'].fillna(False).astype(bool)][['chrom', 'start', 'end', 'boundary_strength_200000']]\nboundaries.to_csv('tad_boundaries.tsv', sep='\\t', index=False)\n\n# Alternative: use HiCExplorer\n# hicFindTADs -m sample.cool --outPrefix tads --correctForMultipleTesting fdr\n```\n\n## Step 6: Loop Calling\n\n**Goal:** Detect focal CTCF\u002Fenhancer-promoter contacts, but only when the map is deep enough to support de-novo calling.\n\n**Approach:** Compute a distance-matched expected, then run `cooltools dots` on a deep map; on a shallow library, skip de-novo calling and run APA on known anchors instead.\n\n```python\nimport cooltools\n\n# Load high-resolution matrix\nclr = cooler.Cooler('sample.mcool::\u002Fresolutions\u002F10000')\n\n# De-novo dot calling is only honest on a DEEP map (Rao 2014 used ~5B contacts).\n# On a shallow library, skip this and run APA on known anchors (see loop-calling).\nexpected = cooltools.expected_cis(clr)\nloops = cooltools.dots(clr, expected, max_loci_separation=2000000, nproc=4)\nloops.to_csv('loops.tsv', sep='\\t', index=False)\n\n# Alternative caller (template matching): chromosight\n# chromosight detect --pattern loops sample.mcool::\u002Fresolutions\u002F10000 loops\n# For HiChIP\u002FPLAC-seq\u002FCapture Hi-C do NOT use dots -> hi-c-analysis\u002Fhichip-plac-loops\n```\n\n## Step 7: Visualization\n\n```python\nimport matplotlib.pyplot as plt\nfrom matplotlib.colors import LogNorm\nimport cooltools.lib.plotting   # registers the 'fall' cmap; if unavailable in your stack, use 'afmhot_r'\n\n# A square balanced map on a log scale; importing cooltools.lib.plotting registers 'fall'.\n# Show O\u002FE with a symmetric diverging cmap to see compartments\u002Floops (see hic-visualization).\nmat = clr.matrix(balance=True).fetch('chr1:50000000-60000000')\nfig, ax = plt.subplots(figsize=(8, 8))\nax.matshow(mat, norm=LogNorm(vmax=mat[mat > 0].max() * 0.5), cmap='fall')\nplt.savefig('hic_matrix.pdf')\n\n# Triangle\u002Ftrack-stacked browser views: use pyGenomeTracks or HiCExplorer hicPlotTADs\n# (data-visualization\u002Fgenome-tracks), not a hand-rolled rotation.\n```\n\n## Complete Pipeline Script\n\n```bash\n#!\u002Fbin\u002Fbash\nset -e\n\nTHREADS=16\nREF=\"reference.fa\"\nGENOME=\"reference.genome\"\nR1=\"sample_R1.fastq.gz\"\nR2=\"sample_R2.fastq.gz\"\nOUTDIR=\"hic_results\"\n\nmkdir -p ${OUTDIR}\u002F{pairs,cool,analysis}\n\n# Step 1: Alignment and pairs\necho \"=== Alignment ===\"\nbwa-mem2 mem -SP5M -t ${THREADS} ${REF} ${R1} ${R2} | \\\n    pairtools parse --min-mapq 40 --walks-policy 5unique \\\n    --chroms-path ${GENOME} | \\\n    pairtools sort --nproc ${THREADS} --tmpdir .\u002Ftmp | \\\n    pairtools dedup --mark-dups --output-stats ${OUTDIR}\u002Fpairs\u002Fstats.txt | \\\n    pairtools split --output-pairs ${OUTDIR}\u002Fpairs\u002Fsample.pairs.gz\n\n# Step 2: Generate matrix\necho \"=== Matrix Generation ===\"\ncooler cload pairs -c1 2 -p1 3 -c2 4 -p2 5 \\\n    ${GENOME}:1000 ${OUTDIR}\u002Fpairs\u002Fsample.pairs.gz ${OUTDIR}\u002Fcool\u002Fsample.1000.cool\n\ncooler zoomify ${OUTDIR}\u002Fcool\u002Fsample.1000.cool \\\n    -r 1000,5000,10000,25000,50000,100000,500000 \\\n    -o ${OUTDIR}\u002Fcool\u002Fsample.mcool\n\n# Step 3: Balance\necho \"=== Balancing ===\"\nfor res in 10000 25000 100000; do\n    cooler balance ${OUTDIR}\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F${res}\ndone\n\necho \"=== Pipeline Complete ===\"\necho \"Run Python script for compartments, TADs, and loops\"\n```\n\n## Python Analysis Script\n\n```python\nimport cooler\nimport cooltools\nimport bioframe\nimport os\n\noutdir = 'hic_results\u002Fanalysis'\nos.makedirs(outdir, exist_ok=True)\n\n# Compartments (100kb) -- pass a GC phasing track (Step 4) so the sign is meaningful;\n# eigs_cis without phasing returns an arbitrary-sign eigenvector.\nprint('Compartments...')\nclr = cooler.Cooler('hic_results\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F100000')\ngc = bioframe.frac_gc(clr.bins()[:][['chrom', 'start', 'end']], bioframe.load_fasta('reference.fa'))\neig_values, eig_vectors = cooltools.eigs_cis(clr, gc, n_eigs=3)\neig_vectors.to_csv(f'{outdir}\u002Fcompartments.tsv', sep='\\t', index=False)\n\n# TADs (10kb)\nprint('TADs...')\nclr = cooler.Cooler('hic_results\u002Fcool\u002Fsample.mcool::\u002Fresolutions\u002F10000')\ninsulation = cooltools.insulation(clr, window_bp=[100000, 200000])\ninsulation.to_csv(f'{outdir}\u002Finsulation.tsv', sep='\\t')\n\n# Loops (10kb)\nprint('Loops...')\nexpected = cooltools.expected_cis(clr)\nloops = cooltools.dots(clr, expected, nproc=4)\nloops.to_csv(f'{outdir}\u002Floops.tsv', sep='\\t')\n\nprint(f'Results saved to {outdir}\u002F')\n```\n\n## Common Errors\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Long-range contacts missing \u002F map looks like short-range only | Mates aligned as a proper pair instead of independently | Align with `bwa-mem2 mem -SP5M` (each end separately, no proper-pair rescue) |\n| Library \"passed\" %valid but is unusable | Judged on bare %valid; short-range cis is inflated by dangling ends\u002Fself-circles | Read the long-range cis (>=20kb) fraction as the go\u002Fno-go |\n| Bright stripes\u002Fplaid artifacts after balancing | Empty\u002Frepeat\u002Fblacklist bins not masked before ICE | Mask with `mad_max`\u002F`--blacklist`\u002F`min_nnz` before balancing |\n| A\u002FB compartments flipped between samples | Eigenvector sign is arbitrary without phasing | Phase E1 by a GC track matching the cooler binning exactly |\n| De-novo loops look sparse\u002Fnoisy | Called `dots` on a shallow map | Only de-novo call on deep maps (~billions of contacts, Rao 2014); else APA on known anchors |\n| Cross-condition differences dominated by depth | Compared balanced maps directly | Depth-match + distance-stratified normalize first (hi-c-analysis\u002Fhic-differential) |\n| HiChIP\u002FPLAC \"loops\" full of false positives | Generic dots\u002FHiCCUPS null on peak-anchored coverage | Route to FitHiChIP\u002FMAPS\u002FCHiCAGO (hi-c-analysis\u002Fhichip-plac-loops) |\n\n## References\n\n- Rao SSP, Huntley MH, Durand NC, et al (2014) A 3D map of the human genome at kilobase resolution reveals principles of chromatin looping. *Cell* 159:1665-1680. DOI 10.1016\u002Fj.cell.2014.11.021. (depth-vs-resolution; ~5B contacts for kilobase loops.)\n- Imakaev M, Fudenberg G, McCord RP, et al (2012) Iterative correction of Hi-C data reveals hallmarks of chromosome organization. *Nature Methods* 9:999-1003. DOI 10.1038\u002Fnmeth.2148. (ICE balancing.)\n- Abdennur N, Mirny LA (2020) Cooler: scalable storage for Hi-C data and other genomically labeled arrays. *Bioinformatics* 36:311-316. DOI 10.1093\u002Fbioinformatics\u002Fbtz540.\n- Open2C, Abdennur N, Fudenberg G, et al (2024) Cooltools: enabling high-resolution Hi-C analysis in Python. *PLOS Computational Biology* 20:e1012067. DOI 10.1371\u002Fjournal.pcbi.1012067.\n- Open2C, Abdennur N, Fudenberg G, et al (2024) Pairtools: from sequencing data to chromosome contacts. *PLOS Computational Biology* 20:e1012164. DOI 10.1371\u002Fjournal.pcbi.1012164.\n\n## Related Skills\n\n- hi-c-analysis\u002Fcontact-pairs - Read-pair processing and the library-QC decision\n- hi-c-analysis\u002Fhic-data-io - Cooler file operations and format conversion\n- hi-c-analysis\u002Fmatrix-operations - ICE balancing, expected\u002FP(s), and the resolution-vs-depth budget\n- hi-c-analysis\u002Fcompartment-analysis - Sign-phased A\u002FB compartments and saddle strength\n- hi-c-analysis\u002Ftad-detection - Insulation-score boundaries across a window sweep\n- hi-c-analysis\u002Floop-calling - Dot calling and APA validation\n- hi-c-analysis\u002Fhic-visualization - Normalization-aware contact-map plotting\n- hi-c-analysis\u002Fhic-differential - Scale-matched comparison between conditions\n- hi-c-analysis\u002Fhichip-plac-loops - Protein-directed loops (HiChIP\u002FPLAC-seq\u002FCapture Hi-C)\n",{"name":5,"source":24,"license":15,"workflow":25,"tool_type":26,"depends_on":27,"description":7,"imported_at":37,"source_path":38,"primary_tool":39,"qc_checkpoints":40,"source_repository":47},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills",true,"mixed",[28,29,30,31,32,33,34,35,36],"hi-c-analysis\u002Fcontact-pairs","hi-c-analysis\u002Fhic-data-io","hi-c-analysis\u002Fmatrix-operations","hi-c-analysis\u002Fcompartment-analysis","hi-c-analysis\u002Ftad-detection","hi-c-analysis\u002Floop-calling","hi-c-analysis\u002Fhic-visualization","hi-c-analysis\u002Fhic-differential","hi-c-analysis\u002Fhichip-plac-loops","2026-09-20","workflows\u002Fhic-pipeline\u002FSKILL.md","cooler",[41,43,45],{"after_pairs":42},"Long-range cis (>=20kb) fraction, not just %valid; trans is genome-size-dependent",{"after_balance":44},"balance=True returns finite weights; masked bins are NaN by design",{"after_analysis":46},"Eigenvector sign phased by GC; feature scale matches the resolution","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-workflows-hic-pipeline","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":55,"prompt":65,"zipAvailable":25},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-workflows-hic-pipeline",{"tool":60,"command":61},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-workflows-hic-pipeline",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-workflows-hic-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-workflows-hic-pipeline\u002FSKILL.md",[67,73],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"examples\u002Fhic_analysis.py","SCRIPT","脚本",3845,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-workflows-hic-pipeline\u002Fexamples\u002Fhic_analysis.py",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"usage-guide.md","REFERENCE","参考文档",2328,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-workflows-hic-pipeline\u002Fusage-guide.md",[80,88,95,102,109,116],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":87},"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":87},"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":87},"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":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":87},"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":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":87},"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",[],[]]