Skip to content

Commit 18884b0

Browse files
committed
Replace Conda with Mamba, and add bibtex file
1 parent ea3e0da commit 18884b0

File tree

4 files changed

+221
-74
lines changed

4 files changed

+221
-74
lines changed

README.md

+27-47
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,6 @@ The Enhanced Database of Interacting Protein Structures for Interface Prediction
1616

1717
</div>
1818

19-
## Citation
20-
21-
```bibtex
22-
@misc{morehead2021dipsplus,
23-
title={DIPS-Plus: The Enhanced Database of Interacting Protein Structures for Interface Prediction},
24-
author={Alex Morehead and Chen Chen and Ada Sedova and Jianlin Cheng},
25-
year={2021},
26-
eprint={2106.04362},
27-
archivePrefix={arXiv},
28-
primaryClass={q-bio.QM}
29-
}
30-
```
31-
3219
## Versioning
3320

3421
* Version 1.0.0: Initial release of DIPS-Plus and DB5-Plus (DOI: 10.5281/zenodo.4815267)
@@ -41,50 +28,29 @@ The Enhanced Database of Interacting Protein Structures for Interface Prediction
4128

4229
## How to run creation tools
4330

44-
First, install and configure Conda environment:
31+
First, download Mamba (if not already downloaded):
32+
```bash
33+
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
34+
bash Mambaforge-$(uname)-$(uname -m).sh # Accept all terms and install to the default location
35+
rm Mambaforge-$(uname)-$(uname -m).sh # (Optionally) Remove installer after using it
36+
source ~/.bashrc # Alternatively, one can restart their shell session to achieve the same result
37+
```
38+
39+
Then, create and configure Mamba environment:
4540

4641
```bash
4742
# Clone project:
4843
git clone https://github.com/amorehead/DIPS-Plus
49-
50-
# Change to project directory:
5144
cd DIPS-Plus
5245

53-
# (If on HPC cluster) Download latest 64-bit Linux version of Miniconda and activate it:
54-
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh # Specify install directory
55-
source miniconda/bin/activate # Assuming environment created above is called 'miniconda'
56-
5746
# Create Conda environment using local 'environment.yml' file:
58-
conda env create --name DIPS-Plus -f environment.yml
59-
60-
# Create Conda environment in a particular directory using local 'environment.yml' file:
61-
conda env create --prefix MY-VENV-DIR -f environment.yml
62-
63-
# Activate Conda environment located in the current directory:
64-
conda activate DIPS-Plus
47+
mamba env create -f environment.yml
48+
conda activate DIPS-Plus # Note: One still needs to use `conda` to (de)activate environments
6549

66-
# (Optional) Activate Conda environment located in another directory:
67-
conda activate MY-VENV-DIR
68-
69-
# (Optional) Deactivate the currently-activated Conda environment:
70-
conda deactivate
71-
72-
# Perform a full update on the Conda environment described in 'environment.yml':
73-
conda env update -f environment.yml --prune
74-
75-
# (Optional) To remove this long prefix in your shell prompt, modify the env_prompt setting in your .condarc file with:
76-
conda config --set env_prompt '({name})'
77-
```
78-
79-
(If on HPC cluster) Install all project dependencies:
80-
81-
```bash
82-
# Install project as a pip dependency in the Conda environment currently activated:
50+
# Install local project as package:
8351
pip3 install -e .
84-
85-
# Install external pip dependencies in the Conda environment currently activated:
8652
pip3 install -r requirements.txt
87-
```
53+
```
8854

8955
## Default DIPS-Plus directory structure
9056

@@ -263,3 +229,17 @@ if self.proto < 3 and self.fix_imports:
263229

264230
block in the Unpickler class' find_class() function
265231
(e.g. line 1577 of Python 3.8.5's pickle.py).
232+
233+
## Citation
234+
If you find DIPS-Plus useful in your research, please cite:
235+
236+
```bibtex
237+
@misc{morehead2021dipsplus,
238+
title={DIPS-Plus: The Enhanced Database of Interacting Protein Structures for Interface Prediction},
239+
author={Alex Morehead and Chen Chen and Ada Sedova and Jianlin Cheng},
240+
year={2021},
241+
eprint={2106.04362},
242+
archivePrefix={arXiv},
243+
primaryClass={q-bio.QM}
244+
}
245+
```

citation.bib

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@misc{morehead2021dipsplus,
2+
title={DIPS-Plus: The Enhanced Database of Interacting Protein Structures for Interface Prediction},
3+
author={Alex Morehead and Chen Chen and Ada Sedova and Jianlin Cheng},
4+
year={2021},
5+
eprint={2106.04362},
6+
archivePrefix={arXiv},
7+
primaryClass={q-bio.QM}
8+
}

environment.yml

+186-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,193 @@
11
name: DIPS-Plus
22
channels:
3-
- defaults
4-
- anaconda
5-
- conda-forge
63
- bioconda
74
- pytorch
85
- salilab
9-
- dglteam
6+
- dglteam/label/cu116
7+
- nvidia
8+
- defaults
9+
- conda-forge
1010
dependencies:
11-
- python=3.8
12-
- pip
13-
- scipy
14-
- pandas
15-
- scikit-learn
16-
# - After creating initial Conda environment, uncomment and run the following if not already installed on your machine
17-
# - biopython=1.78 # For PDB parsing
18-
# - hhsuite=3.3.0 # For generating sequence profile HMMs
19-
# - msms=2.6.1 # For computing residue depths
20-
# - dssp=3.0.0 # For computing secondary structures
21-
# - pytorch # Install with 'conda install pytorch -c pytorch -c conda-forge'
22-
# - dgl-cudaXX.X # Replace XX.X with the version of cudatoolkit installed by 'conda install pytorch -c pytorch -c conda-forge' directly above
11+
- _libgcc_mutex=0.1=conda_forge
12+
- _openmp_mutex=4.5=2_kmp_llvm
13+
- appdirs=1.4.4=pyhd3eb1b0_0
14+
- biopython=1.78=py38h7f8727e_0
15+
- blas=1.0=openblas
16+
- bottleneck=1.3.5=py38h7deecbd_0
17+
- brotlipy=0.7.0=py38h27cfd23_1003
18+
- bzip2=1.0.8=h7b6447c_0
19+
- ca-certificates=2023.5.7=hbcca054_0
20+
- certifi=2023.5.7=py38h06a4308_0
21+
- cffi=1.15.1=py38h5eee18b_3
22+
- charset-normalizer=2.0.4=pyhd3eb1b0_0
23+
- colorama=0.4.6=pyhd8ed1ab_0
24+
- cryptography=40.0.2=py38h3d167d9_0
25+
- cuda=11.6.1=0
26+
- cuda-cccl=11.6.55=hf6102b2_0
27+
- cuda-command-line-tools=11.6.2=0
28+
- cuda-compiler=11.6.2=0
29+
- cuda-cudart=11.6.55=he381448_0
30+
- cuda-cudart-dev=11.6.55=h42ad0f4_0
31+
- cuda-cuobjdump=11.6.124=h2eeebcb_0
32+
- cuda-cupti=11.6.124=h86345e5_0
33+
- cuda-cuxxfilt=11.6.124=hecbf4f6_0
34+
- cuda-driver-dev=11.6.55=0
35+
- cuda-gdb=12.1.105=0
36+
- cuda-libraries=11.6.1=0
37+
- cuda-libraries-dev=11.6.1=0
38+
- cuda-memcheck=11.8.86=0
39+
- cuda-nsight=12.1.105=0
40+
- cuda-nsight-compute=12.1.1=0
41+
- cuda-nvcc=11.6.124=hbba6d2d_0
42+
- cuda-nvdisasm=12.1.105=0
43+
- cuda-nvml-dev=11.6.55=haa9ef22_0
44+
- cuda-nvprof=12.1.105=0
45+
- cuda-nvprune=11.6.124=he22ec0a_0
46+
- cuda-nvrtc=11.6.124=h020bade_0
47+
- cuda-nvrtc-dev=11.6.124=h249d397_0
48+
- cuda-nvtx=11.6.124=h0630a44_0
49+
- cuda-nvvp=12.1.105=0
50+
- cuda-runtime=11.6.1=0
51+
- cuda-samples=11.6.101=h8efea70_0
52+
- cuda-sanitizer-api=12.1.105=0
53+
- cuda-toolkit=11.6.1=0
54+
- cuda-tools=11.6.1=0
55+
- cuda-version=11.7=h67201e3_2
56+
- cuda-visual-tools=11.6.1=0
57+
- cudatoolkit=11.7.0=hd8887f6_10
58+
- cudnn=8.8.0.121=h0800d71_0
59+
- dgl=1.1.0.cu116=py38_0
60+
- dssp=3.0.0=h3fd9d12_4
61+
- ffmpeg=4.3=hf484d3e_0
62+
- freetype=2.12.1=hca18f0e_1
63+
- gds-tools=1.6.1.9=0
64+
- gmp=6.2.1=h58526e2_0
65+
- gnutls=3.6.13=h85f3911_1
66+
- hhsuite=3.3.0=py38pl5321hcbe9525_8
67+
- icu=58.2=he6710b0_3
68+
- idna=3.4=py38h06a4308_0
69+
- joblib=1.1.1=py38h06a4308_0
70+
- jpeg=9e=h0b41bf4_3
71+
- lame=3.100=h166bdaf_1003
72+
- lcms2=2.15=hfd0df8a_0
73+
- ld_impl_linux-64=2.38=h1181459_1
74+
- lerc=4.0.0=h27087fc_0
75+
- libblas=3.9.0=16_linux64_openblas
76+
- libboost=1.73.0=h28710b8_12
77+
- libcblas=3.9.0=16_linux64_openblas
78+
- libcublas=11.9.2.110=h5e84587_0
79+
- libcublas-dev=11.9.2.110=h5c901ab_0
80+
- libcufft=10.7.1.112=hf425ae0_0
81+
- libcufft-dev=10.7.1.112=ha5ce4c0_0
82+
- libcufile=1.6.1.9=0
83+
- libcufile-dev=1.6.1.9=0
84+
- libcurand=10.3.2.106=0
85+
- libcurand-dev=10.3.2.106=0
86+
- libcusolver=11.3.4.124=h33c3c4e_0
87+
- libcusparse=11.7.2.124=h7538f96_0
88+
- libcusparse-dev=11.7.2.124=hbbe9722_0
89+
- libdeflate=1.17=h0b41bf4_0
90+
- libffi=3.4.4=h6a678d5_0
91+
- libgcc-ng=12.2.0=h65d4601_19
92+
- libgfortran-ng=11.2.0=h00389a5_1
93+
- libgfortran5=11.2.0=h1234567_1
94+
- libgomp=12.2.0=h65d4601_19
95+
- libiconv=1.17=h166bdaf_0
96+
- liblapack=3.9.0=16_linux64_openblas
97+
- libnpp=11.6.3.124=hd2722f0_0
98+
- libnpp-dev=11.6.3.124=h3c42840_0
99+
- libnsl=2.0.0=h5eee18b_0
100+
- libnvjpeg=11.6.2.124=hd473ad6_0
101+
- libnvjpeg-dev=11.6.2.124=hb5906b9_0
102+
- libopenblas=0.3.21=h043d6bf_0
103+
- libpng=1.6.39=h753d276_0
104+
- libprotobuf=3.21.12=h3eb15da_0
105+
- libsqlite=3.42.0=h2797004_0
106+
- libstdcxx-ng=12.2.0=h46fd767_19
107+
- libtiff=4.5.0=h6adf6a1_2
108+
- libuuid=2.38.1=h0b41bf4_0
109+
- libwebp-base=1.3.0=h0b41bf4_0
110+
- libxcb=1.13=h7f98852_1004
111+
- libzlib=1.2.13=h166bdaf_4
112+
- llvm-openmp=16.0.4=h4dfa4b3_0
113+
- lz4-c=1.9.4=h6a678d5_0
114+
- magma=2.6.2=hc72dce7_0
115+
- mkl=2022.2.1=h84fe81f_16997
116+
- msms=2.6.1=h516909a_0
117+
- nccl=2.15.5.1=h0800d71_0
118+
- ncurses=6.4=h6a678d5_0
119+
- nettle=3.6=he412f7d_0
120+
- networkx=3.1=pyhd8ed1ab_0
121+
- ninja=1.11.1=h924138e_0
122+
- nsight-compute=2023.1.1.4=0
123+
- numexpr=2.8.4=py38hd2a5715_1
124+
- numpy=1.24.3=py38hf838250_0
125+
- numpy-base=1.24.3=py38h1e6e340_0
126+
- openh264=2.1.1=h780b84a_0
127+
- openjpeg=2.5.0=hfec8fc6_2
128+
- openssl=3.1.0=hd590300_3
129+
- packaging=23.0=py38h06a4308_0
130+
- pandas=1.5.3=py38h417a72b_0
131+
- perl=5.32.1=0_h5eee18b_perl5
132+
- pillow=9.4.0=py38hde6dc18_1
133+
- pip=23.0.1=py38h06a4308_0
134+
- pooch=1.4.0=pyhd3eb1b0_0
135+
- psutil=5.9.5=py38h1de0b5d_0
136+
- pthread-stubs=0.4=h36c2ea0_1001
137+
- pycparser=2.21=pyhd3eb1b0_0
138+
- pyopenssl=23.1.1=pyhd8ed1ab_0
139+
- pysocks=1.7.1=py38h06a4308_0
140+
- python=3.8.16=he550d4f_1_cpython
141+
- python-dateutil=2.8.2=pyhd3eb1b0_0
142+
- python_abi=3.8=2_cp38
143+
- pytorch=1.13.1=cuda112py38hd94e077_200
144+
- pytorch-cuda=11.6=h867d48c_1
145+
- pytorch-mutex=1.0=cuda
146+
- pytz=2022.7=py38h06a4308_0
147+
- readline=8.2=h5eee18b_0
148+
- requests=2.29.0=py38h06a4308_0
149+
- scikit-learn=1.2.2=py38h6a678d5_0
150+
- scipy=1.10.1=py38h32ae08f_1
151+
- six=1.16.0=pyhd3eb1b0_1
152+
- sleef=3.5.1=h9b69904_2
153+
- sqlite=3.41.2=h5eee18b_0
154+
- tbb=2021.7.0=h924138e_0
155+
- threadpoolctl=2.2.0=pyh0d69192_0
156+
- tk=8.6.12=h1ccaba5_0
157+
- torchaudio=0.13.1=py38_cu116
158+
- torchvision=0.14.1=py38_cu116
159+
- typing_extensions=4.6.0=pyha770c72_0
160+
- urllib3=1.26.15=py38h06a4308_0
161+
- wheel=0.38.4=py38h06a4308_0
162+
- xorg-libxau=1.0.11=hd590300_0
163+
- xorg-libxdmcp=1.1.3=h7f98852_0
164+
- xz=5.4.2=h5eee18b_0
165+
- zlib=1.2.13=h166bdaf_4
166+
- zstd=1.5.5=hc292b87_0
23167
- pip:
24-
- -e .
25-
- -r requirements.txt
168+
- alabaster==0.7.13
169+
- atom3-py3==0.1.9.9
170+
- babel==2.12.1
171+
- click==7.0
172+
- dill==0.3.3
173+
- docutils==0.17.1
174+
- easy-parallel-py3==0.1.6.4
175+
- h5py==3.8.0
176+
- imagesize==1.4.1
177+
- jinja2==2.11.3
178+
- markupsafe==1.1.1
179+
- multiprocess==0.70.11.1
180+
- pathos==0.2.7
181+
- pox==0.3.2
182+
- ppft==1.7.6.6
183+
- pygments==2.15.1
184+
- setuptools==56.2.0
185+
- snowballstemmer==2.2.0
186+
- sphinx==4.0.1
187+
- sphinxcontrib-applehelp==1.0.4
188+
- sphinxcontrib-devhelp==1.0.2
189+
- sphinxcontrib-htmlhelp==2.0.1
190+
- sphinxcontrib-jsmath==1.0.1
191+
- sphinxcontrib-qthelp==1.0.3
192+
- sphinxcontrib-serializinghtml==1.1.5
193+
- tqdm==4.49.0

requirements.txt

-9
This file was deleted.

0 commit comments

Comments
 (0)