hic-matrix-qc

Compute coverage, cis/trans ratios, and P(s) curves for Hi-C files.

12|3|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/BIsnake2001/ChromSkills --skill hic-matrix-qc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hic-matrix-qc
Source: https://github.com/BIsnake2001/ChromSkills/tree/main/30_toolBased.hic-matrix-qc
Command: npx skills add https://github.com/BIsnake2001/ChromSkills --skill hic-matrix-qc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This QC skill assesses Hi-C data quality by computing coverage, cis/trans ratios, and distance-dependent contact decay (P(s)) for .cool, .mcool, or .hic inputs, enabling reliable downstream analyses.

Core Features & Use Cases

  • Compute per-bin coverage and cis/trans ratios at a user-specified resolution.
  • Generate P(s) curves and decay plots to evaluate contact frequency as a function of genomic distance.
  • Compare replicates via correlation metrics to identify inconsistencies and assess experimental reproducibility.
  • Output a structured QC directory with logs, metrics, and plots suitable for reporting.

Quick Start

Run hic-matrix-qc on your Hi-C files to generate QC metrics and plots for your chosen resolution.

Frequently Asked Questions about hic-matrix-qc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Hi-C matrix QC to compute coverage and cis/trans ratios?

Run Hi-C matrix QC by providing a .cool, .mcool, or .hic file path, a genome assembly, and a chosen resolution. It uses cooler and cooltools to compute per-bin coverage, cis/trans ratios, and outputs metrics with plots in a structured directory.

What is distance-dependent contact decay P(s) in Hi-C data quality assessment?

Distance-dependent contact decay P(s) measures how Hi-C contact frequency decreases as genomic distance increases. This skill generates P(s) curves and decay plots to evaluate contact frequency as a function of genomic distance for your input matrix.

Can I compare Hi-C replicates at a specific resolution using cooler and cooltools?

Yes, you can compare Hi-C replicates at a user-selected resolution. The skill computes correlation metrics across multiple replicate files to identify inconsistencies, assess experimental reproducibility, and outputs a replicates-comparison report.

Does this Hi-C QC workflow support both .cool and .hic file formats?

Yes, the Hi-C QC workflow supports .cool, .mcool, and .hic file formats as inputs. You provide the file path along with the genome assembly and chosen resolution to generate per-bin metrics, plots, and a QC summary.

What do I need to provide to generate a Hi-C replicates-comparison report?

You need to provide a Hi-C file path, a genome assembly, and a chosen resolution. The skill applies cooler and cooltools to generate per-bin metrics, decay plots, and a structured QC directory with logs and a replicates-comparison report.

Why assess Hi-C data quality before downstream genome analyses?

Assessing Hi-C data quality ensures reliability for downstream analyses by computing coverage, cis/trans ratios, and P(s) decay. This QC identifies replicate inconsistencies and generates metrics with plots to guide subsequent genome analysis steps.