Skip to content

Commit

Permalink
build hic2cool from github
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Mar 11, 2020
1 parent 4dd95b6 commit 9baa7f5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions python-3.7.6-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,37 @@ pip3 install --prefix=$PREFIX multiqc
python3 setup.py install --prefix $PREFIX
)

# hic2cool from to stop downgrading python packages
(
HICVERS=0.8.0

. ${PREFIX}/profile
cd $BUILDDIR
test -e hic2cool-${HICVERS}.tar.gz || wget https://github.com/4dn-dcic/hic2cool/archive/${HICVERS}/hic2cool-${HICVERS}.tar.gz
test -d hic2cool-${HICVERS} || tar -xf hic2cool-${HICVERS}.tar.gz

cd hic2cool-${HICVERS}
patch -p1 <<'EOFHIC'
diff --git a/requirements.txt b/requirements.txt
index d7e701b..9d3a01c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
-h5py==2.8.0
-pandas==0.24.2
-numpy==1.16.3
-scipy==1.2.1
-cooler==0.8.5
+h5py
+pandas
+numpy
+scipy
+cooler
EOFHIC
pip3 install -r requirements.txt --prefix ${PREFIX}
python3 setup.py install --prefix ${PREFIX}
)

#tensorflow
(
TFVERSION=2.1.0
Expand Down

0 comments on commit 9baa7f5

Please sign in to comment.