-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #391 from nservant/devel
Devel
- Loading branch information
Showing
142 changed files
with
1,253 additions
and
102,943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
sudo: required | ||
language: python | ||
python: '3.7' | ||
cache: pip | ||
matrix: | ||
fast_finish: true | ||
|
||
before_install: | ||
# install conda | ||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b | ||
- export PATH=/home/travis/miniconda2/bin:$PATH | ||
- conda update --yes conda | ||
|
||
|
||
install: | ||
# use the conda env to install all dependencies | ||
- mkdir -p /tmp/conda | ||
- conda env create -p /tmp/conda/hicpro -f environment.yml | ||
- export PATH=/tmp/conda/hicpro/bin:$PATH | ||
# Install HiC-Pro | ||
- mkdir /tmp/apps | ||
- make configure prefix=/tmp/apps | ||
- make install | ||
|
||
script: | ||
# Get test data | ||
- mkdir -p $HOME/test-op && cd $HOME/test-op | ||
- wget https://zerkalo.curie.fr/partage/HiC-Pro/hicpro_testop_travis.tar.gz -P $HOME/test-op/ && tar -zxvf hicpro_testop_travis.tar.gz | ||
- /bin/rm -f hicpro_testop_travis.tar.gz | ||
# Run HiC-Pro | ||
- INSTALLED_HICPRO_VERSION=$(find /tmp/apps -name HiC-Pro | xargs dirname) | ||
- time $INSTALLED_HICPRO_VERSION/HiC-Pro -i test_data -o $HOME/test-op/results -c config_testop_yeast.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM ubuntu:18.04 | ||
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 | ||
|
||
LABEL authors="Nicolas Servant" \ | ||
description="Docker image containing all requirements for the HiC-Pro pipeline" | ||
|
||
## Install system tools | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential \ | ||
wget \ | ||
unzip \ | ||
bzip2 \ | ||
gcc \ | ||
g++ && apt-get clean | ||
|
||
|
||
## Install miniconda. | ||
RUN wget https://repo.continuum.io/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh -O ~/anaconda.sh | ||
RUN bash ~/anaconda.sh -b -p /usr/local/anaconda | ||
RUN rm ~/anaconda.sh | ||
ENV PATH /usr/local/anaconda/bin:$PATH | ||
|
||
|
||
## Install all dependencies using conda | ||
COPY environment.yml / | ||
RUN conda env create -f /environment.yml && conda clean -a | ||
ENV PATH /usr/local/anaconda/envs/HiC-Pro_v3.0.0/bin:$PATH | ||
|
||
## Install HiCPro | ||
RUN cd /tmp && \ | ||
echo "devel.zip" | wget --base=http://github.com/nservant/HiC-Pro/archive/ -i - -O hicpro_latest.zip && \ | ||
unzip hicpro_latest.zip && \ | ||
cd HiC-Pro-devel && \ | ||
make configure prefix=/ && \ | ||
make install && \ | ||
cd .. && \ | ||
rm -fr HiC-Pro* | ||
|
||
RUN /HiC-Pro_3.0.0/bin/HiC-Pro -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.