HiCExplorer¶
HiCExplorer is a suite of command-line tools to process, normalize, analyze and visualize Hi-C, Micro-C and capture Hi-C (cHi-C) data. This is version 4.
What is new in version 4¶
-
Faster, with less memory. On real data, version 4 runs the analysis tools of HiCExplorer 3.7.6 three to eight times faster with two to four times less peak memory,
hicBuildMatrixneeds about a twelfth of the CPU time, and most tools run multithreaded:Task 3.7.6 4.0 Speedup hicBuildMatrix, 92.7M read pairs, 10 kb, CPU time2,245 s 197 s 11.4x hicDetectLoops, GM12878 chr1, 10 kb20.0 s 6.3 s 3.2x hicFindTADs, GM12878 chr1, 10 kb32.3 s 4.0 s 8.2x hicPCA, GM12878 chr1, 100 kb11.1 s 4.0 s 2.8x Stripe calling on 22 GM12878 autosomes takes 210 s instead of 3,015 s in Stripenn. See Benchmarks for memory, threads and the data.
-
The same results. Every tool is checked against the output of HiCExplorer 3.7.6 on real and synthetic data. Command lines, file formats and outputs stay compatible. Where 3.7.6 was wrong, version 4 corrects it; these differences are listed in the news.
- CHiCAGO scoring. The
chicChicago*tools score capture Hi-C interactions with the CHiCAGO method from cool, h5 or.hicmatrices, and plot them as viewpoints, arcs and genome tracks. See the CHiCAGO tutorial. - New analysis tools.
hicDifferentialAnalysis(differential TADs, loops and compartments between conditions with replicates),hicDetectStripes(architectural stripes with the method of Stripenn),hicArrowhead(contact domains with the Arrowhead algorithm), nested domains and a CTCF motif filter inhicFindTADs, and the five reproducibility measures SCC, GenomeDISCO, HiC-Spector, QuASAR-Rep and ENT3C inhicCorrelate. - One package.
conda install hicexplorerinstalls the tools together with the Python API. Existing scripts that call the commands or importhicexplorerkeep working.
At a glance¶
# build a Hi-C matrix from two independently mapped SAM/BAM files
hicBuildMatrix --samFiles mate_R1.bam mate_R2.bam \
--binSize 10000 --restrictionSequence GATC --danglingSequence GATC \
--restrictionCutFile cut_sites.bed --outBam hic.bam \
-o hic_matrix.cool --QCfolder ./hicQC
# correct the matrix (Knight-Ruiz, the default)
hicCorrectMatrix correct -m hic_matrix.cool -o hic_corrected.cool
# call TADs
hicFindTADs -m hic_corrected.cool --outPrefix hic_corrected
Where to go next¶
- Installation: installing with conda, pip or from source.
- Usage: the general command-line conventions shared by all tools.
- Tools: the full list of tools, grouped by task, each with its own CLI reference.
- File formats: the native h5/cool matrix format and the capture Hi-C HDF containers.
- Example usage: a worked pre-processing-to-visualization walkthrough.
- Benchmarks: runtime and memory compared with HiCExplorer 3.7.6.
- News: the release history.
- Citation: how to cite HiCExplorer.
- Support: where to get help.