3
3
4
4
### An optimized and flexible pipeline for Hi-C data processing
5
5
6
- ![ MultiQC] ( https://img.shields.io/badge/MultiQC-1.6-blue.svg )
7
- ![ Singularity] ( https://img.shields.io/badge/Singularity-build-brightgreen.svg )
6
+ [ ![ Build Status] ( https://travis-ci.com/nservant/HiC-Pro.svg?branch=devel_py3 )] ( https://travis-ci.com/nservant/HiC-Pro )
7
+
8
+ ![ Conda] ( https://img.shields.io/badge/Conda-build-brightgreen.svg )
9
+ ![ Singularity] ( https://img.shields.io/badge/Singularity-build-brightgreen.svg )
10
+ [ ![ Docker] ( https://img.shields.io/badge/Docker-manual-yellow.svg )] ( https://hub.docker.com/repository/docker/nservant/hicpro )
11
+
12
+ ![ MultiQC] ( https://img.shields.io/badge/MultiQC-1.8-blue.svg )
8
13
[ ![ Forum] ( https://img.shields.io/badge/Groups-%20join%20chat%20%E2%86%92-4fb99a.svg?style=flat-square )] ( https://groups.google.com/forum/#!forum/hic-pro )
9
14
[ ![ DOI] ( https://img.shields.io/badge/DOI-10.1186%2Fs13059--015--0831--x-lightgrey.svg?style=flat-square )] ( https://doi.org/10.1186/s13059-015-0831-x )
10
15
@@ -25,7 +30,36 @@ If you use HiC-Pro, please cite :
25
30
26
31
* Servant N., Varoquaux N., Lajoie BR., Viara E., Chen CJ., Vert JP., Dekker J., Heard E., Barillot E.* HiC-Pro: An optimized and flexible pipeline for Hi-C processing. Genome Biology 2015, 16:259 [ doi:10.1186/s13059-015-0831-x] ( https://doi.org/10.1186/s13059-015-0831-x )
27
32
28
- ## Using HiC-Pro through Singularity
33
+ ## Containers
34
+
35
+ ### Using HiC-Pro through ` conda `
36
+
37
+ In order to ease the installation of HiC-Pro dependancies, we provide a ` yml ` file for conda with all required tools.
38
+ In order to build your conda environment, first install [ miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) and use :
39
+
40
+ ```
41
+ conda env create -f MY_INSTALL_PATH/HiC-Pro/environment.yml -p WHERE_TO_INSTALL_MY_ENV
42
+ conda activate WHERE_TO_INSTALL_MY_ENV
43
+ ```
44
+
45
+ ### Using the HiC-Pro ` Docker ` image
46
+
47
+ A docker image is automatically build and available on [ Docker Hub] ( https://hub.docker.com/repository/docker/nservant/hicpro )
48
+ To pull a Docker image, simply use :
49
+
50
+ ```
51
+ docker pull nservant/hicpro:latest
52
+ ```
53
+
54
+ Note that the ` tag ` may depend on the HiC-Pro version.
55
+
56
+ You can also build your own image from the root folder using
57
+
58
+ ```
59
+ docker build -t hicpro:3.0.0 .
60
+ ```
61
+
62
+ ### Using HiC-Pro through ` Singularity `
29
63
30
64
HiC-Pro provides a Singularity container to ease its installation process.
31
65
A ready-to-use container is available [ here] ( https://zerkalo.curie.fr/partage/HiC-Pro/singularity_images/hicpro_latest_ubuntu.img ) .
@@ -41,7 +75,7 @@ In order to build you own Singularity image;
41
75
2- Build the singularity HiC-Pro image using the 'Singularity' file available in the HiC-Pro root directory.
42
76
43
77
```
44
- sudo singularity build hicpro_latest_ubuntu.img MY_INSTALL_PATH/HiC-Pro/Singularity
78
+ sudo singularity build hicpro_latest_ubuntu.img MY_INSTALL_PATH/HiC-Pro/envs/ Singularity
45
79
```
46
80
47
81
3- Run HiC-pro
@@ -64,16 +98,16 @@ HiC-Pro -h
64
98
The HiC-Pro pipeline requires the following dependencies :
65
99
66
100
- The [ bowtie2] ( http://bowtie-bio.sourceforge.net/bowtie2/index.shtml ) mapper
67
- - Python (>2 .7) with * pysam (>=0.8.3 )* , * bx-python(>=0.5.0 )* , * numpy(>=1.8.2 )* , and * scipy(>=0.15 .1)* libraries.
68
- ** Note that the current version does not support python 3 **
101
+ - Python (>3 .7) with * pysam (>=0.15.4 )* , * bx-python(>=0.8.8 )* , * numpy(>=1.18.1 )* , and * scipy(>=1.4 .1)* libraries.
102
+ ** Note that the current version no longer supports python 2 **
69
103
- R with the * RColorBrewer* and * ggplot2 (>2.2.1)* packages
70
104
- g++ compiler
71
- - samtools (>1.1 )
105
+ - samtools (>1.9 )
72
106
- Unix sort (** which support -V option** ) is required ! For Mac OS user, please install the GNU core utilities !
73
107
74
108
Note that Bowtie >2.2.2 is strongly recommanded for allele specific analysis.
75
109
76
- To install HiC-Pro (>=2.7.8) , be sure to have the appropriate rights and run :
110
+ To install HiC-Pro, be sure to have the appropriate rights and run :
77
111
78
112
```
79
113
tar -zxvf HiC-Pro-master.tar.gz
@@ -83,15 +117,6 @@ make configure
83
117
make install
84
118
```
85
119
86
- For older version (<2.7.8), the following process can be used
87
-
88
- ```
89
- tar -zxvf HiC-Pro-master.tar.gz
90
- cd HiC-Pro-master
91
- ## Edit config-install.txt file if necessary
92
- make CONFIG_SYS=config-install.txt install
93
- ```
94
-
95
120
Note that if some of these dependencies are not installed (i.e. not detected in the $PATH), HiC-Pro will try to install them.
96
121
You can also edit the * config-install.txt* file and manually defined the paths to dependencies.
97
122
@@ -100,9 +125,9 @@ You can also edit the *config-install.txt* file and manually defined the paths t
100
125
| ---------------| -------------------------------------------------------------------------------|
101
126
| PREFIX | Path to installation folder |
102
127
| BOWTIE2_PATH | Full path the bowtie2 installation directory |
103
- | SAMTOOLS_PATH | Full path to the samtools installation directory (>1.1 ) |
128
+ | SAMTOOLS_PATH | Full path to the samtools installation directory |
104
129
| R_PATH | Full path to the R installation directory |
105
- | PYTHON_PATH | Full path to the python installation directory (>2.7 - python3 not supported) |
130
+ | PYTHON_PATH | Full path to the python installation directory |
106
131
| CLUSTER_SYS | Scheduler to use for cluster submission. Must be TORQUE, SGE, SLURM or LSF |
107
132
108
133
@@ -155,7 +180,7 @@ First have a look at the help message !
155
180
usage : HiC-Pro -i INPUT -o OUTPUT -c CONFIG [-s ANALYSIS_STEP] [-p] [-h] [-v]
156
181
Use option -h|--help for more information
157
182
158
- HiC-Pro 2.11.3
183
+ HiC-Pro 3.0.0
159
184
---------------
160
185
OPTIONS
161
186
@@ -238,7 +263,7 @@ Small fastq files (2M reads) extracted from the Dixon et al. 2012 paper are avai
238
263
## Run HiC-Pro
239
264
time HICPRO_INSTALL_DIR/bin/HiC-Pro -c config_test_latest.txt -i test_data -o hicpro_latest_test
240
265
241
- Run HiC-Pro 2.11.3
266
+ Run HiC-Pro 3.0.0
242
267
--------------------------------------------
243
268
Thu Mar 19, 12:18:10 (UTC+0100)
244
269
Bowtie2 alignment step1 ...
0 commit comments