[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBVTERSWJK72HBV2B444AY":3,"skill-same:01M7EBVTERSWJK72HBV2B444AY":66},{"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},"01M7EBVTERSWJK72HBV2B444AY","bio-chipseq-super-enhancers",null,"Identifies super-enhancers from H3K27ac, MED1, or BRD4 ChIP-seq using ROSE, ROSE2, LILY, HOMER -style super, and ENCODE dELS cross-referencing. Handles peak stitching parameters, ranking choices, hockey-stick inflection, marker choice (H3K27ac vs MED1\u002FBRD4), and cross-condition comparison with spike-in normalization. Constructs core regulatory circuitry (Saint-Andre 2016) from SE-encoded TFs. Use when identifying cell-identity \u002F cancer-associated regulatory domains, comparing super-enhancers between conditions, identifying master transcription factor networks, or predicting BET-inhibitor responsiveness.","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-chipseq-super-enhancers\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-chipseq-super-enhancers\ndescription: Identifies super-enhancers from H3K27ac, MED1, or BRD4 ChIP-seq using ROSE, ROSE2, LILY, HOMER -style super, and ENCODE dELS cross-referencing. Handles peak stitching parameters, ranking choices, hockey-stick inflection, marker choice (H3K27ac vs MED1\u002FBRD4), and cross-condition comparison with spike-in normalization. Constructs core regulatory circuitry (Saint-Andre 2016) from SE-encoded TFs. Use when identifying cell-identity \u002F cancer-associated regulatory domains, comparing super-enhancers between conditions, identifying master transcription factor networks, or predicting BET-inhibitor responsiveness.\ntool_type: mixed\nprimary_tool: ROSE\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"chip-seq\u002Fsuper-enhancers\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: ROSE (stjude\u002FROSE, 2018+), ROSE2 (linlabbcm\u002Frose2, 2021+), LILY (BoevaLab\u002FLILY, 2020+), HOMER 4.11+, samtools 1.19+, bedtools 2.31+, GenomicRanges 1.54+.\n\nThe original Young-lab ROSE is Python 2; ROSE2 (linlabbcm\u002Frose2) and the stjude\u002FROSE fork are the Python-3 implementations with the same algorithm. For hg38 data use stjude\u002FROSE (`python ROSE_main.py`, whose genomeDict includes HG38); rose2's released genomeDict covers only HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6, so `rose2 -g HG38` fails. LILY (Boeva 2017) is a refactored implementation with input-control background subtraction for low-quality H3K27ac data.\n\n# Super-Enhancer Calling\n\n**\"Identify super-enhancers driving cell identity \u002F cancer biology\"** -> Stitch nearby active enhancer peaks (H3K27ac, MED1, or BRD4) within a stitching window, exclude proximal-promoter signal, rank by total signal, find the hockey-stick inflection point where signal sharply increases, and classify all stitched regions above the inflection as super-enhancers.\n\n- CLI (stjude\u002FROSE, Python 3): `python ROSE_main.py -g HG38 -i peaks.gff -r h3k27ac.bam -c input.bam -s 12500 -t 2500 -o rose_out\u002F`\n- CLI (HOMER): `findPeaks tag_dir\u002F -style super -i input_tag_dir\u002F`\n- CLI (LILY): variant with input-control background subtraction\n- R (custom hockey-stick): rank enhancers by signal, find tangent-line inflection\n\nThe SE concept (Whyte 2013) is a thresholding heuristic on a continuous signal distribution (Pott & Lieb 2015 *Nat Genet*), not a categorical biological category. Genetic dissection of super-enhancers (Hay 2016; Moorthy 2017) shows constituent elements contribute unequally and many are individually dispensable\u002Fredundant; the \"SE\" label is a useful operational definition for BET-inhibitor responsiveness and cell-identity gene regulation, not an absolute biological property.\n\n## Marker Choice: H3K27ac vs MED1 vs BRD4\n\n| Marker | Captures | When to prefer |\n|--------|----------|----------------|\n| **H3K27ac** | Active regulatory elements broadly | Most widely available; standard for SE definition since Whyte 2013 |\n| **MED1** | Mediator complex accumulation (the defining biology) | Direct readout of SE; less common antibody; lower signal-to-noise |\n| **BRD4** | BET cofactor accumulation | Most predictive of BET-inhibitor responsiveness; clinical relevance |\n| **H3K27ac + MED1 intersection** | High-confidence SE | Gold standard if both available |\n| **dELS from ENCODE cCREs** | Cell-type-agnostic distal enhancer registry | Cross-reference; not SE-specific by itself |\n\n**Operational rule:** H3K27ac for discovery; MED1 or BRD4 ChIP for functional \u002F therapeutic claims. SE called on H3K27ac alone may not respond to BET inhibitors; SE called on BRD4 will.\n\n## Algorithmic Taxonomy\n\n| Tool | Method | Strength | Fails when |\n|------|--------|----------|------------|\n| **ROSE** (Whyte 2013) | Stitch within 12.5 kb, exclude ±2.5 kb of TSS, rank by signal, hockey-stick inflection | Original; widely cited; canonical reference | Original Young-lab code is Python 2; run the stjude\u002FROSE Py3 fork instead |\n| **ROSE2** (linlabbcm\u002Frose2) | Same algorithm, Python 3 port | Maintained; pip-installable `rose2` console command | Released genomeDict has no HG38 (HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6 only) -> use stjude\u002FROSE for hg38 |\n| **LILY** (Boeva 2017) | ROSE-like with input-control background subtraction | Works on lower-quality H3K27ac data; subtracts input | Adds complexity; less validated; specific to neuroblastoma\u002Fglioma in original paper |\n| **HOMER `-style super`** | Native ROSE-like in HOMER framework; stitching without TSS exclusion | Integrated with HOMER workflow | Different stitching defaults; not directly comparable to ROSE counts |\n| **Custom hockey-stick (R)** | Generic rank-by-signal + tangent inflection | Flexible; works on any signal definition | Reinvents algorithm; verify against ROSE on known dataset |\n\n**Most papers use ROSE\u002FROSE2 with default stitching (12.5 kb) and TSS exclusion (2.5 kb).** This is the de facto standard for cross-paper comparison. HOMER's `-style super` produces different counts and is not directly comparable.\n\n## Decision Tree: SE Calling Workflow\n\n| Scenario | Recommended pipeline |\n|----------|----------------------|\n| Standard SE discovery, H3K27ac available | ROSE2 with default `-s 12500 -t 2500`; input control for subtraction |\n| Predict BET-inhibitor response | BRD4 ChIP -> ROSE2 (or H3K27ac SE intersected with BRD4 peaks) |\n| Compare SE between conditions (drug treatment) | ROSE2 per condition + spike-in normalization (HDACi\u002FBETi\u002FEZH2i need ChIP-Rx) |\n| Build core regulatory circuitry | ROSE2 + Saint-Andre 2016 algorithm: identify TFs encoded by SE that bind own SE + cross-bind other SE-encoded TFs |\n| Low-quality H3K27ac (low FRiP) | LILY with input subtraction |\n| Compare with ENCODE dELS atlas | ROSE2 + intersect with ENCODE cCRE dELS BED |\n| Differential SE between conditions | ROSE2 per condition + signal-quantitative differential (DiffBind on SE regions) |\n\n## ROSE \u002F ROSE2 Workflow\n\n**Goal:** Identify super-enhancers by stitching nearby active enhancer peaks within a stitching distance and ranking by total signal.\n\n**Approach:** Convert peaks to GFF, exclude promoter-proximal peaks via `-t` (TSS exclusion window), stitch enhancers within `-s` (default 12.5 kb), rank by total H3K27ac (or MED1\u002FBRD4) signal, find the hockey-stick inflection point, classify regions above as super-enhancers.\n\n```bash\n# Install ROSE2 (Python 3 port; unmaintained ROSE Py2 not recommended)\ngit clone https:\u002F\u002Fgithub.com\u002Flinlabbcm\u002Frose2.git\npip install .\u002Frose2\n\n# Convert peaks BED to GFF (ROSE requires GFF input)\nawk 'BEGIN{OFS=\"\\t\"} {print $1,\"peaks\",\"enhancer\",$2,$3,\".\",$6,\".\",\"ID=\"NR}' \\\n    peaks.narrowPeak > peaks.gff\n\n# Filter promoter peaks before SE calling (within 2.5 kb of TSS)\n# ROSE handles this via -t flag; preferable to pre-filter for clarity\nbedtools intersect -a peaks.narrowPeak -b promoters_2kb.bed -v > enhancer_peaks.bed\n\n# Run stjude\u002FROSE with input control (Python-3 fork; genomeDict includes HG38)\npython ROSE_main.py -g HG38 -i peaks.gff \\\n    -r h3k27ac.bam -c input.bam \\\n    -o rose_output\u002F \\\n    -s 12500 \\\n    -t 2500\n```\n\nROSE outputs:\n- `*_AllEnhancers.table.txt` — all stitched enhancer regions ranked by signal\n- `*_SuperEnhancers.table.txt` — SE only (above hockey-stick inflection)\n- `*_Enhancers_withSuper.bed` — BED with SE \u002F TE classification\n- `*_Plot_points.png` — hockey-stick plot\n\n## Cross-Condition SE Comparison\n\nThis is the analysis most often done wrong. SE calling thresholds depend on absolute signal, so any global shift (HDACi, BETi, EZH2i) confounds direct SE-count comparison.\n\n**Wrong approach:** Call ROSE2 on condition A and condition B separately, intersect SE BEDs, report \"gained\u002Flost SE.\"\n\n**Right approach:**\n1. Spike-in normalize signal between conditions (see chip-seq\u002Fspike-in-normalization)\n2. Build a union SE set from both conditions\n3. Quantify signal at union SE regions per condition (DiffBind on the union)\n4. Apply differential testing with appropriate normalization (background-bin TMM or spike-in)\n\n```r\nlibrary(DiffBind)\n# Union of SE BED files from condition A and B\nunion_se \u003C- rtracklayer::import('union_SE.bed')\n# Run DiffBind quantification on this region set with spike-in normalization\n```\n\nFor BET-inhibitor experiments: the biology IS that all SE decrease globally; spike-in is mandatory.\n\n## Core Regulatory Circuitry (Saint-André 2016)\n\nThe CRC algorithm identifies master TF networks from SE annotations:\n\n1. List all TFs encoded by SE-associated genes\n2. For each such TF, check if its motif appears in its own SE (auto-regulation)\n3. Build a graph where TFs encoded by SE-A bind to motifs in SE-B\n4. Identify highly-interconnected sub-networks (CRC)\n\n```bash\n# Install CRC pipeline (console command is `crc`; -g is the genome BUILD, not a GTF)\npip install git+https:\u002F\u002Fgithub.com\u002Flinlabcode\u002FCRC.git\n\n# Requires: SE enhancer table, subpeak BED, chromosome-FASTA dir\ncrc -e SE_table.txt -g HG38 -s subpeaks.bed -c chroms\u002F -o crc_out\u002F -n SAMPLE\n```\n\nCRC outputs the connected components of the regulatory network. Master TFs typically appear in the largest component with high out-degree.\n\n## ENCODE dELS Cross-Reference\n\nENCODE distal Enhancer-Like Signatures (dELS) are the cell-type-agnostic regulatory atlas (see chip-seq\u002Fpeak-annotation). Cross-referencing SE against dELS:\n\n- Validates SE constituents are at canonical regulatory elements\n- Identifies SE constituents NOT in the dELS registry (potentially cell-type-specific)\n- Provides chromatin-state context (DNase + H3K27ac signatures)\n\n```bash\nwget https:\u002F\u002Fdownloads.wenglab.org\u002FRegistry-V4\u002FGRCh38-cCREs.bed\nawk -F'\\t' '$NF == \"dELS\"' GRCh38-cCREs.bed > dels.bed\n\n# Fraction of SE constituents overlapping dELS\nbedtools intersect -a SuperEnhancers.bed -b dels.bed -u | wc -l\nbedtools intersect -a SuperEnhancers.bed -b dels.bed -wa -wb > se_with_dels.tsv\n```\n\n## Per-Tool Failure Modes\n\n### ROSE -- Python 2 dependency\n\n**Trigger:** Running the original Young-lab `ROSE_main.py` (Python 2 code) on a modern system.\n\n**Mechanism:** The original ROSE is Python 2 code; `print` statements without parens, `dict.iteritems()`, etc.\n\n**Symptom:** SyntaxError on first import.\n\n**Fix:** Use the stjude\u002FROSE fork (`python ROSE_main.py`, Python 3, genomeDict includes HG38) or ROSE2 (`rose2`, Python 3, but its released genomeDict has no HG38 -- HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6 only); identical algorithm and output format.\n\n### ROSE \u002F ROSE2 -- Stitching distance default not appropriate for all biology\n\n**Trigger:** Using default `-s 12500` (12.5 kb) on small genomes or compact gene structures.\n\n**Mechanism:** Default was set on human\u002Fmouse vertebrate genomes; Drosophila \u002F yeast \u002F plants have different regulatory architecture.\n\n**Fix:** For non-vertebrate genomes, reduce stitching distance proportionally (e.g., -s 2500 for Drosophila, -s 500 for yeast).\n\n### ROSE \u002F ROSE2 -- TSS exclusion can remove promoter-associated enhancers\n\n**Trigger:** Default `-t 2500` (exclude peaks within 2.5 kb of TSS) on promoter-proximal enhancers (e.g., pELS class).\n\n**Mechanism:** TSS-proximal enhancers are filtered out; SE definition becomes distal-only.\n\n**Symptom:** Lower SE counts than expected for cell types with promoter-enhancer architecture (e.g., human ES cells).\n\n**Fix:** Reduce TSS exclusion to `-t 500` or `-t 0` if including promoter-proximal regulatory regions; document the decision.\n\n### H3K27ac SE vs BRD4 SE -- BET-inhibitor mismatch\n\n**Trigger:** Calling SE on H3K27ac and claiming BET-inhibitor responsiveness.\n\n**Mechanism:** H3K27ac marks active enhancers broadly; not all H3K27ac-positive SE have BRD4 accumulation.\n\n**Symptom:** Predicted BET-sensitive genes don't respond to BET inhibitors in cell-based assays.\n\n**Fix:** For BET-inhibitor claims, use BRD4 ChIP for SE calling, or intersect H3K27ac SE with BRD4 peaks.\n\n### Cross-condition SE counting -- Wrong normalization\n\n**Trigger:** Comparing SE counts in HDACi-treated vs DMSO without spike-in normalization.\n\n**Mechanism:** SE calling thresholds depend on absolute signal; HDACi globally increases H3K27ac, raising every region's signal and shifting the hockey-stick inflection.\n\n**Symptom:** Reports \"1000 SE in HDACi vs 500 in DMSO\" when biology is just global H3K27ac increase.\n\n**Fix:** Spike-in normalize BAMs (ChIP-Rx with Drosophila chromatin), call SE on scaled signal; OR quantify signal at a union peak set rather than calling SE per condition.\n\n### LILY -- Input subtraction artifacts\n\n**Trigger:** Running LILY without high-quality matched input control.\n\n**Mechanism:** LILY subtracts background based on input signal; mismatched input introduces artifactual negative signal.\n\n**Fix:** Use LILY only when input quality is good (same library prep, same depth, same fragmentation); otherwise use ROSE2 with standard input handling.\n\n### Hockey-stick inflection -- Sensitive to peak count\n\n**Trigger:** Calling SE on a small peak set (\u003C 5000 enhancers).\n\n**Mechanism:** Hockey-stick inflection depends on having a long \"tail\" of typical enhancers; few peaks distort the inflection.\n\n**Symptom:** SE count is unreasonably high (50%+ of all peaks called SE) or unreasonably low (\u003C 50 SE).\n\n**Fix:** Require ≥ 5000 enhancer peaks input to ROSE2; if fewer, use absolute signal cutoff (e.g., top 5% by signal density) rather than hockey-stick.\n\n## Reconciliation: When SE Calls Disagree\n\n| Pattern | Likely cause | Action |\n|---------|--------------|--------|\n| ROSE2 vs HOMER -style super differ | Different stitching distance \u002F TSS handling | Use ROSE2 standard for cross-paper comparison; HOMER for HOMER-integrated workflows |\n| H3K27ac SE ≠ MED1 SE at same locus | H3K27ac is broad; MED1 marks subset of active SE | MED1 SE is the more functional definition; H3K27ac includes inactive-but-acetylated regions |\n| SE called in DMSO but not in BETi (or vice versa) | Global signal shift confounds threshold | Spike-in normalize; compare quantitatively at union SE set |\n| SE shifts location between replicates | Marginal calls below inflection; hockey-stick inflection noisy | Use top N SE by rank for robustness; or require SE in ≥ 2\u002F3 replicates |\n| LILY and ROSE2 disagree on SE count | LILY's input subtraction differs | Trust ROSE2 unless input quality is poor (low FRiP) |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| `SyntaxError: invalid syntax` in ROSE | Python 2 codebase | Use ROSE2 (linlabbcm) Python 3 port |\n| GFF format error | Wrong column ordering | Use awk template: `chr\u003CTAB>peaks\u003CTAB>enhancer\u003CTAB>start\u003CTAB>end\u003CTAB>.\u003CTAB>strand\u003CTAB>.\u003CTAB>ID=N` |\n| ROSE2 reports 0 SE | Hockey-stick inflection failed; too few enhancers | Inspect `_Plot_points.png`; ≥ 5000 peaks input recommended |\n| Genome flag error in ROSE2 | Genome not pre-configured | Genome flag must be one of HG18, HG19, HG38, MM8, MM9, MM10 |\n| All SE at promoters | TSS exclusion too narrow OR data dominated by promoter signal | Verify `-t 2500`; check input is H3K27ac at enhancers not full chromatin |\n| Cross-condition SE gain\u002Floss not reproducible | No spike-in normalization | Spike-in (ChIP-Rx) or quantitative differential on union SE |\n\n## References\n\n- Whyte WA et al 2013 Cell 153:307 (super-enhancers, ROSE)\n- Lovén J et al 2013 Cell 153:320 (SE characterization, BET sensitivity)\n- Hnisz D et al 2013 Cell 155:934 (SE in cell identity)\n- Pott S & Lieb JD 2015 Nat Genet 47:8 (SE as continuum critique)\n- Lin CY et al 2016 Nature 530:57-62 (medulloblastoma super-enhancers)\n- Saint-André V et al 2016 Genome Res 26:385 (core regulatory circuitry)\n- Boeva V et al 2017 Nat Genet 49:1408 (LILY; neuroblastoma SE)\n- Hnisz D et al 2017 Cell 169:13 (phase-separation model of transcriptional control)\n- Hay D et al 2016 Nat Genet 48:895 (genetic dissection of the alpha-globin super-enhancer)\n- Moorthy S et al 2017 Genome Res 27:246 (SE constituents have equivalent\u002Fredundant regulatory roles in ESCs)\n- Sengupta S & George RE 2017 Trends Cancer 3:269 (SE function review)\n\n## Related Skills\n\n- chip-seq\u002Fpeak-calling - Generate H3K27ac \u002F MED1 \u002F BRD4 peaks for SE input\n- chip-seq\u002Fchipseq-qc - Filter hyper-ChIPable peaks before SE calling\n- chip-seq\u002Fspike-in-normalization - Mandatory for cross-condition SE comparison\n- chip-seq\u002Fdifferential-binding - Quantitative differential testing on union SE set\n- chip-seq\u002Fpeak-annotation - Annotate SE-associated genes; cross-reference dELS\n- chip-seq\u002Fcut-and-run-tag - SE calling on CUT&RUN\u002FCUT&Tag H3K27ac (different spike-in)\n- atac-seq\u002Fenhancer-gene-linking - ENCODE-rE2G for SE-target gene assignment\n- data-visualization\u002Fgenome-tracks - SE region visualization\n","## Version Compatibility\n\nReference examples tested with: ROSE (stjude\u002FROSE, 2018+), ROSE2 (linlabbcm\u002Frose2, 2021+), LILY (BoevaLab\u002FLILY, 2020+), HOMER 4.11+, samtools 1.19+, bedtools 2.31+, GenomicRanges 1.54+.\n\nThe original Young-lab ROSE is Python 2; ROSE2 (linlabbcm\u002Frose2) and the stjude\u002FROSE fork are the Python-3 implementations with the same algorithm. For hg38 data use stjude\u002FROSE (`python ROSE_main.py`, whose genomeDict includes HG38); rose2's released genomeDict covers only HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6, so `rose2 -g HG38` fails. LILY (Boeva 2017) is a refactored implementation with input-control background subtraction for low-quality H3K27ac data.\n\n# Super-Enhancer Calling\n\n**\"Identify super-enhancers driving cell identity \u002F cancer biology\"** -> Stitch nearby active enhancer peaks (H3K27ac, MED1, or BRD4) within a stitching window, exclude proximal-promoter signal, rank by total signal, find the hockey-stick inflection point where signal sharply increases, and classify all stitched regions above the inflection as super-enhancers.\n\n- CLI (stjude\u002FROSE, Python 3): `python ROSE_main.py -g HG38 -i peaks.gff -r h3k27ac.bam -c input.bam -s 12500 -t 2500 -o rose_out\u002F`\n- CLI (HOMER): `findPeaks tag_dir\u002F -style super -i input_tag_dir\u002F`\n- CLI (LILY): variant with input-control background subtraction\n- R (custom hockey-stick): rank enhancers by signal, find tangent-line inflection\n\nThe SE concept (Whyte 2013) is a thresholding heuristic on a continuous signal distribution (Pott & Lieb 2015 *Nat Genet*), not a categorical biological category. Genetic dissection of super-enhancers (Hay 2016; Moorthy 2017) shows constituent elements contribute unequally and many are individually dispensable\u002Fredundant; the \"SE\" label is a useful operational definition for BET-inhibitor responsiveness and cell-identity gene regulation, not an absolute biological property.\n\n## Marker Choice: H3K27ac vs MED1 vs BRD4\n\n| Marker | Captures | When to prefer |\n|--------|----------|----------------|\n| **H3K27ac** | Active regulatory elements broadly | Most widely available; standard for SE definition since Whyte 2013 |\n| **MED1** | Mediator complex accumulation (the defining biology) | Direct readout of SE; less common antibody; lower signal-to-noise |\n| **BRD4** | BET cofactor accumulation | Most predictive of BET-inhibitor responsiveness; clinical relevance |\n| **H3K27ac + MED1 intersection** | High-confidence SE | Gold standard if both available |\n| **dELS from ENCODE cCREs** | Cell-type-agnostic distal enhancer registry | Cross-reference; not SE-specific by itself |\n\n**Operational rule:** H3K27ac for discovery; MED1 or BRD4 ChIP for functional \u002F therapeutic claims. SE called on H3K27ac alone may not respond to BET inhibitors; SE called on BRD4 will.\n\n## Algorithmic Taxonomy\n\n| Tool | Method | Strength | Fails when |\n|------|--------|----------|------------|\n| **ROSE** (Whyte 2013) | Stitch within 12.5 kb, exclude ±2.5 kb of TSS, rank by signal, hockey-stick inflection | Original; widely cited; canonical reference | Original Young-lab code is Python 2; run the stjude\u002FROSE Py3 fork instead |\n| **ROSE2** (linlabbcm\u002Frose2) | Same algorithm, Python 3 port | Maintained; pip-installable `rose2` console command | Released genomeDict has no HG38 (HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6 only) -> use stjude\u002FROSE for hg38 |\n| **LILY** (Boeva 2017) | ROSE-like with input-control background subtraction | Works on lower-quality H3K27ac data; subtracts input | Adds complexity; less validated; specific to neuroblastoma\u002Fglioma in original paper |\n| **HOMER `-style super`** | Native ROSE-like in HOMER framework; stitching without TSS exclusion | Integrated with HOMER workflow | Different stitching defaults; not directly comparable to ROSE counts |\n| **Custom hockey-stick (R)** | Generic rank-by-signal + tangent inflection | Flexible; works on any signal definition | Reinvents algorithm; verify against ROSE on known dataset |\n\n**Most papers use ROSE\u002FROSE2 with default stitching (12.5 kb) and TSS exclusion (2.5 kb).** This is the de facto standard for cross-paper comparison. HOMER's `-style super` produces different counts and is not directly comparable.\n\n## Decision Tree: SE Calling Workflow\n\n| Scenario | Recommended pipeline |\n|----------|----------------------|\n| Standard SE discovery, H3K27ac available | ROSE2 with default `-s 12500 -t 2500`; input control for subtraction |\n| Predict BET-inhibitor response | BRD4 ChIP -> ROSE2 (or H3K27ac SE intersected with BRD4 peaks) |\n| Compare SE between conditions (drug treatment) | ROSE2 per condition + spike-in normalization (HDACi\u002FBETi\u002FEZH2i need ChIP-Rx) |\n| Build core regulatory circuitry | ROSE2 + Saint-Andre 2016 algorithm: identify TFs encoded by SE that bind own SE + cross-bind other SE-encoded TFs |\n| Low-quality H3K27ac (low FRiP) | LILY with input subtraction |\n| Compare with ENCODE dELS atlas | ROSE2 + intersect with ENCODE cCRE dELS BED |\n| Differential SE between conditions | ROSE2 per condition + signal-quantitative differential (DiffBind on SE regions) |\n\n## ROSE \u002F ROSE2 Workflow\n\n**Goal:** Identify super-enhancers by stitching nearby active enhancer peaks within a stitching distance and ranking by total signal.\n\n**Approach:** Convert peaks to GFF, exclude promoter-proximal peaks via `-t` (TSS exclusion window), stitch enhancers within `-s` (default 12.5 kb), rank by total H3K27ac (or MED1\u002FBRD4) signal, find the hockey-stick inflection point, classify regions above as super-enhancers.\n\n```bash\n# Install ROSE2 (Python 3 port; unmaintained ROSE Py2 not recommended)\ngit clone https:\u002F\u002Fgithub.com\u002Flinlabbcm\u002Frose2.git\npip install .\u002Frose2\n\n# Convert peaks BED to GFF (ROSE requires GFF input)\nawk 'BEGIN{OFS=\"\\t\"} {print $1,\"peaks\",\"enhancer\",$2,$3,\".\",$6,\".\",\"ID=\"NR}' \\\n    peaks.narrowPeak > peaks.gff\n\n# Filter promoter peaks before SE calling (within 2.5 kb of TSS)\n# ROSE handles this via -t flag; preferable to pre-filter for clarity\nbedtools intersect -a peaks.narrowPeak -b promoters_2kb.bed -v > enhancer_peaks.bed\n\n# Run stjude\u002FROSE with input control (Python-3 fork; genomeDict includes HG38)\npython ROSE_main.py -g HG38 -i peaks.gff \\\n    -r h3k27ac.bam -c input.bam \\\n    -o rose_output\u002F \\\n    -s 12500 \\\n    -t 2500\n```\n\nROSE outputs:\n- `*_AllEnhancers.table.txt` — all stitched enhancer regions ranked by signal\n- `*_SuperEnhancers.table.txt` — SE only (above hockey-stick inflection)\n- `*_Enhancers_withSuper.bed` — BED with SE \u002F TE classification\n- `*_Plot_points.png` — hockey-stick plot\n\n## Cross-Condition SE Comparison\n\nThis is the analysis most often done wrong. SE calling thresholds depend on absolute signal, so any global shift (HDACi, BETi, EZH2i) confounds direct SE-count comparison.\n\n**Wrong approach:** Call ROSE2 on condition A and condition B separately, intersect SE BEDs, report \"gained\u002Flost SE.\"\n\n**Right approach:**\n1. Spike-in normalize signal between conditions (see chip-seq\u002Fspike-in-normalization)\n2. Build a union SE set from both conditions\n3. Quantify signal at union SE regions per condition (DiffBind on the union)\n4. Apply differential testing with appropriate normalization (background-bin TMM or spike-in)\n\n```r\nlibrary(DiffBind)\n# Union of SE BED files from condition A and B\nunion_se \u003C- rtracklayer::import('union_SE.bed')\n# Run DiffBind quantification on this region set with spike-in normalization\n```\n\nFor BET-inhibitor experiments: the biology IS that all SE decrease globally; spike-in is mandatory.\n\n## Core Regulatory Circuitry (Saint-André 2016)\n\nThe CRC algorithm identifies master TF networks from SE annotations:\n\n1. List all TFs encoded by SE-associated genes\n2. For each such TF, check if its motif appears in its own SE (auto-regulation)\n3. Build a graph where TFs encoded by SE-A bind to motifs in SE-B\n4. Identify highly-interconnected sub-networks (CRC)\n\n```bash\n# Install CRC pipeline (console command is `crc`; -g is the genome BUILD, not a GTF)\npip install git+https:\u002F\u002Fgithub.com\u002Flinlabcode\u002FCRC.git\n\n# Requires: SE enhancer table, subpeak BED, chromosome-FASTA dir\ncrc -e SE_table.txt -g HG38 -s subpeaks.bed -c chroms\u002F -o crc_out\u002F -n SAMPLE\n```\n\nCRC outputs the connected components of the regulatory network. Master TFs typically appear in the largest component with high out-degree.\n\n## ENCODE dELS Cross-Reference\n\nENCODE distal Enhancer-Like Signatures (dELS) are the cell-type-agnostic regulatory atlas (see chip-seq\u002Fpeak-annotation). Cross-referencing SE against dELS:\n\n- Validates SE constituents are at canonical regulatory elements\n- Identifies SE constituents NOT in the dELS registry (potentially cell-type-specific)\n- Provides chromatin-state context (DNase + H3K27ac signatures)\n\n```bash\nwget https:\u002F\u002Fdownloads.wenglab.org\u002FRegistry-V4\u002FGRCh38-cCREs.bed\nawk -F'\\t' '$NF == \"dELS\"' GRCh38-cCREs.bed > dels.bed\n\n# Fraction of SE constituents overlapping dELS\nbedtools intersect -a SuperEnhancers.bed -b dels.bed -u | wc -l\nbedtools intersect -a SuperEnhancers.bed -b dels.bed -wa -wb > se_with_dels.tsv\n```\n\n## Per-Tool Failure Modes\n\n### ROSE -- Python 2 dependency\n\n**Trigger:** Running the original Young-lab `ROSE_main.py` (Python 2 code) on a modern system.\n\n**Mechanism:** The original ROSE is Python 2 code; `print` statements without parens, `dict.iteritems()`, etc.\n\n**Symptom:** SyntaxError on first import.\n\n**Fix:** Use the stjude\u002FROSE fork (`python ROSE_main.py`, Python 3, genomeDict includes HG38) or ROSE2 (`rose2`, Python 3, but its released genomeDict has no HG38 -- HG18\u002FHG19\u002FMM8\u002FMM9\u002FMM10\u002FRN4\u002FRN6 only); identical algorithm and output format.\n\n### ROSE \u002F ROSE2 -- Stitching distance default not appropriate for all biology\n\n**Trigger:** Using default `-s 12500` (12.5 kb) on small genomes or compact gene structures.\n\n**Mechanism:** Default was set on human\u002Fmouse vertebrate genomes; Drosophila \u002F yeast \u002F plants have different regulatory architecture.\n\n**Fix:** For non-vertebrate genomes, reduce stitching distance proportionally (e.g., -s 2500 for Drosophila, -s 500 for yeast).\n\n### ROSE \u002F ROSE2 -- TSS exclusion can remove promoter-associated enhancers\n\n**Trigger:** Default `-t 2500` (exclude peaks within 2.5 kb of TSS) on promoter-proximal enhancers (e.g., pELS class).\n\n**Mechanism:** TSS-proximal enhancers are filtered out; SE definition becomes distal-only.\n\n**Symptom:** Lower SE counts than expected for cell types with promoter-enhancer architecture (e.g., human ES cells).\n\n**Fix:** Reduce TSS exclusion to `-t 500` or `-t 0` if including promoter-proximal regulatory regions; document the decision.\n\n### H3K27ac SE vs BRD4 SE -- BET-inhibitor mismatch\n\n**Trigger:** Calling SE on H3K27ac and claiming BET-inhibitor responsiveness.\n\n**Mechanism:** H3K27ac marks active enhancers broadly; not all H3K27ac-positive SE have BRD4 accumulation.\n\n**Symptom:** Predicted BET-sensitive genes don't respond to BET inhibitors in cell-based assays.\n\n**Fix:** For BET-inhibitor claims, use BRD4 ChIP for SE calling, or intersect H3K27ac SE with BRD4 peaks.\n\n### Cross-condition SE counting -- Wrong normalization\n\n**Trigger:** Comparing SE counts in HDACi-treated vs DMSO without spike-in normalization.\n\n**Mechanism:** SE calling thresholds depend on absolute signal; HDACi globally increases H3K27ac, raising every region's signal and shifting the hockey-stick inflection.\n\n**Symptom:** Reports \"1000 SE in HDACi vs 500 in DMSO\" when biology is just global H3K27ac increase.\n\n**Fix:** Spike-in normalize BAMs (ChIP-Rx with Drosophila chromatin), call SE on scaled signal; OR quantify signal at a union peak set rather than calling SE per condition.\n\n### LILY -- Input subtraction artifacts\n\n**Trigger:** Running LILY without high-quality matched input control.\n\n**Mechanism:** LILY subtracts background based on input signal; mismatched input introduces artifactual negative signal.\n\n**Fix:** Use LILY only when input quality is good (same library prep, same depth, same fragmentation); otherwise use ROSE2 with standard input handling.\n\n### Hockey-stick inflection -- Sensitive to peak count\n\n**Trigger:** Calling SE on a small peak set (\u003C 5000 enhancers).\n\n**Mechanism:** Hockey-stick inflection depends on having a long \"tail\" of typical enhancers; few peaks distort the inflection.\n\n**Symptom:** SE count is unreasonably high (50%+ of all peaks called SE) or unreasonably low (\u003C 50 SE).\n\n**Fix:** Require ≥ 5000 enhancer peaks input to ROSE2; if fewer, use absolute signal cutoff (e.g., top 5% by signal density) rather than hockey-stick.\n\n## Reconciliation: When SE Calls Disagree\n\n| Pattern | Likely cause | Action |\n|---------|--------------|--------|\n| ROSE2 vs HOMER -style super differ | Different stitching distance \u002F TSS handling | Use ROSE2 standard for cross-paper comparison; HOMER for HOMER-integrated workflows |\n| H3K27ac SE ≠ MED1 SE at same locus | H3K27ac is broad; MED1 marks subset of active SE | MED1 SE is the more functional definition; H3K27ac includes inactive-but-acetylated regions |\n| SE called in DMSO but not in BETi (or vice versa) | Global signal shift confounds threshold | Spike-in normalize; compare quantitatively at union SE set |\n| SE shifts location between replicates | Marginal calls below inflection; hockey-stick inflection noisy | Use top N SE by rank for robustness; or require SE in ≥ 2\u002F3 replicates |\n| LILY and ROSE2 disagree on SE count | LILY's input subtraction differs | Trust ROSE2 unless input quality is poor (low FRiP) |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| `SyntaxError: invalid syntax` in ROSE | Python 2 codebase | Use ROSE2 (linlabbcm) Python 3 port |\n| GFF format error | Wrong column ordering | Use awk template: `chr\u003CTAB>peaks\u003CTAB>enhancer\u003CTAB>start\u003CTAB>end\u003CTAB>.\u003CTAB>strand\u003CTAB>.\u003CTAB>ID=N` |\n| ROSE2 reports 0 SE | Hockey-stick inflection failed; too few enhancers | Inspect `_Plot_points.png`; ≥ 5000 peaks input recommended |\n| Genome flag error in ROSE2 | Genome not pre-configured | Genome flag must be one of HG18, HG19, HG38, MM8, MM9, MM10 |\n| All SE at promoters | TSS exclusion too narrow OR data dominated by promoter signal | Verify `-t 2500`; check input is H3K27ac at enhancers not full chromatin |\n| Cross-condition SE gain\u002Floss not reproducible | No spike-in normalization | Spike-in (ChIP-Rx) or quantitative differential on union SE |\n\n## References\n\n- Whyte WA et al 2013 Cell 153:307 (super-enhancers, ROSE)\n- Lovén J et al 2013 Cell 153:320 (SE characterization, BET sensitivity)\n- Hnisz D et al 2013 Cell 155:934 (SE in cell identity)\n- Pott S & Lieb JD 2015 Nat Genet 47:8 (SE as continuum critique)\n- Lin CY et al 2016 Nature 530:57-62 (medulloblastoma super-enhancers)\n- Saint-André V et al 2016 Genome Res 26:385 (core regulatory circuitry)\n- Boeva V et al 2017 Nat Genet 49:1408 (LILY; neuroblastoma SE)\n- Hnisz D et al 2017 Cell 169:13 (phase-separation model of transcriptional control)\n- Hay D et al 2016 Nat Genet 48:895 (genetic dissection of the alpha-globin super-enhancer)\n- Moorthy S et al 2017 Genome Res 27:246 (SE constituents have equivalent\u002Fredundant regulatory roles in ESCs)\n- Sengupta S & George RE 2017 Trends Cancer 3:269 (SE function review)\n\n## Related Skills\n\n- chip-seq\u002Fpeak-calling - Generate H3K27ac \u002F MED1 \u002F BRD4 peaks for SE input\n- chip-seq\u002Fchipseq-qc - Filter hyper-ChIPable peaks before SE calling\n- chip-seq\u002Fspike-in-normalization - Mandatory for cross-condition SE comparison\n- chip-seq\u002Fdifferential-binding - Quantitative differential testing on union SE set\n- chip-seq\u002Fpeak-annotation - Annotate SE-associated genes; cross-reference dELS\n- chip-seq\u002Fcut-and-run-tag - SE calling on CUT&RUN\u002FCUT&Tag H3K27ac (different spike-in)\n- atac-seq\u002Fenhancer-gene-linking - ENCODE-rE2G for SE-target gene assignment\n- data-visualization\u002Fgenome-tracks - SE region visualization\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","chip-seq\u002Fsuper-enhancers\u002FSKILL.md","ROSE","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-chipseq-super-enhancers","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-chipseq-super-enhancers",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-chipseq-super-enhancers",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-chipseq-super-enhancers","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-chipseq-super-enhancers\u002FSKILL.md",true,[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fanalyze_super_enhancers.py","SCRIPT","脚本",2587,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-chipseq-super-enhancers\u002Fexamples\u002Fanalyze_super_enhancers.py",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Frun_rose.sh",1238,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-chipseq-super-enhancers\u002Fexamples\u002Frun_rose.sh",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"usage-guide.md","REFERENCE","参考文档",7712,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-chipseq-super-enhancers\u002Fusage-guide.md",[67,75,82,89,96,103],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":74},"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":74},"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":74},"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":74},"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":74},"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",[],[]]