[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDQCC2MVH7263R0BX59F48":3,"skill-same:01M7EDQCC2MVH7263R0BX59F48":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},"01M7EDQCC2MVH7263R0BX59F48","bio-hi-c-analysis-contact-pairs",null,"Turns Hi-C\u002FMicro-C FASTQ into a deduplicated, filtered .pairs file with pairtools and decides whether the library worked. Covers the bwa mem -SP5M \u002F bwa-mem2 \u002F chromap --preset hic alignment idiom (mates mapped as independent single-end reads), pairtools parse vs parse2 and the walks-policy choice (5unique pairwise vs all for Pore-C\u002FMicro-C concatemers), pair-type classification (keep UU and rescued UC), dedup (PCR vs optical\u002Fby-tile), select by pair_type\u002FMAPQ\u002Fdistance, restriction-fragment handling (restrict, Arima dual-enzyme, Micro-C\u002FDNase fragment-free), and allele-specific phasing (pairtools phase to two coolers). The library-QC decision uses % long-range cis as the one-number quality metric, trans as the noise floor, orientation balance as fragment-map-free dangling-end\u002Fself-circle QC, and % duplicates as a complexity proxy. Use when processing Hi-C\u002FMicro-C\u002FOmni-C reads into pairs, judging library quality, handling multi-enzyme or restriction-agnostic protocols, or generating allele-specific contacts.","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-contact-pairs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-hi-c-analysis-contact-pairs\ndescription: Turns Hi-C\u002FMicro-C FASTQ into a deduplicated, filtered .pairs file with pairtools and decides whether the library worked. Covers the bwa mem -SP5M \u002F bwa-mem2 \u002F chromap --preset hic alignment idiom (mates mapped as independent single-end reads), pairtools parse vs parse2 and the walks-policy choice (5unique pairwise vs all for Pore-C\u002FMicro-C concatemers), pair-type classification (keep UU and rescued UC), dedup (PCR vs optical\u002Fby-tile), select by pair_type\u002FMAPQ\u002Fdistance, restriction-fragment handling (restrict, Arima dual-enzyme, Micro-C\u002FDNase fragment-free), and allele-specific phasing (pairtools phase to two coolers). The library-QC decision uses % long-range cis as the one-number quality metric, trans as the noise floor, orientation balance as fragment-map-free dangling-end\u002Fself-circle QC, and % duplicates as a complexity proxy. Use when processing Hi-C\u002FMicro-C\u002FOmni-C reads into pairs, judging library quality, handling multi-enzyme or restriction-agnostic protocols, or generating allele-specific contacts.\ntool_type: cli\nprimary_tool: pairtools\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"hi-c-analysis\u002Fcontact-pairs\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: pairtools 1.1+, bwa 0.7.17+ (or bwa-mem2 2.2+), chromap 0.2+, samtools 1.19+, cooler 0.10+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\npairtools defaults have shifted across releases (e.g. `parse --max-molecule-size` is 750 bp in 1.1.x; `dedup --backend` defaults to scipy). `parse` and `parse2` report DIFFERENT positions by default - confirm `--report-position` before mixing outputs. If a command errors, introspect with `pairtools \u003Csubcommand> --help` and adapt rather than retrying.\n\n# Hi-C Contact Pairs\n\n**\"Turn my Hi-C reads into clean contacts and tell me if the library worked\"** -> Align mates independently through ligation junctions, classify and deduplicate pairs to a 5'-canonical .pairs file, then read the cis\u002Ftrans and orientation statistics to decide library quality before any matrix is built.\n- CLI: `bwa mem -SP5M ref.fa R1.fq R2.fq | pairtools parse -c chrom.sizes | pairtools sort | pairtools dedup | pairtools stats`\n\n## The Single Most Important Modern Insight -- The Read Count Is a Lie Until Pairs Are Classified; Library Quality Is Decided in pairtools, Not in the Aligner\n\nA Hi-C library's *usable signal* is not \"reads sequenced\" - it is the **uniquely-mapped, deduplicated, long-range cis** contacts. Everything between FASTQ and the matrix exists to strip a *specific* artifact of proximity-ligation chemistry, and the diagnostic ratios from `pairtools stats` reveal whether the experiment succeeded **before** any compute is spent binning it. Three load-bearing consequences:\n\n1. **% long-range cis is the one-number quality metric; trans is the noise floor.** True crosslink-ligation contacts are overwhelmingly cis and distance-decaying. Random ligation between two unrelated molecules in solution is as likely to be trans as cis-far, so **trans% is a direct readout of the spurious-ligation floor**. A good in-situ human library runs cis>=1kb ~50-65%, inter-chromosomal \u003C10%. But these numbers are **genome-size dependent** - a yeast or bacterial genome legitimately has higher expected trans (more inter-chromosomal volume per cis distance). Never apply a human trans threshold to a microbe.\n\n2. **The ligation junction lives INSIDE the read, so a local\u002Fsplit aligner aligning mates independently is required.** A single read often sequences *through* a ligation junction (locus A | locus B within one read). An end-to-end aligner soft-clips or mis-maps it and the contact is lost. `bwa mem -SP5M` aligns R1 and R2 as **independent single-end reads** (`-SP` skips mate rescue and pairing - proper-pair logic would destroy every long-range and trans contact) and marks the **5'-most chimeric segment primary** (`-5`, the anchor for pairtools' 5' convention). The chimera fraction rises with read length, so on 150bp PE and on Micro-C long reads this is a large, real chunk of contacts.\n\n3. **Keep UU AND rescued UC; selecting only UU silently discards every rescued ligation.** A naive `select pair_type==\"UU\"` throws away the chimeric reads pairtools successfully reconstructed (UC = combined-unique) - a meaningful fraction on long reads. The 4DN standard keeps **UU and UC**.\n\n## Aligner Taxonomy\n\n| Aligner | Role | Hi-C invocation | When |\n|---------|------|-----------------|------|\n| bwa mem -SP5M | reference standard; local\u002Fsplit alignment reconstructs in-read junctions | `bwa mem -SP5M -t N ref.fa R1 R2` | default; best inter-contig accuracy in benchmarks |\n| bwa-mem2 | drop-in faster reimplementation, identical output, same flags | `bwa-mem2 mem -SP5M -t N ref.fa R1 R2` | when speed matters and the larger index fits RAM |\n| chromap --preset hic | ultrafast integrated align + dedup + pairs (4DN .pairs out) | `chromap --preset hic -x idx -r ref.fa -1 R1 -2 R2 -o out.pairs` | ~10x faster scans; trades fine walk-policy control for speed |\n\n`-SP5M`, letter by letter: `-S` skip mate rescue; `-P` skip pairing (no proper-pair rescue); together `-SP` align mates as independent single-end reads. `-5` mark the 5'-most split segment primary (anchors the 5' convention). `-M` is legacy compatibility only (secondary flag 256 vs supplementary 2048); pairtools handles either - never agonize over `-M`, never drop `-SP5`.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Standard in-situ\u002FOmni-C, FASTQ -> matrix | bwa mem -SP5M -> parse (5unique) -> sort -> dedup -> stats | the 4DN\u002Fdistiller default; restriction-agnostic |\n| Fastest scan, control not critical | chromap --preset hic | integrated align+dedup+pairs ~10x faster |\n| Multi-way contacts (Pore-C, MC-3C, Micro-C walks) | `parse --walks-policy all` or `parse2 --expand` | 5unique COLLAPSES concatemers to pairwise silently |\n| Micro-C \u002F DNase Hi-C | NO fragment map; do NOT apply a 1kb min-distance cut | sub-1kb (nucleosome ladder) is signal, not artifact |\n| Arima \u002F Hi-C 3.0 dual-enzyme, fragment-level | fragment file must encode BOTH motifs (`restrict -f`) | a single-enzyme digest file is silently wrong |\n| Repeat-heavy genome \u002F stringent loop anchors | raise `parse --min-mapq 30` | reclassifies borderline reads M, drops repeat false anchors |\n| Allele-specific \u002F diploid folding | diploid ref + `-XA` suboptimal hits -> `pairtools phase` -> two coolers | needs the suboptimal-score gap to resolve haplotypes |\n| Decide whether to sequence deeper | complexity curve from dup model \u002F preseq lc_extrap | a bare dup% without depth is meaningless |\n| Build the matrix from clean pairs | -> hic-data-io (`cooler cload pairs`) | binning happens after classification\u002Fdedup |\n| Annotate boundary\u002Fanchor coordinates | -> genome-intervals\u002Fbed-file-basics | pairs are 1-based, half-open conventions differ |\n\n## Align: Mates as Independent Single-End Reads\n\n```bash\nbwa index ref.fa                                            # or bwa-mem2 index ref.fa\nbwa mem -SP5M -t 16 ref.fa R1.fq.gz R2.fq.gz | \\            # -SP: independent SE; -5: 5' segment primary\n    samtools view -b -@ 8 - > aligned.bam\n# chromap fast path (integrated align + dedup + 4DN pairs, no separate pairtools needed):\n# chromap -i -r ref.fa -o idx && \\\n# chromap --preset hic -x idx -r ref.fa -1 R1.fq.gz -2 R2.fq.gz -o sample.pairs\n```\n\n## Parse, Sort, Dedup, Select: the pairtools Core\n\n```bash\n# Parse alignments into a 5'-canonical .pairs. min-mapq 1 (default) is permissive: only MAPQ-0 is \"multi\".\npairtools parse -c chrom.sizes --walks-policy 5unique --min-mapq 1 \\\n    --add-columns mapq --drop-sam aligned.bam | \\\npairtools sort --nproc 8 | \\                                # block-sort; flips to upper-triangular (5'-canonical)\npairtools dedup --max-mismatch 3 --mark-dups \\              # within 3bp on both sides = duplicate; tag DD\n    --output-stats sample.dedup.stats | \\\npairtools select '(pair_type==\"UU\") or (pair_type==\"UC\")' \\ # keep both-unique AND rescued chimeric\n    -o sample.valid.pairs.gz\n```\n\nDedup MUST run on a flipped, 5'-canonical file (`sort` does the flip); on a non-canonical file dedup under-collapses and dup% reads falsely low. `--max-molecule-size` (750 bp in 1.1.x) governs single-ligation chimera rescue; `--max-inter-align-gap` (20 bp) sets when a coverage gap becomes a null alignment.\n\n## Library QC: the Decision This Skill Owns\n\n`pairtools stats` is the canonical readout. Read it as a funnel, not a single number.\n\n```bash\npairtools stats --bytile-dups -o sample.stats.tsv sample.valid.pairs.gz\n# Key fields: frac_dups; frac_cis; cis_1kb+\u002Fcis_20kb+; trans; pair_types; dist_freq orientation FF\u002FFR\u002FRF\u002FRR.\n```\n\n- **% long-range cis (cis>=1kb, often cis>=20kb)** = signal quality. **trans = noise floor** (genome-size dependent).\n- **Orientation vs distance = fragment-map-free dangling-end\u002Fself-circle QC.** Above ~1kb the four orientations FF\u002FFR\u002FRF\u002FRR each converge to ~25% (random, the positive QC signal). A short-range **FR (inward) spike** = dangling ends \u002F undigested \u002F self-ligation; a short-range **RF (outward) spike** = self-circles \u002F religation. The distance where orientations equalize is the **minimum reliable contact distance** - derive the min-distance cut from this plot, do not hardcode 1kb (Micro-C structure lives below 1kb).\n- **% duplicates = complexity proxy**, but `--bytile-dups` separates OPTICAL dups (patterned NovaSeq flowcells, same tile, adjacent coordinates) from PCR dups. Only the PCR fraction reflects library complexity; reading total dup% as over-amplification wrongly condemns a good library. A bare dup% without the depth it was measured at is meaningless - use the complexity\u002Fyield curve (preseq lc_extrap) to decide whether deeper sequencing buys uniques or duplicates.\n\nApply the QC-derived distance cut without a fragment map:\n\n```bash\npairtools select '(chrom1!=chrom2) or (abs(pos2-pos1) > 1000)' \\   # keep trans + cis beyond the orientation-equalization distance\n    -o sample.filtered.pairs.gz sample.valid.pairs.gz\n```\n\n## Restriction Fragments: Opt-In, Not Default\n\nModern pipelines SKIP fragment filtering on purpose - the distance cut + dedup + UU\u002FUC filter + balancing absorb the residual, and a digest file is one genome-specific place to mis-specify the enzyme. `pairtools restrict -f frags.bed` is opt-in for: sub-kb \u002F restriction-fragment-resolution maps, capture-Hi-C \u002F 4C-style fragment analysis, and bench QC where the dangling-end *fraction* is the digestion-efficiency readout.\n\n```bash\ncooler digest --out frags.bed chrom.sizes ref.fa DpnII     # single-enzyme: DpnII ^GATC\npairtools restrict -f frags.bed -o restricted.pairs.gz parsed.pairs.gz\n```\n\n**Arima dual-enzyme has FOUR junction motifs** (GATCGATC, GANTGATC, GANTANTC, GATCANTC); a single-enzyme (DpnII-only) digest file silently mis-assigns fragments. **Micro-C \u002F DNase Hi-C have NO fragment map** (MNase\u002FDNase cut sequence-nonspecifically) - any tool requiring a restriction file cannot process them, which is exactly why the restriction-agnostic pairtools path became the field default.\n\n## Allele-Specific Contacts: pairtools phase -> Two Coolers\n\n**Goal:** Resolve each contact to maternal vs paternal haplotype for allele-specific 3D folding.\n\n**Approach:** Align to a diploid reference reporting suboptimal hits, so each read carries its best alignment on *both* homologs; `pairtools phase` reads the gap between the two best alignment scores to tag each side resolved-hap1 \u002F resolved-hap2 \u002F non-resolved \u002F multi-mapper - the score gap is what separates a genuinely uninformative read from an actual repeat.\n\n```bash\nbcftools consensus -H 1 -f ref.fa phased.vcf.gz > hap1.fa   # build a diploid (two-homolog) reference\nbcftools consensus -H 2 -f ref.fa phased.vcf.gz > hap2.fa\nbwa mem -SP5M ref_diploid.fa R1.fq R2.fq | \\                # report suboptimal hits so both homologs are kept\npairtools parse -c chrom.sizes --add-columns XB,AS,XS | \\\npairtools phase --phase-suffixes _hap1 _hap2 --tag-mode XB | \\\npairtools sort | pairtools dedup -o phased.pairs.gz\n# Then split into hap1\u002Fhap2\u002Ftrans pairs and cload each into a SEPARATE cooler.\n```\n\n## Per-Method Failure Modes\n\n### Aligned Hi-C as a normal PE library\n**Trigger:** plain `bwa mem` without `-SP`, or proper-pair logic. **Mechanism:** mate rescue forces the shotgun insert model on mates from different loci. **Symptom:** trans% collapses, compartments vanish, sparse map. **Fix:** `bwa mem -SP5M`, mates aligned independently.\n\n### Dropped `-5`\n**Trigger:** copying a pre-2016 `-SP` command lacking `-5`. **Mechanism:** the 5'-most chimeric segment is not primary, so pairtools picks an inconsistent anchor. **Symptom:** degraded flip\u002Fdedup, smeared loops. **Fix:** always `-SP5M` (or `-SP5`).\n\n### walks-policy 5unique on a multi-way protocol\n**Trigger:** Pore-C\u002FMC-3C\u002FMicro-C walks parsed with the default. **Mechanism:** 5unique reports only the two 5'-most alignments, collapsing concatemers to pairwise. **Symptom:** \"we found few multi-contacts.\" **Fix:** `--walks-policy all` or `parse2 --expand`.\n\n### Mixing parse and parse2 outputs\n**Trigger:** combining a parse2 (.pairs, default outer\u002Fjunction-anchored) file with a parse (5'-anchored) file. **Mechanism:** the two report positions by different conventions. **Symptom:** coordinates shift by the alignment length; dedup under-collapses; loops smear. **Fix:** one parser\u002Fconvention per project; prefer plain `parse` if walks are not needed.\n\n### Selecting only UU\n**Trigger:** `select pair_type==\"UU\"`. **Mechanism:** discards rescued chimeric (UC) pairs. **Symptom:** lower valid-pair yield, especially on long reads. **Fix:** keep `(pair_type==\"UU\") or (pair_type==\"UC\")`.\n\n### Dedup on a non-canonical file\n**Trigger:** dedup run before `sort`\u002Fflip, or on mixed parse\u002Fparse2 positions. **Mechanism:** duplicates are not in canonical coordinates. **Symptom:** dup% reads falsely low - library looks better than it is. **Fix:** `sort` (flips to 5'-canonical) before `dedup`.\n\n### Optical dups read as PCR dups\n**Trigger:** total dup% on a patterned flowcell taken as library complexity. **Mechanism:** optical (same-tile) dups inflate apparent PCR rate. **Symptom:** a good library condemned as over-amplified. **Fix:** `--bytile-dups` \u002F `--output-bytile-stats`; judge complexity on the PCR fraction only.\n\n### Fixed 1kb cut on Micro-C\n**Trigger:** applying Hi-C's >1kb min-distance cut to Micro-C. **Mechanism:** Micro-C's nucleosome-ladder signal lives below 1kb. **Symptom:** the structure Micro-C exists to capture is erased. **Fix:** derive the cut from the orientation-vs-distance plot per library.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| cis>=1kb ~50-65% of nodup pairs (good in-situ human) | Dovetail\u002FArima QC guidance (~approx) | long-range cis is the signal; library- and genome-size dependent |\n| inter-chromosomal (trans) \u003C10% (clean), 20-30% acceptable | in-situ Hi-C practice | trans is the spurious-ligation floor; NEVER apply to small genomes |\n| FF\u002FFR\u002FRF\u002FRR -> ~25% each above ~1kb | random strand combination at true contacts | convergence is the fragment-map-free positive QC signal |\n| `parse --min-mapq` 1 default, raise to 30 for stringency | pairtools default | 1 drops only MAPQ-0; 30 removes repeat-driven false anchors |\n| `dedup --max-mismatch` 3 bp | pairtools default | tolerates mapping wobble; 0 over-splits, larger over-collapses complexity |\n| `parse --max-molecule-size` 750 bp (1.1.x) | pairtools default | bound on single-ligation chimera rescue; revisit for unusual size selection |\n| min-distance cut ~1kb (Hi-C), derive from orientation plot | orientation-equalization distance | the cut is protocol-specific; Micro-C signal is sub-1kb |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| trans% high, no compartments | aligned without `-SP` (proper-pair logic) | re-align `bwa mem -SP5M` |\n| Few multi-way contacts on Pore-C\u002FMicro-C | default `--walks-policy 5unique` collapsed walks | `--walks-policy all` \u002F `parse2 --expand` |\n| Loops smeared, dedup under-collapses | mixed parse\u002Fparse2 position conventions | one parser per project; `sort` before `dedup` |\n| Valid-pair yield lower than expected | `select` kept only UU | keep UU and UC |\n| dup% suspiciously low | dedup ran before `sort`\u002Fflip | sort to 5'-canonical first |\n| dup% high on NovaSeq, complexity looks bad | optical dups counted as PCR | `--bytile-dups`; judge on PCR fraction |\n| Micro-C structure disappears after filtering | fixed 1kb min-distance cut | derive cut from orientation-vs-distance |\n| Fragment assignment wrong on Arima data | single-enzyme digest file | encode all four Arima junction motifs |\n| `phase` resolves nothing | aligned to a haploid reference | diploid ref + suboptimal (`-XA`) alignments |\n\n## References\n\n- Open2C, Abdennur N, Fudenberg G, Flyamer IM, Galitsyna AA, Goloborodko A, Imakaev M, Venev SV. 2024. Pairtools: from sequencing data to chromosome contacts. *PLoS Comput Biol* 20(5):e1012164.\n- Li H. 2013. Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. arXiv:1303.3997.\n- Zhang H, Song L, Wang X, et al. 2021. Fast alignment and preprocessing of chromatin profiles with Chromap. *Nat Commun* 12:6566.\n- Durand NC, Shamim MS, Machol I, et al. 2016. Juicer provides a one-click system for analyzing loop-resolution Hi-C experiments. *Cell Syst* 3:95-98.\n- Servant N, Varoquaux N, Lajoie BR, et al. 2015. HiC-Pro: an optimized and flexible pipeline for Hi-C data processing. *Genome Biol* 16:259.\n- Akgol Oksuz B, Yang L, Abraham S, et al. 2021. Systematic evaluation of chromosome conformation capture assays. *Nat Methods* 18:1046-1055.\n- Krietenstein N, Abraham S, Venev SV, et al. 2020. Ultrastructural details of mammalian chromosome architecture (Micro-C). *Mol Cell* 78:554-565.\n- Ramani V, Cusanovich DA, Hause RJ, et al. 2016. Mapping 3D genome architecture through in situ DNase Hi-C. *Nat Protoc* 11:2104-2121.\n- Abdennur N, Mirny LA. 2020. Cooler: scalable storage for Hi-C data and other genomically labeled arrays. *Bioinformatics* 36:311-316.\n- Daley T, Smith AD. 2013. Predicting the molecular complexity of sequencing libraries (preseq). *Nat Methods* 10:325-327.\n\n## Related Skills\n\n- hic-data-io - Bins the deduplicated valid pairs into a .cool\u002F.mcool matrix\n- matrix-operations - Balancing and O\u002FE that the binned pairs feed into\n- hic-visualization - Render contact maps from the resulting cooler\n- read-alignment\u002Fbwa-alignment - Aligner upstream; this skill adds the Hi-C `-SP5M` idiom\n- alignment-files\u002Fduplicate-handling - General duplicate-marking context for the pairtools dedup step\n- genome-intervals\u002Fbed-file-basics - Coordinate\u002Fdigest BED handling for restriction fragments and anchors\n- genome-assembly\u002Fscaffolding - Same Hi-C reads used to order contigs into chromosomes\n","## Version Compatibility\n\nReference examples tested with: pairtools 1.1+, bwa 0.7.17+ (or bwa-mem2 2.2+), chromap 0.2+, samtools 1.19+, cooler 0.10+\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\npairtools defaults have shifted across releases (e.g. `parse --max-molecule-size` is 750 bp in 1.1.x; `dedup --backend` defaults to scipy). `parse` and `parse2` report DIFFERENT positions by default - confirm `--report-position` before mixing outputs. If a command errors, introspect with `pairtools \u003Csubcommand> --help` and adapt rather than retrying.\n\n# Hi-C Contact Pairs\n\n**\"Turn my Hi-C reads into clean contacts and tell me if the library worked\"** -> Align mates independently through ligation junctions, classify and deduplicate pairs to a 5'-canonical .pairs file, then read the cis\u002Ftrans and orientation statistics to decide library quality before any matrix is built.\n- CLI: `bwa mem -SP5M ref.fa R1.fq R2.fq | pairtools parse -c chrom.sizes | pairtools sort | pairtools dedup | pairtools stats`\n\n## The Single Most Important Modern Insight -- The Read Count Is a Lie Until Pairs Are Classified; Library Quality Is Decided in pairtools, Not in the Aligner\n\nA Hi-C library's *usable signal* is not \"reads sequenced\" - it is the **uniquely-mapped, deduplicated, long-range cis** contacts. Everything between FASTQ and the matrix exists to strip a *specific* artifact of proximity-ligation chemistry, and the diagnostic ratios from `pairtools stats` reveal whether the experiment succeeded **before** any compute is spent binning it. Three load-bearing consequences:\n\n1. **% long-range cis is the one-number quality metric; trans is the noise floor.** True crosslink-ligation contacts are overwhelmingly cis and distance-decaying. Random ligation between two unrelated molecules in solution is as likely to be trans as cis-far, so **trans% is a direct readout of the spurious-ligation floor**. A good in-situ human library runs cis>=1kb ~50-65%, inter-chromosomal \u003C10%. But these numbers are **genome-size dependent** - a yeast or bacterial genome legitimately has higher expected trans (more inter-chromosomal volume per cis distance). Never apply a human trans threshold to a microbe.\n\n2. **The ligation junction lives INSIDE the read, so a local\u002Fsplit aligner aligning mates independently is required.** A single read often sequences *through* a ligation junction (locus A | locus B within one read). An end-to-end aligner soft-clips or mis-maps it and the contact is lost. `bwa mem -SP5M` aligns R1 and R2 as **independent single-end reads** (`-SP` skips mate rescue and pairing - proper-pair logic would destroy every long-range and trans contact) and marks the **5'-most chimeric segment primary** (`-5`, the anchor for pairtools' 5' convention). The chimera fraction rises with read length, so on 150bp PE and on Micro-C long reads this is a large, real chunk of contacts.\n\n3. **Keep UU AND rescued UC; selecting only UU silently discards every rescued ligation.** A naive `select pair_type==\"UU\"` throws away the chimeric reads pairtools successfully reconstructed (UC = combined-unique) - a meaningful fraction on long reads. The 4DN standard keeps **UU and UC**.\n\n## Aligner Taxonomy\n\n| Aligner | Role | Hi-C invocation | When |\n|---------|------|-----------------|------|\n| bwa mem -SP5M | reference standard; local\u002Fsplit alignment reconstructs in-read junctions | `bwa mem -SP5M -t N ref.fa R1 R2` | default; best inter-contig accuracy in benchmarks |\n| bwa-mem2 | drop-in faster reimplementation, identical output, same flags | `bwa-mem2 mem -SP5M -t N ref.fa R1 R2` | when speed matters and the larger index fits RAM |\n| chromap --preset hic | ultrafast integrated align + dedup + pairs (4DN .pairs out) | `chromap --preset hic -x idx -r ref.fa -1 R1 -2 R2 -o out.pairs` | ~10x faster scans; trades fine walk-policy control for speed |\n\n`-SP5M`, letter by letter: `-S` skip mate rescue; `-P` skip pairing (no proper-pair rescue); together `-SP` align mates as independent single-end reads. `-5` mark the 5'-most split segment primary (anchors the 5' convention). `-M` is legacy compatibility only (secondary flag 256 vs supplementary 2048); pairtools handles either - never agonize over `-M`, never drop `-SP5`.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Standard in-situ\u002FOmni-C, FASTQ -> matrix | bwa mem -SP5M -> parse (5unique) -> sort -> dedup -> stats | the 4DN\u002Fdistiller default; restriction-agnostic |\n| Fastest scan, control not critical | chromap --preset hic | integrated align+dedup+pairs ~10x faster |\n| Multi-way contacts (Pore-C, MC-3C, Micro-C walks) | `parse --walks-policy all` or `parse2 --expand` | 5unique COLLAPSES concatemers to pairwise silently |\n| Micro-C \u002F DNase Hi-C | NO fragment map; do NOT apply a 1kb min-distance cut | sub-1kb (nucleosome ladder) is signal, not artifact |\n| Arima \u002F Hi-C 3.0 dual-enzyme, fragment-level | fragment file must encode BOTH motifs (`restrict -f`) | a single-enzyme digest file is silently wrong |\n| Repeat-heavy genome \u002F stringent loop anchors | raise `parse --min-mapq 30` | reclassifies borderline reads M, drops repeat false anchors |\n| Allele-specific \u002F diploid folding | diploid ref + `-XA` suboptimal hits -> `pairtools phase` -> two coolers | needs the suboptimal-score gap to resolve haplotypes |\n| Decide whether to sequence deeper | complexity curve from dup model \u002F preseq lc_extrap | a bare dup% without depth is meaningless |\n| Build the matrix from clean pairs | -> hic-data-io (`cooler cload pairs`) | binning happens after classification\u002Fdedup |\n| Annotate boundary\u002Fanchor coordinates | -> genome-intervals\u002Fbed-file-basics | pairs are 1-based, half-open conventions differ |\n\n## Align: Mates as Independent Single-End Reads\n\n```bash\nbwa index ref.fa                                            # or bwa-mem2 index ref.fa\nbwa mem -SP5M -t 16 ref.fa R1.fq.gz R2.fq.gz | \\            # -SP: independent SE; -5: 5' segment primary\n    samtools view -b -@ 8 - > aligned.bam\n# chromap fast path (integrated align + dedup + 4DN pairs, no separate pairtools needed):\n# chromap -i -r ref.fa -o idx && \\\n# chromap --preset hic -x idx -r ref.fa -1 R1.fq.gz -2 R2.fq.gz -o sample.pairs\n```\n\n## Parse, Sort, Dedup, Select: the pairtools Core\n\n```bash\n# Parse alignments into a 5'-canonical .pairs. min-mapq 1 (default) is permissive: only MAPQ-0 is \"multi\".\npairtools parse -c chrom.sizes --walks-policy 5unique --min-mapq 1 \\\n    --add-columns mapq --drop-sam aligned.bam | \\\npairtools sort --nproc 8 | \\                                # block-sort; flips to upper-triangular (5'-canonical)\npairtools dedup --max-mismatch 3 --mark-dups \\              # within 3bp on both sides = duplicate; tag DD\n    --output-stats sample.dedup.stats | \\\npairtools select '(pair_type==\"UU\") or (pair_type==\"UC\")' \\ # keep both-unique AND rescued chimeric\n    -o sample.valid.pairs.gz\n```\n\nDedup MUST run on a flipped, 5'-canonical file (`sort` does the flip); on a non-canonical file dedup under-collapses and dup% reads falsely low. `--max-molecule-size` (750 bp in 1.1.x) governs single-ligation chimera rescue; `--max-inter-align-gap` (20 bp) sets when a coverage gap becomes a null alignment.\n\n## Library QC: the Decision This Skill Owns\n\n`pairtools stats` is the canonical readout. Read it as a funnel, not a single number.\n\n```bash\npairtools stats --bytile-dups -o sample.stats.tsv sample.valid.pairs.gz\n# Key fields: frac_dups; frac_cis; cis_1kb+\u002Fcis_20kb+; trans; pair_types; dist_freq orientation FF\u002FFR\u002FRF\u002FRR.\n```\n\n- **% long-range cis (cis>=1kb, often cis>=20kb)** = signal quality. **trans = noise floor** (genome-size dependent).\n- **Orientation vs distance = fragment-map-free dangling-end\u002Fself-circle QC.** Above ~1kb the four orientations FF\u002FFR\u002FRF\u002FRR each converge to ~25% (random, the positive QC signal). A short-range **FR (inward) spike** = dangling ends \u002F undigested \u002F self-ligation; a short-range **RF (outward) spike** = self-circles \u002F religation. The distance where orientations equalize is the **minimum reliable contact distance** - derive the min-distance cut from this plot, do not hardcode 1kb (Micro-C structure lives below 1kb).\n- **% duplicates = complexity proxy**, but `--bytile-dups` separates OPTICAL dups (patterned NovaSeq flowcells, same tile, adjacent coordinates) from PCR dups. Only the PCR fraction reflects library complexity; reading total dup% as over-amplification wrongly condemns a good library. A bare dup% without the depth it was measured at is meaningless - use the complexity\u002Fyield curve (preseq lc_extrap) to decide whether deeper sequencing buys uniques or duplicates.\n\nApply the QC-derived distance cut without a fragment map:\n\n```bash\npairtools select '(chrom1!=chrom2) or (abs(pos2-pos1) > 1000)' \\   # keep trans + cis beyond the orientation-equalization distance\n    -o sample.filtered.pairs.gz sample.valid.pairs.gz\n```\n\n## Restriction Fragments: Opt-In, Not Default\n\nModern pipelines SKIP fragment filtering on purpose - the distance cut + dedup + UU\u002FUC filter + balancing absorb the residual, and a digest file is one genome-specific place to mis-specify the enzyme. `pairtools restrict -f frags.bed` is opt-in for: sub-kb \u002F restriction-fragment-resolution maps, capture-Hi-C \u002F 4C-style fragment analysis, and bench QC where the dangling-end *fraction* is the digestion-efficiency readout.\n\n```bash\ncooler digest --out frags.bed chrom.sizes ref.fa DpnII     # single-enzyme: DpnII ^GATC\npairtools restrict -f frags.bed -o restricted.pairs.gz parsed.pairs.gz\n```\n\n**Arima dual-enzyme has FOUR junction motifs** (GATCGATC, GANTGATC, GANTANTC, GATCANTC); a single-enzyme (DpnII-only) digest file silently mis-assigns fragments. **Micro-C \u002F DNase Hi-C have NO fragment map** (MNase\u002FDNase cut sequence-nonspecifically) - any tool requiring a restriction file cannot process them, which is exactly why the restriction-agnostic pairtools path became the field default.\n\n## Allele-Specific Contacts: pairtools phase -> Two Coolers\n\n**Goal:** Resolve each contact to maternal vs paternal haplotype for allele-specific 3D folding.\n\n**Approach:** Align to a diploid reference reporting suboptimal hits, so each read carries its best alignment on *both* homologs; `pairtools phase` reads the gap between the two best alignment scores to tag each side resolved-hap1 \u002F resolved-hap2 \u002F non-resolved \u002F multi-mapper - the score gap is what separates a genuinely uninformative read from an actual repeat.\n\n```bash\nbcftools consensus -H 1 -f ref.fa phased.vcf.gz > hap1.fa   # build a diploid (two-homolog) reference\nbcftools consensus -H 2 -f ref.fa phased.vcf.gz > hap2.fa\nbwa mem -SP5M ref_diploid.fa R1.fq R2.fq | \\                # report suboptimal hits so both homologs are kept\npairtools parse -c chrom.sizes --add-columns XB,AS,XS | \\\npairtools phase --phase-suffixes _hap1 _hap2 --tag-mode XB | \\\npairtools sort | pairtools dedup -o phased.pairs.gz\n# Then split into hap1\u002Fhap2\u002Ftrans pairs and cload each into a SEPARATE cooler.\n```\n\n## Per-Method Failure Modes\n\n### Aligned Hi-C as a normal PE library\n**Trigger:** plain `bwa mem` without `-SP`, or proper-pair logic. **Mechanism:** mate rescue forces the shotgun insert model on mates from different loci. **Symptom:** trans% collapses, compartments vanish, sparse map. **Fix:** `bwa mem -SP5M`, mates aligned independently.\n\n### Dropped `-5`\n**Trigger:** copying a pre-2016 `-SP` command lacking `-5`. **Mechanism:** the 5'-most chimeric segment is not primary, so pairtools picks an inconsistent anchor. **Symptom:** degraded flip\u002Fdedup, smeared loops. **Fix:** always `-SP5M` (or `-SP5`).\n\n### walks-policy 5unique on a multi-way protocol\n**Trigger:** Pore-C\u002FMC-3C\u002FMicro-C walks parsed with the default. **Mechanism:** 5unique reports only the two 5'-most alignments, collapsing concatemers to pairwise. **Symptom:** \"we found few multi-contacts.\" **Fix:** `--walks-policy all` or `parse2 --expand`.\n\n### Mixing parse and parse2 outputs\n**Trigger:** combining a parse2 (.pairs, default outer\u002Fjunction-anchored) file with a parse (5'-anchored) file. **Mechanism:** the two report positions by different conventions. **Symptom:** coordinates shift by the alignment length; dedup under-collapses; loops smear. **Fix:** one parser\u002Fconvention per project; prefer plain `parse` if walks are not needed.\n\n### Selecting only UU\n**Trigger:** `select pair_type==\"UU\"`. **Mechanism:** discards rescued chimeric (UC) pairs. **Symptom:** lower valid-pair yield, especially on long reads. **Fix:** keep `(pair_type==\"UU\") or (pair_type==\"UC\")`.\n\n### Dedup on a non-canonical file\n**Trigger:** dedup run before `sort`\u002Fflip, or on mixed parse\u002Fparse2 positions. **Mechanism:** duplicates are not in canonical coordinates. **Symptom:** dup% reads falsely low - library looks better than it is. **Fix:** `sort` (flips to 5'-canonical) before `dedup`.\n\n### Optical dups read as PCR dups\n**Trigger:** total dup% on a patterned flowcell taken as library complexity. **Mechanism:** optical (same-tile) dups inflate apparent PCR rate. **Symptom:** a good library condemned as over-amplified. **Fix:** `--bytile-dups` \u002F `--output-bytile-stats`; judge complexity on the PCR fraction only.\n\n### Fixed 1kb cut on Micro-C\n**Trigger:** applying Hi-C's >1kb min-distance cut to Micro-C. **Mechanism:** Micro-C's nucleosome-ladder signal lives below 1kb. **Symptom:** the structure Micro-C exists to capture is erased. **Fix:** derive the cut from the orientation-vs-distance plot per library.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| cis>=1kb ~50-65% of nodup pairs (good in-situ human) | Dovetail\u002FArima QC guidance (~approx) | long-range cis is the signal; library- and genome-size dependent |\n| inter-chromosomal (trans) \u003C10% (clean), 20-30% acceptable | in-situ Hi-C practice | trans is the spurious-ligation floor; NEVER apply to small genomes |\n| FF\u002FFR\u002FRF\u002FRR -> ~25% each above ~1kb | random strand combination at true contacts | convergence is the fragment-map-free positive QC signal |\n| `parse --min-mapq` 1 default, raise to 30 for stringency | pairtools default | 1 drops only MAPQ-0; 30 removes repeat-driven false anchors |\n| `dedup --max-mismatch` 3 bp | pairtools default | tolerates mapping wobble; 0 over-splits, larger over-collapses complexity |\n| `parse --max-molecule-size` 750 bp (1.1.x) | pairtools default | bound on single-ligation chimera rescue; revisit for unusual size selection |\n| min-distance cut ~1kb (Hi-C), derive from orientation plot | orientation-equalization distance | the cut is protocol-specific; Micro-C signal is sub-1kb |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| trans% high, no compartments | aligned without `-SP` (proper-pair logic) | re-align `bwa mem -SP5M` |\n| Few multi-way contacts on Pore-C\u002FMicro-C | default `--walks-policy 5unique` collapsed walks | `--walks-policy all` \u002F `parse2 --expand` |\n| Loops smeared, dedup under-collapses | mixed parse\u002Fparse2 position conventions | one parser per project; `sort` before `dedup` |\n| Valid-pair yield lower than expected | `select` kept only UU | keep UU and UC |\n| dup% suspiciously low | dedup ran before `sort`\u002Fflip | sort to 5'-canonical first |\n| dup% high on NovaSeq, complexity looks bad | optical dups counted as PCR | `--bytile-dups`; judge on PCR fraction |\n| Micro-C structure disappears after filtering | fixed 1kb min-distance cut | derive cut from orientation-vs-distance |\n| Fragment assignment wrong on Arima data | single-enzyme digest file | encode all four Arima junction motifs |\n| `phase` resolves nothing | aligned to a haploid reference | diploid ref + suboptimal (`-XA`) alignments |\n\n## References\n\n- Open2C, Abdennur N, Fudenberg G, Flyamer IM, Galitsyna AA, Goloborodko A, Imakaev M, Venev SV. 2024. Pairtools: from sequencing data to chromosome contacts. *PLoS Comput Biol* 20(5):e1012164.\n- Li H. 2013. Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. arXiv:1303.3997.\n- Zhang H, Song L, Wang X, et al. 2021. Fast alignment and preprocessing of chromatin profiles with Chromap. *Nat Commun* 12:6566.\n- Durand NC, Shamim MS, Machol I, et al. 2016. Juicer provides a one-click system for analyzing loop-resolution Hi-C experiments. *Cell Syst* 3:95-98.\n- Servant N, Varoquaux N, Lajoie BR, et al. 2015. HiC-Pro: an optimized and flexible pipeline for Hi-C data processing. *Genome Biol* 16:259.\n- Akgol Oksuz B, Yang L, Abraham S, et al. 2021. Systematic evaluation of chromosome conformation capture assays. *Nat Methods* 18:1046-1055.\n- Krietenstein N, Abraham S, Venev SV, et al. 2020. Ultrastructural details of mammalian chromosome architecture (Micro-C). *Mol Cell* 78:554-565.\n- Ramani V, Cusanovich DA, Hause RJ, et al. 2016. Mapping 3D genome architecture through in situ DNase Hi-C. *Nat Protoc* 11:2104-2121.\n- Abdennur N, Mirny LA. 2020. Cooler: scalable storage for Hi-C data and other genomically labeled arrays. *Bioinformatics* 36:311-316.\n- Daley T, Smith AD. 2013. Predicting the molecular complexity of sequencing libraries (preseq). *Nat Methods* 10:325-327.\n\n## Related Skills\n\n- hic-data-io - Bins the deduplicated valid pairs into a .cool\u002F.mcool matrix\n- matrix-operations - Balancing and O\u002FE that the binned pairs feed into\n- hic-visualization - Render contact maps from the resulting cooler\n- read-alignment\u002Fbwa-alignment - Aligner upstream; this skill adds the Hi-C `-SP5M` idiom\n- alignment-files\u002Fduplicate-handling - General duplicate-marking context for the pairtools dedup step\n- genome-intervals\u002Fbed-file-basics - Coordinate\u002Fdigest BED handling for restriction fragments and anchors\n- genome-assembly\u002Fscaffolding - Same Hi-C reads used to order contigs into chromosomes\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","cli","2026-09-20","hi-c-analysis\u002Fcontact-pairs\u002FSKILL.md","pairtools","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-contact-pairs","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-contact-pairs",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-hi-c-analysis-contact-pairs",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-hi-c-analysis-contact-pairs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-contact-pairs\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Ffastq_to_pairs.sh","SCRIPT","脚本",2520,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-contact-pairs\u002Fexamples\u002Ffastq_to_pairs.sh",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"usage-guide.md","REFERENCE","参考文档",5699,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-hi-c-analysis-contact-pairs\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",[],[]]