Agent skill · AI & Agents

hic-compartment-shift

This skill performs A/B compartment shift analysis between two Hi-C samples.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill 32-hic-compartment-shift-bisnake2001-chromskills-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/analysis/32-hic-compartment-shift-bisnake2001-chromskills-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Compartment shift Analysis --- ## Overview This skill performs A/B compartment shift analysis using PC1 eigenvector values extracted from Hi-C data, following the HOMER framework. It supports two conditions, each with two or more replicates, and uses the PC1 values (E1 column) from user-provided TSV files. Major steps include: - Refer to **Inputs & Outputs** to verify necessary files. - **Always prompt user** for genome assembly used. Never decide by yourself. - Convert TSV (Chrom, start, end, weight, E1) into HOMER-compatible PC1 bedGraph files. - Generate a unified genomic bin list for annotatePeaks. - Extract PC1 values across all samples. - Perform differential PC1 analysis with replicate-aware limma statistics. - Produce differential compartment tables and stitched compartment-shift domains. --- ## When to use this skill Use this skill when you want to: - Detect compartment shifts between two conditions (e.g., cell type 1 vs cell type 2) - Identify statistically significant changes in PC1 values across genomic bins - Determine regions that flip between A and B compartments - Integrate compartment shift results with other genomic datasets --- ## Inputs & Outputs ### Inputs Ex

What's inside
Steps it walks through
  1. Overview
  2. When to use this skill
  3. Inputs & Outputs
  4. Inputs
  5. Outputs
  6. Decision Tree
  7. Step 1: Convert TSV files to PC1 bedGraph
  8. Step 2: Create a bin list for annotatePeaks
  9. Step 3: Compartment shift analysis
Ships with 1 file
  • metadata.json
Commands it runs
compartments_shift_analysis/
shift_regions/
diff_PC1_CT2_vs_CT1.txt
temp/
bins_PC1.txt
PC1_all_samples.txt
awk 'BEGIN{OFS="	"} NR>1 && NF==5 {print $1, $2, $3, $5}' CT1_rep1.tsv > CT1_rep1.PC1.bedGraph
awk 'BEGIN{OFS="	"} NR>1 && NF==5 {print $1, $2, $3}' CT1_rep1.tsv > bins_PC1.txt
More from claude-skill-registry
All skills →
About this skill
What does the hic-compartment-shift skill do?

This skill performs A/B compartment shift analysis between two Hi-C samples.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill 32-hic-compartment-shift-bisnake2001-chromskills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going