News¶
Release 4.0.0¶
November 2026
HiCExplorer 4.0 is a new major version. Every tool of release 3.7.6 keeps its name, command line, file
formats and outputs, checked tool by tool against 3.7.6, and the Python modules keep their API. The tools
now run on a new compiled core. On real data the analysis tools run three to eight times faster than in 3.7.6
with two to four times less memory, hicBuildMatrix needs about a twelfth of the CPU time, and most
tools run multithreaded (--threads):
| Task | 3.7.6 | 4.0 | Speedup |
|---|---|---|---|
hicBuildMatrix, 92.7M read pairs, 10 kb, CPU time |
2,245 s | 197 s | 11.4x |
hicDetectLoops, GM12878 chr1, 10 kb |
20.0 s | 6.3 s | 3.2x |
hicFindTADs, GM12878 chr1, 10 kb |
32.3 s | 4.0 s | 8.2x |
hicPCA, GM12878 chr1, 100 kb |
11.1 s | 4.0 s | 2.8x |
See Benchmarks for memory, threads, the CHiCAGO tools and the comparison with Stripenn.
New tools:
chicChicagoBackgroundModel,chicChicagoScoresandchicChicagoSignificantInteractionsscore capture Hi-C interactions with the CHiCAGO method, from cool, h5 or.hicmatrices or from CHiCAGO.chinputfiles.chicChicagoPlotViewpointplots the viewpoints as scatter plots or arcs, for one bait or all baits of a region, and writes the interactions as a pyGenomeTracks links file. See the CHiCAGO tutorial.hicDifferentialAnalysistests TADs, loops and A/B compartments for differences between conditions with replicates, using a negative binomial model.hicDetectStripesdetects architectural stripes with the method of Stripenn (Yoon et al. 2022); it gives the same stripes, p-values and stripiness scores as Stripenn.hicArrowheadcalls contact domains with the Arrowhead algorithm of Juicer tools.hicMatrixQCwrites a quality-control report for finished cool and mcool matrices.hicBuildMatrixandhicBuildMatrixMicroCnow store their QC statistics in the cool metadata (keyhicexplorer_qc), which the report reads back.
Removed:
hicTADClassifierandhicTrainTADClassifierare removed.hicPlotTADsis removed because it only called pyGenomeTracks. UsepyGenomeTracksdirectly with the same track files (pyGenomeTracks --tracks tracks.ini --region chr1:1000000-4000000 -o image.png). See the pyGenomeTracks documentation.
New options and features:
hicConvertFormatreads CHiCAGO.chinputfiles (--inputFormat chinput, with--rmap), reads.hicfiles of versions 6 to 9 and writes.hicfiles of versions 8 and 9 (--outputFormat hic). A cool or mcool file is converted to.hicby streaming its pixels, with raw counts as pixels;--hicNormalizations auto, the default, keeps the normalization vectors the file stores and computes VC, VC_SQRT, KR and SCALE only when it stores none.hicBuildMatrixreads deduplicated read pairs in the 4DN.pairsformat (--pairsFile) as well as SAM/BAM files.hicFindTADscalls nested domains within the domains of its first pass (--nestedMinDepth,--nestedMaxDepth,--nestedStep) and keeps boundaries with divergent CTCF motifs, a reverse site before and a forward site after the boundary (--ctcfFile).hicCorrelate --methodcomputes the reproducibility measures SCC (HiCRep), GenomeDISCO, HiC-Spector, QuASAR-Rep and ENT3C, with the default parameters of their reference implementations.hicPlotMatrix --matrix2draws two matrices as the upper and lower triangle of one heatmap.hicPCA --eigenSolver lanczoscomputes the eigenvectors of large matrices with less time and memory.hicDifferentialTADandchicSignificantInteractionsaccept--correctForMultipleTestingandhicDifferentialTADaccepts--sharedMask.hicCompartmentalization --noPlotwrites the numeric results without drawing the figure.hicBuildMatrixand the CHiCAGO tools produce the same output for every number of threads.- A cool or h5 matrix file whose sparse structure points outside the matrix (row offsets that do not span the stored entries, column or bin indices beyond the matrix) is rejected with an error before any tool uses it.
Fixed (these results differ from 3.7.6, where 3.7.6 was wrong):
hicConvertFormat --outputFormat mcoolandhicBuildMatrixwith several bin sizes write the root of the mcool withformat = HDF5::MCOOLandformat-version = 2, as cooler's zoomify does. The root was marked as a cooler, so cooler listed/as a cooler and warned that it is corrupt (#952).hicAdjustMatrix --regionsincludes the last bin of a chromosome when the region end equals the chromosome length (3.7.6 wrote an empty matrix with exit code 0), and--action keep,removeandmaskstop with an error when the selection matches no bin (#934).hicPCAcomputes the eigenvectors 1 and 2 without--whichEigenvectors. The default was the string '1 2', which 3.7.6 split into the characters '1', ' ' and '2', so the run failed on a space (#867, #883).hicBuildMatrix,hicBuildMatrixMicroCandhicQuickQCno longer count two different inter-chromosomal pairs as one contact plus a duplicated pair when the positions are exchanged between the chromosomes (#957). The duplicate key now orders the two (chromosome, position) mates together, so two pairs are duplicates only when both mates agree, whichever mate comes first.hicDifferentialTADandhicInterIntraTADcut the inter-TAD blocks of every TAD from the bins of the neighbouring TADs. In 3.7.6 the right block of a cool matrix lacked the last bin of the next TAD, the last TAD of a chromosome was compared with a wrong or empty block, and the second of two TADs on a chromosome had no left block. h5 and cool matrices now give the same result, andhicInterIntraTADreads h5 matrices, which ended with a division by zero in 3.7.6.hicCorrectMatrix --transCutoffclips the inter-chromosomal counts above the given percentile and--inflationCutoffremoves the bins that the correction inflated; both had no effect or failed in 3.7.6.hicBuildMatrixwrites an mcool for two or more bin sizes (3.7.6: three or more), refuses several bin sizes with an h5 or cool output name, and stores the plain version string in the metadata of every resolution.hicConvertFormatstops with an error, before writing, when several matrices are given together with--resolutions; 3.7.6 logged an error and wrote the output repeatedly.hicCreateThresholdFileaccepts--helpand--version.hicBuildMatrix,hicBuildMatrixMicroCandhicQuickQCcount a pair as "One mate not unique" only when both mates have mapping quality 0, on BAM and.pairsinput; 3.7.6 looked at the first mate only.hicBuildMatrix --keepSelfCirclesdecides about self circles: without it they are removed, and with several restriction sequences a self circle is counted once. 3.7.6 kept them in both cases and counted them once per sequence.- The per-bin read coverage that
hicBuildMatrixstores puts each mate into its own bin and counts the last cell of every bin; 3.7.6 used the second mate's bin for both and skipped the last cell. hicBuildMatrix --outBamwrites the insert size of each pair (3.7.6: 0),--regiontogether with--restrictionCutFilekeeps the cut sites inside the region (3.7.6: usually none), and--doTestRunleaves no empty output file behind. Chromosomes and bins beyond 4.29 Gb no longer wrap around.hicFindTADscomputes the delta of a boundary candidate as the mean of the scores left and right of it, without the minimum itself; 3.7.6 averaged a window that contained the minimum, so deltas were too small and fewer boundaries passed--delta. Window lengths and the bin size in the_tad_score.bmheader use the bin size of the enlarged bins, the_zscore_matrixstores no NaN entries beyond2 * maxDepth, chromosome starts and ends are kept apart in the boundary list, and invalid depths exit with status 1.hicMergeMatrixBinskeeps the full length of every chromosome and all counts when bins are merged; 3.7.6 shortened the chromosomes and lost counts of the last bins (#787, #906).hicAdjustMatrix --maskBadRegionsmasks the regions of its BED file; 3.7.6 never read the file.hicAdjustMatrixexits with status 1 when no selection or an unknown chromosome name is given, and--regions --action removeremoves only the given regions; 3.7.6 also deleted every empty bin.- An h5 matrix keeps its correction factors in
/correction_factorswhen a tool reads and writes it, and the factors follow their bins when bins are selected or reordered; 3.7.6 wrote them as/distance_counts. Tools whose output values are not the counts the factors belong to (hicCompareMatrices,hicNormalize,hicSumMatrices,hicTransform,hicMergeMatrixBins,hicMergeTADbins, and the intermediate matrices ofhicFindTADs,hicPCAandhicAggregateContacts) write no correction factors; 3.7.6 carried the input's factors into them. - The expected contacts at a distance are the sum divided by the diagonal length n - d (3.7.6: n + 1 - d),
each pair is divided by the expected value of its own distance (3.7.6: of ceil(d / 2)), and the obs/exp
ratio of an integer matrix stays a floating-point number (3.7.6: truncated). This changes the loops of
hicDetectLoops, the obs/exp matrices ofhicTransformand the eigenvectors ofhicPCA --method lieberman. hicDetectLoopscuts the window of the peak test around the candidate itself; 3.7.6 cut it around a wrong position whenever the candidate's value occurred twice in its window.hicMergeLoopsmerges inter-chromosomal loops in the tree of their own y chromosome and keeps one copy of a loop that appears identically in several inputs; 3.7.6 failed or merged against the wrong chromosome, and dropped every copy of a repeated loop.utilities.compute_zscoresubtracts the expected value from the observed value (3.7.6: from zero, so the z-scores did not depend on the data), and theutilitiesfunctions for expected values and obs/exp matrices handle explicitly stored zeros (3.7.6 misaligned values and distances). An interval tree built from a bin list keeps every run of a chromosome that appears more than once.hicConvertFormat --outputFormat ginteractionswrites the file given in--outFileName(3.7.6:<outFileName>.tsv),--outputFormat hicprowrites each contact once, every resolution of an mcool carries the genome assembly, and--enforce_integerstops with an error when rounding would set every pixel of a corrected matrix to zero (3.7.6 wrote an empty matrix).hicBuildMatrixandhicBuildMatrixMicroCcount the entries of the SA tag one by one. 3.7.6 counted the;characters, so a reference name that contains;(for exampleSc1;HRSCAF=2) inflated the number of supplementary alignments, consumed the following reads and ended with "Be sure that the sam files have the same read order" (#387).hicPlotDistVsCountsstops with a message and exit code 1 when no curve with more than one point can be drawn, for example with--maxdepthclose to the bin size; 3.7.6 ended withUnboundLocalErrorforlgd(#836).chicViewpointnames the sample group of an mcool URI after the file (A.mcool::resolutions/10000givesA); 3.7.6 took the text before the first dot of the whole URI, so two mcool files collided on the group10000and the run stopped withUnable to create group (name already exists)(#828). Names of cool and h5 files are unchanged.hicMergeDomainsaccepts the domain files in any order and merges them from the finest to the coarsest bin size. 3.7.6 merged in command line order and stopped withIndexError: list index out of rangein the relation tree for 100, 50, 10 kb (#790, #803, #839). The trees now contain the relation that opens each chromosome after the first and the TADs left over on the last chromosome, which 3.7.6 left out.hicConvertFormat --inputFormat 2D-textwrites one pixel per line, at the bins that contain the start coordinates of the two anchors (#808). 3.7.6 also looked up the bins of the exclusive end coordinates and assigned both, so every line whose end lies in the next bin made two pixels.hicConvertFormat --outputFormat ginteractions,homerandhicprowrite the negative values of a matrix, for example afterhicTransform --method pearson(#584). 3.7.6 took the maximum of the upper triangle and its transpose, which set every negative off-diagonal value to 0.hicCorrectMatrix --correctionMethod ICEwith a cool matrix writes the raw counts and the weights, as KR does (#586). 3.7.6 wrote the already corrected counts together with the weights, so cooler's balanced values applied the correction twice. An output name ending in.h5keeps the corrected values.hicSumMatriceswrites every pixel of every input, so the sum of the result equals the sum of the inputs (#814). 3.7.6 masked the bins that are empty in either input after the addition and discarded the counts in them (5,142 pixels for GSM2644945 plus GSM2644947), and wrote an integer matrix as float64.
Release 3.7.6¶
27 November 2024
- Add a new hicBuildMatrixMicroC script to build matrices from Micro-C data. It is the same as hicBuildMatrix but without the enforcement of the restriction cut site file, restriction sequence and dangling end since this is not necessary for Micro-C data.
- Update to include support for Python 3.11 and 3.12
Release 3.7.5¶
June 2024
- Update the version file.
Release 3.7.4¶
24 April 2024
- Allow chicAggregateStatistic.py to to extract the aggregated data from the views.hdf based on differential.hdf or differential_target.bed. Now the BED may have the target name in the 4th column. In that case, the aggregation is done per target.
- Allow hicCorrectMatrix.py to write filtered out regions to a BED file
Thanks @pavanvidem
Warning: In this version the version file has not been modified so the tools gives 3.7.3 as version.
Release 3.7.3¶
17 November 2023
- Maintenance update for HiCExplorer to keep up to date with APIs of dependencies
- Add additional of the polarization ratio to the output of hicCompartmentalization. Thanks @contessoto.
Release 3.7.2¶
1 October 2021
- Fixing a bug in hicHyperoptDetectLoops concerning the validation of the loop locations
- Fixing a bug in hicValidateLocations concerning the computation of TADs
- Adding the -v option for the version for hicInfo
- Adding documentation concerning the native file formats of HiCExplorer
- Fixing the way A/B compartments are computed based on Lieberman-Aiden 2009. The intermediate Pearson matrix is not used anymore.
Release 3.7.1¶
9 August 2021
The promised functions for the strand information in 3.7 were not part of the release due to confusion in merging multiple branches. Therefore they are now included in the 3.7.1 release:
- hicAggregateContacts: Option to consider the strand orientation (#633)
- hicAverageRegions: Option to consider the strand orientation (#633)
Additionally, a small bug fix in hicInfo concerning the correct sum of the interaction matrix.
Release 3.7¶
27 July 2021
- A new TAD prediction method:
hicTADClassifierand a method to train own classifiershicTrainTADClassifier. Thanks @AlbertLidel for the design and implementation. - New file formats for capture Hi-C modules.
chicViewpoint,chicSignificantInteractions,chicAggregateStatisticandchicDifferentialTestuse now HDF5 based files. A new export scriptchicExportDatais provided to retrieve text files from these HDF5 files. - Implementing a few feature requests:
hicPlotMatrix: TADs can be visualized with hicPlotMatrixhicAdjustMatrixis able to remove intra- or inter-chromosomal contacts (#664, #704)hicValidateLocations: An option to validate TADs and to use additional data stored incoolmatriceshicPCA: Adding a function to select which eigenvector should be used for the output (#669)hicConvertFormat: Adding the function to export hicpro file format and to import2D-textfiles.hicFindRestSites: Support of multiple restriction cut sequences (#659)hicPlotMatrix: Option for loop locations spanning more than one bin to define if the start, center or end should be used for plotting (#640)hicInterIntraTAD: A new script to compute the ratio of inter and intra TAD. ($404)hicAggregateContacts: Option to consider the strand orientation (#633)hicAverageRegions: Option to consider the strand orientation (#633)hicCompareMatrices: An option to not normalize the matrices before the computation. (#677, #645) Thanks @lldelislehicDifferentialTAD: Adding rank sum statistics to the output (#728, #727). Thanks @dawehicPlotDistVsCounts: Adding a function to plot the counts vs distance in TAD regions. (#696) Thanks @lldelisle
- Bug fixes:
hicCorrectMatrix: A bug that lead to wrong correction factors for the KR correction forcoolfiles (#724)hicDifferentialTAD: Solved multicore issue related to skipping data at the start and end of chromosomes (#725, #685)hicHyperoptDetectLoops: Added an option to set if thechrprefix should be added or removed (#723)hicPCA: Solving an issue if the region defined by the gene track is larger the region stored in the interaction matrix (#655, #710, #716, #719)hicPCA: Fixing a bug where the masking of bins was automatically applied which lead to differing matrix dimensions for the e.g. the Pearson correlation matrices (#618)hicBuildMatrix: Solving a bug if multiple restriction cut sites have the same dangling ends (#720)hicBuildMatrix: Solving a bug that the parameter--removeSelfLigationswas always set to true. Changed parameter name to--keepSelfLigationsto keep the functionality. If the parameter is not set, the self ligations are removed.hicBuildMatrix: If a region is specified, only the restrictionCutSite file information for that region is loaded to save memory (#646)hicConvertFormat: Fixing a bug to copy the genome annotation information in the case of acooltocoolfile conversion (#657)hicCorrelate: Correcting the range of colors for the heatmap (#585)hicCompartmentalization: Fixed index bug (#635, #637) Thanks @LeilyR
- Updating
hicBuildMatrixto be able to work with biopython versions > 1.77. Thanks @lldelisle (#691)
Release 3.6¶
10 November 2020
- hicAggregateContacts, thanks @LeilyR:
- hicAggragateContact has been updated to be able to handle inter chromosomal contacts as well as inter chromosomal contacts
- Added scikit-learn to dependencies
- hicBuildMatrix: Fixing another bug concerning scaffolds without any restriction enzyme cut site
- Updated dependencies
- Adding default values to the documentation. Thanks @lldelisle
- hicTransform: Fixing a bug in case one of the intermediate matrices is empty
- Official Python 3.8 support:
- Manually setting 'fork' as the start method for multiprocessing because the default on macOS was set to 'spawn'
Release 3.5.3¶
14 October 2020
- Bug fix release:
- Reads from scaffolds without any restriction enzyme cut site are considered as 'same fragment'. An appearance of such a read will not lead to a crash anymore
- Minor documentation improvements
Release 3.5.2¶
06 October 2020
- Bug fix release:
- enforcing version 15 of HiCMatrix. Version 14 had a bug concerning the application of the correction factors of cool files. See issue #595
- Fixing a bug in hicDetectLoops in single-core mode. Thanks @alecw
- Fixing a bug in hicDifferentialTAD concerning multiple chromosomes in the bed file. See issue #587
- Updating dependencies to newest versions, except biopython. Forcing here <1.77 because their API change is breaking our source code. See issue #609
- Fixing #596
- Changing internal structure of the docs. Navigation should be better now.
Release 3.5.1¶
11 August 2020
- patch hicCorrelate
- hicBuildMatrix: Better help text
- patch for hicPlotMatrix if matrix does not start at 0 and --region is used
- bug fix for remove option in hicAdjustMatrix
Release 3.5¶
10 July 2020
- Major update for hicDetectLoops: Results are now closer to HiCCUPS, it is faster and needs less memory.
- hicHyperoptDetectLoops: New tool to compute the best parameter setting if the number of expected loops is given and a protein boundary file (e.g. CTCF on mammals) is provided
- hicHyperoptDetectLoopsHiCCUPS: New tool to compute the best parameter setting for Juicers HiCCUPS. HiCCUPS and all its dependencies are not part of HiCExplorer and must be provided by the user. Number of expected loops and a protein boundary file (e.g. CTCF on mammals) must be provided.
- hicMergeDomains: New tool to compute a merge of TADs computed on different resolutions. Moreover it provides a cleaning of the boundaries with the help of a protein peak file, and the hierarchical dependencies of TADs can be plotted. This tool is the result of the Bachelor thesis from Sarah Domogalla (@SarahMaria27). Thanks for your contribution!
- hicDifferentialTAD: New tool to compute differential TADs between two samples
- Bug fix for hicFindTADs: The format of the intermediate z-score matrices are now depending on the format of the input Hi-C matrix
- Bug fix for chic*-modules: Fixate range is now correct applied.
- chicSignificantInteractions, hicDetectLoops: Option to use a per relative position p-value with a p-value threshold file
- Adding hicCreateThresholdFile: A script to generate a per position p-value threshold for hicDetectLoops and chicSignificantInteractions
- Bug fix for hicPlotMatrix:
- multiple bigwig tracks in the vertical setting are now supported
- correct plot of bigwig if the given matrix does not start at the beginning of the chromosome
- new parameters 'increaseFigureWidth' and 'increaseFigureHeight' to add more space to the plot if multiple bigwigs are plotted. Adjust this parameter to correct the plot of the heatmap which may be not quadratic anymore.
- restriction of the loop regions to the user given range. This effects especially SVGs that will now contain less objects as before.
- New feature for hicBuildMatrix:
- multiple restriction cut sequences, dangling ends and restriction cut sites files are now supported
- restriction cut sequences, dangling ends and restriction cut sites files are now mandatory parameters. This is now enforced to guarantee a correct detection of self ligations and self circles
- hicPrepareQCreport: New support for multiple dangling ends
- hicQuickQC: restriction cut sequences, dangling ends and restriction cut sites files are now mandatory parameters
- hicFindRestSite: gz support for fasta file
- Add fallback modes to multiple scripts if the parallelization fails.
- hicAggregate: interactions between two bed files by comparing every row in the first bed file with its corresponding row in the second file. (issue #390)
- hicAdjustMatrix: fix #341, 454
- fixed --action remove: it actually remove the part from the matrix previously was masking it
- the case where the end of the chromosome need to be removed.
- New Azure testing for the general test cases, the trivial ones run on travis
Publication¶
02 July 2020
Galaxy HiCExplorer 3: a web server for reproducible Hi-C, capture Hi-C and single-cell Hi-C data analysis, quality control and visualization Joachim Wolff, Leily Rabbani, Ralf Gilsbach, Gautier Richard, Thomas Manke, Rolf Backofen, Björn A Grüning Nucleic Acids Research, Volume 48, Issue W1, 02 July 2020, Pages W177–W184
Release 3.4.3¶
23 March 2020
- Fixing the wrong p-value computation in for chicViewpoint. New method is more accurate for floating points.
- Fixing a bug in chicViewpointBackgroundModel and chicQualityControl if an non-existing reference point was used.
- Improving all chic* modules with a capturing of errors in sub-processes. It is now guaranteed that the computation will terminate. Either successful or by error.
- Add option 'truncateZero' to chicViewpointBackgroundModel: This removes all zero values for the distributions before fitting to fight over dispersion.
- Add option 'decimalPlaces' to chicViewpoint to adjust the decimal places in the output for all floating values. Helpful for really small p-values
- Add option 'truncateZeroPvalues' to chicSignificantInteractions to set all p-values which are 0 to 1 and are therefore ignored.
- Add option 'truncateZeroPvalues' to chicPlotViewpoint to set all p-values which are 0 to 1 and do not disturb the presentation of real p-values
Release 3.4.2¶
7 March 2020
- This release fixes the wrong name scheme which was used in the chicModules. The most .bed files are now .txt files.
- hicDetectLoops got an inner chromosome parallelization to decrease the compute time.
- hicPlotMatrix got three new parameters: rotationX, rotationY and fontSize to adjust the position and font size of the labels. We hope this can lead in certain cases to a a better readability
- hicPlotMatrix: fixed a bug that occurred if the list of chromosomes was given and the last chromosome appeared as an additional label.
- Improving and updating the documentation.
Preprint¶
6 March 2020
The preprint of the loop detection algorithm is online via biorXiv: <https://www.biorxiv.org/content/10.1101/2020.03.05.979096v1>_
Release 3.4.1¶
3 February 2020
- This release fixes a bug in chicViewpoint that caused a crash if the data to be averaged is less than the window size.
Release 3.4¶
28 January 2020
- Fixing a bug in hicAdjustMatrix:
keepoption had a bug concerning the cutting before the end of a chromosome or the start position was not from the beginning of the chromosome - hicCompartmentPolarization was renamed to hicCompartmentalization and got some bug fixes
- Extending the option on how the observed vs. Expected matrix is computed and adding the parameter
--ligation_factorto achieve a rescale behaviour of the values as it is implemented in Homer. The same changes are applied tohicTransform - Improved the documentation
- Adding an option in hicAverageRegions to select start, end, center or start_end as start index for up/downstream range.
- hicBuildMatrix: Removed default value of binSize to enable mutually exclusive group error if not one of them is set. Behaviour so far was that the binSize was taken.
- hicPlotSVL: adding xlegend to plot of SVL ratios to indicate the data points per boxplots are the chromosome ratios
- hicQuickQC: Removed binSize option of hicQuickQC because it does not matter for QC calculation and adding a sentence to recommend the usage of restriction enzyme and dangling end sequence. Fixing bug issue #464
- hicNormalize: Adding option in hicNormalize to remove values after the normalization if values are smaller than a given threshold
- Capture Hi-C modules: Change background model distribution assumption from negative binomial to continuous negative binomial by using Gamma functions as a replacement for the binomial coefficient. Source: https://stats.stackexchange.com/questions/310676/continuous-generalization-of-the-negative-binomial-distribution/311927
- hicInfo: Implementing feature request #456. The length of chromosomes is now show in the information too
Release 3.3.1¶
15 November 2019
- Fixing a bug in the labeling of chicPlotViewpoints if the value range is counted in MB
- Add an option to chicViewpoint to pre-compute a x-fold of p-value over the maximum value of the relative distance
Release 3.3¶
8 October 2019
- Fixing many bugs:
- A bug in hicDetectLoops if a sub-matrix was very small
- A bug in hicPlotMatrix if the region defined by --region was only a chromosome and loops should be plotted too
- A bug in hicPlotMatrix if a loop region should be plotted and chromosomeOrder argument was used too
- A bug in hicAggregateContacts (issue #405) if chromosomes were present in the matrix but not in the bed file
- A bug in hicAdjustMatrix concerning a bed file and consecutive regions, see issue #343
- A bug in hicAdjustMatrix if a chromosome is present in the matrix but not in the bed file, see issue #397
- A bug in hicCompartmentsPolarization concerning the arguments 'quantile' and 'outliers' were interpreted as strings but should be integers
-
A bug in hicAdjustMatrix concerning the 'keep' option and how matrices are reordered internally. Thanks @LeilyR
-
Added features as requested:
- hicPCA ignores now masked bins, see issue #342
- chicPlotViewpoint:
- Better legend handling on x-axis
- Peaks are now display with their fill width
- Add option
--pValueSignificantLevelsto categorize the p-values in x levels (e.g. 0.001 0.05 0.1)
- chicViewpoint:
- adding sorting via viewpoints and not by samples option (--allViewpointsList)
-
Adding an option to hicNormalize to normalize via multiplication and a use defined value (see issues #385, #424)
-
Rearrange hicAdjustMatrix to have a better accessibility to its functions from outside of main
- Improving the documentation and fixing grammar / spelling mistakes. Thanks @simonbray
- New script: hicPlotSVL to investigate short range vs long range ratios.
Release 3.2¶
** 22 August 2019**
- Adding the new captured Hi-C module. Viewpoint analysis based on a background model, significant interaction detection and differential analysis are provided.
- Adding documentation for captured Hi-C module and a tutorial on how to use it.
- Adding a module to be able to detect quite fast the quality of a Hi-C data set: hicQuickQC.
- Adding a tool to merge loops of different resolutions.
- Improving validation of locations: Presorting is no longer necessary; adding feature to add 'chr' prefix to loop or protein chromosome name
- Change loop detection slightly to improve results and fixed bugs:
- preselection p-value was ignored and only p-value was used
- adding additional test to the peak region test to decrease false discoveries
- exchanging pThreshold / ln(distance) to remove too low values by a share of the maximum value of the distance. New parameter 'maximumInteractionPercentageThreshold'
- Removal of the folder 'scripts' and its content. These were outdated scripts and will maybe part of regular Hi-C tools in the future.
Release 3.1¶
9 July 2019
- KR correction improvements: It is now able to process larger data sets like GM12878 primary+replicate on 10kb resolution.
- Adding script for validation of loop locations with protein peak locations
- Adding script hicCompartmentsPolarization: Rearrange the average interaction frequencies using the first PC values to represent the global compartmentalization signal
Release 3.0.2¶
28 June 2019
-
Pinning dependencies to:
-
hicmatrix version 9: API changes in version 10
- krbalancing version 0.0.4: API changes in version 0.0.5
-
matplotlib version 3.0: Version 3.1 raises 'Not implemented error' for unknown reasons.
-
Set fit_nbinom to version 1.1: Version 1.0 Had deprecated function call of scipy > 1.2.
- Small documentation fixes and improvements.
Release 3.0.1¶
5 April 2019
- Fixes KR balancing correction factors
- Deactivates log.debug
Release 3.0¶
3 April 2019
- Python 3 only. Python 2.X is no longer supported
- Additional Hi-C interaction matrix correction algorithm 'Knight-Ruiz' as a C++ module for a faster runtime and less memory usage.
- Enriched regions detection tool: 'hicDetectLoops' based on strict candidate selection, 'hicFindEnrichedContacts' was deleted
- Metadata for cooler files is supported: hicBuildMatrix and hicInfo are using it
- New options for hicPlotMatrix: --loops to visualize computed loops from hicDetectLoops and --bigwigAdditionalVerticalAxis to display a bigwig track on the vertical axis too.
Release 2.2.3¶
22 March 2019
- This bug fix release patches an issue with cooler files, hicBuildMatrix and the usage of a restriction sequence file instead of fixed bin size.
Release 2.2.2¶
27 February 2019
- This bug fix release removes reference to hicExport that were forgotten to delete in 2.2. Thanks @BioGeek for this contribution.
Release 2.2.1¶
7 February 2019
- Muting log output of matplotlib and cooler
- Set version number of hicmatrix to 7
- Optional parameter for hicInfo to write the result to a file instead to the bash
Release 2.2¶
18 January 2019
This release contains:
- replaced hicExport by hicConvertFormat and hicAdjustMatrix
-
extended functionality for hicConvertFormat
-
read support for homer, hicpro, cool, h5
- write support for h5, homer, cool
- convert hic to cool
-
creation of mcool matrices
-
hicAdjustMatrix
-
remove, keep or mask specified regions from a file, or chromosomes
-
hicNormalize
-
normalize matrices to 0 - 1 range or to the read coverage of the lowest given
-
hicBuildMatrix
-
support for build mcool
-
restructuring the central class HiCMatrix to object oriented model and moved to its own library: deeptools/HiCMatrix .
-
Extended read / write support for file formats
- better (faster, less memory) support for cool format
- remove of old, unused code
-
restrict support to h5 and cool matrices, except hicConvertFormat
-
hicFindTADs: Option to run computation per specified chromosomes
- hicPlotTADs: removed code and calls pyGenomeTracks
- hicAverageRegions: Sum up in a given range around defined reference points. Useful to detect changes in TAD structures between different samples.
- hicPlotAverageRegions: Plots such a average region
- hicTransform: Restructuring the source code, remove of option 'all' because it was generating confusion. Adding option 'exp_obs', exp_obs_norm and exp_obs_lieberman. These three different options use different expectation matrix computations.
-
hicPCA
-
Adding --norm option to compute the expected matrix in the way HOMER is doing it. Useful for drosophila genomes
-
Adding option to write out the intermediate matrices 'obs_exp' and 'pearson' which are necessary in the computation of the PCA
-
hicPlotMatrix
-
Add option to clip bigwig values
-
Add option to scale bigwig values
-
Removed hicLog2Ration, functionality is covered by hicCompareMatrices
- Extending test cases to cover more source code and be hopefully more stable.
- Many small bugfixes
Publication¶
13 June 2018
We are proud to announce our latest publication:
Joachim Wolff, Vivek Bhardwaj, Stephan Nothjunge, Gautier Richard, Gina Renschler, Ralf Gilsbach, Thomas Manke, Rolf Backofen, Fidel Ramírez, Björn A Grüning. "Galaxy HiCExplorer: a web server for reproducible Hi-C data analysis, quality control and visualization", Nucleic Acids Research, Volume 46, Issue W1, 2 July 2018, Pages W11–W16, doi: https://doi.org/10.1093/nar/gky504
Release 2.1.4¶
25 May 2018
- cooler file format correction factors are applied as they should be
- parameter '--region' of hicBuildMatrix works with Python 3
Release 2.1.3¶
7 May 2018
The third bugfix release of version 2.1 corrects an error in hicPlotViewpoint. It adds a feature requested in issue #169 which should have been included in release 2.1 but was accidentally not.
From 2.1 release note: hicPlotViewpoint: Adds a feature to plot multiple matrices in one image
Release 2.1.2¶
26 April 2018
The second bug fix release of 2.1 includes:
- documentation improvements
- fixing broken Readthedocs documentation
- Small bug fix concerning hicPlotMatrix and cooler: --chromosomeOrder is now possible with more than one chromosome
- Small fixes concerning updated dependencies: Fixing version number a bit more specific and not that strict in test cases delta values.
Release 2.1.1¶
27 March 2018
This release fixes a problem related to python3 in which chromosome names were of bytes type
Release 2.1¶
5 March 2018
The 2.1 version of HiCExplorer comes with new features and bugfixes.
- Adding the new feature
hicAggregateContacts: A tool that allows plotting of aggregated Hi-C sub-matrices of a specified list of positions. - Many improvements to the documentation and the help text. Thanks to Gina Renschler and Gautier Richard from the MPI-IE Freiburg, Germany.
-
hicPlotMatrix
- supports only bigwig files for an additional data track.
- the argument
--pcawas renamed to--bigwig - Smoothing the bigwig values to neighboring bins if no data is present there
- Fixes to a bug concerning a crash of
tight_layout - Adding the possibility to flip the sign of the values of the bigwig track
- Adding the possibility to scale the values of the bigwig track
-
hicPlotViewpoint: Adds a feature to plot multiple matrices in one image
-
cooler file format
-
supports mcool files
- applies correction factors if present
-
optionally reads
bin['weight'] -
fixes
- a crash in hicPlotTads if
horizontal lineswere used - checks if all characters of a title are ASCII. If not they are converted to the closest looking one.
- a crash in hicPlotTads if
-
Updated and fixate version number of the dependencies
Release 2.0¶
December 21, 2017
This release makes HiCExplorer ready for the future:
- Python 3 support
- Cooler file format support
- A/B comparment analysis
-
Improved visualizations
-
bug fixes for
--perChroption in hicPlotMatrix - eigenvector track with
--pcafor hicPlotMatrix -
visualization of interactions around a reference point or region with hicPlotViewpoint
-
Higher test coverage
- re-licensing from GPLv2 to GPLv3
Release 1.8.1¶
November 27, 2017
Bug fix release:
- a fix concerning the handling chimeric alignments in hicBuildMatrix. Thanks to Aleksander Jankowski @ajank
- handling of dangling ends was too strict
- improved help message in hicBuildMatrix
Release 1.8¶
October 25, 2017
This release is adding new features and fixes many bugs:
- hicBuildMatrix: Added multicore support, new parameters --threads and --inputBufferSize
-
hicFindTADs:
-
One call instead of two: hicFindTADs TAD_score and hicFindTADs find_TADs merged to hicFindTADs.
-
New multiple correction method supported: False discovery rate. Call it with --correctForMultipleTesting fdr and --threshold 0.05.
-
Update of the tutorial: mES-HiC analysis.
- Additional test cases and docstrings to improve the software quality
- Fixed a bug occurring with bigwig files with frequent NaN values which resulted in only NaN averages
- hicPlotTADs: Support for plotting points
- Moved galaxy wrappers to https://github.com/galaxyproject/tools-iuc
- Fixed multiple bugs with saving matrices
- hicCorrelate: Changes direction of dendograms to left
Release 1.7.2¶
April 3, 2017
- Added option to plot bigwig files as a line hicPlotTADs
- Updated documentation
- Improved hicPlotMatrix --region output
- Added compressed matrices. In our tests the compressed matrices are significantly smaller.
March 28, 2017
Release 1.7¶
March 28, 2017
This release adds a quality control module to check the results from hicBuildMatrix. By default, now hicBuildMatrix generates a HTML page containing the plots from the QC measures. The results from several runs of hicBuildMatrix can be combined in one page using the new tool hicQC.
Also, this release added a module called hicCompareMatrices that takes two Hi-C matrices and computes the difference, the ratio or the log2 ratio. The resulting matrix can be plotted with hicPlotMatrix to visualize the changes.
Preprint introducing HiCExplorer is now online¶
March 8, 2017
Our #biorXiv preprint on DNA sequences behind Fly genome architecture is online!
Read the article here : <http://biorxiv.org/content/early/2017/03/08/115063>_
In this article, we introduce HiCExplorer : Our easy to use tool for Hi-C data analysis, also available in Galaxy .
We also introduce HiCBrowser : A standalone software to visualize Hi-C along with other genomic datasets.
Based on HiCExplorer and HiCBrowser, we built a useful resource for anyone to browse and download the chromosome conformation datasets in Human, Mouse and Flies. It's called the chorogenome navigator
Along with these resources, we present an analysis of DNA sequences behind 3D genome of Flies. Using high-resolution Hi-C analysis, we find a set of DNA motifs that characterize TAD boundaries in Flies and show the importance of these motifs in genome organization.
We hope that these resources and analysis would be useful for the community and welcome any feedback.
HiCExplorer wins best poster prize at VizBi2016¶
March 20, 2016
We are excited to announce that HiCExplorer has won the NVIDIA Award for Best Scientific Poster in VizBi2016, the international conference on visualization of biological data.
This was our poster :
