This skill covers comparing Hi-C contact matrices between conditions to identify differential chromatin interactions, compartment switches, and boundary changes.
pip install cooler cooltools numpy scipy pandas matplotlib statsmodels bioframeTell your AI agent what you want to do:
- "Compare Hi-C between treatment and control"
- "Find differential contacts"
"Compute log2 fold change between these two Hi-C samples"
"Show differential contact map"
"Find compartment switches between conditions"
"Compare TAD boundaries"
"Test for significant differential contacts"
"Apply FDR correction to the p-values"
- Load both cooler files
- Normalize for sequencing depth
- Compute log2 fold change
- Test for significance (if replicates)
- Visualize differential contacts
- Depth normalization - Essential for fair comparison
- Replicates - Needed for statistical testing
- Resolution - Match resolution between samples
- FDR correction - Apply when testing many contacts