From ca1da29d1e70490aaa2de7253ebe98a073901a11 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 24 May 2024 18:27:25 +0200 Subject: [PATCH 1/2] add install instructions with a working conda environment --- README.md | 11 +++++++++++ pconsc4_env.yml | 21 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 pconsc4_env.yml diff --git a/README.md b/README.md index 4b1a274..9426d0f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,17 @@ Fast, accurate, and hassle-free contact prediction. ## Installation instructions: +Using conda: + conda env create -f pconsc4_env.yml + conda activate pconsc4_env + pip install pconsc4 + export LD_LIBRARY_PATH="$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH" + conda deactivate + + + +Using pip: + pip3 install numpy Cython pythran && pip3 install pconsc4 diff --git a/pconsc4_env.yml b/pconsc4_env.yml new file mode 100644 index 0000000..6e5febf --- /dev/null +++ b/pconsc4_env.yml @@ -0,0 +1,21 @@ +name: pconsc4_env +channels: + - defaults +dependencies: + - gcc_linux-64=7.5.0 + - gxx_linux-64=7.5.0 + - python=3.7 + - tensorflow=1.14.0 + - pip: + - beniget==0.2.1 + - cython==3.0.10 + - gast==0.3.3 + - h5py==2.10.0 + - keras==2.2.4 + - networkx==2.6.3 + - numpy==1.21.6 + - protobuf==3.20.3 + - pythran==0.9.5 + - scipy==1.7.3 + - setuptools==68.0.0 + - six==1.16.0 From ab5f4b13345e931281e3f3d12c7dfb4fe55a803c Mon Sep 17 00:00:00 2001 From: htalibart <44361437+htalibart@users.noreply.github.com> Date: Fri, 24 May 2024 18:31:18 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9426d0f..6b86a70 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,12 @@ Fast, accurate, and hassle-free contact prediction. ## Installation instructions: Using conda: + conda env create -f pconsc4_env.yml conda activate pconsc4_env - pip install pconsc4 - export LD_LIBRARY_PATH="$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH" - conda deactivate + pip install pconsc4 + export LD_LIBRARY_PATH="$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH" + conda deactivate