From 9baa7f534da7e758636167953a18332bc214cdcf Mon Sep 17 00:00:00 2001 From: david Date: Wed, 11 Mar 2020 14:16:18 +0100 Subject: [PATCH] build hic2cool from github --- python-3.7.6-0.build.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/python-3.7.6-0.build.sh b/python-3.7.6-0.build.sh index b5d0575..6b91ada 100755 --- a/python-3.7.6-0.build.sh +++ b/python-3.7.6-0.build.sh @@ -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