Skip to content

Commit a6e98c3

Browse files
authored
Merge pull request #98 from flatironinstitute/update-deps
Updating dependencies
2 parents 05aec99 + b5bd93b commit a6e98c3

File tree

2 files changed

+231
-146
lines changed

2 files changed

+231
-146
lines changed

ci/conda_requirements.yml

Lines changed: 226 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,234 @@
1+
name: deepblast2
12
channels:
2-
- pytorch
33
- conda-forge
4+
- bioconda
45
- defaults
56
dependencies:
6-
- bzip2=1.0.8=h516909a_0
7-
- cffi=1.12.3=py37h8022711_0
8-
- cycler=0.10.0=py_1
9-
- freetype=2.10.0=he983fc9_1
10-
- icu=64.2=he1b5a44_1
11-
- joblib=0.13.2=py_0
12-
- kiwisolver=1.1.0=py37hc9558a2_0
13-
- libblas=3.8.0=12_openblas
14-
- libcblas=3.8.0=12_openblas
15-
- libffi=3.2.1=he1b5a44_1006
16-
- liblapack=3.8.0=12_openblas
17-
- libopenblas=0.3.7=h6e990d7_1
18-
- libpng=1.6.37=hed695b0_0
19-
- matplotlib-base=3.1.1=py37he7580a8_1
20-
- ncurses=6.1=hf484d3e_1002
21-
- ninja=1.9.0=h6bb024c_0
22-
- pandas=0.25.1=py37hb3f55d8_0
23-
- patsy=0.5.1=py_0
24-
- pip=19.2.3=py37_0
25-
- pycparser=2.19=py37_1
26-
- pyparsing=2.4.2=py_0
27-
- python=3.7.3=h33d41f4_1
28-
- python-dateutil=2.8.0=py_0
29-
- pytz=2019.2=py_0
30-
- readline=8.0=hf8c457e_0
31-
- scikit-learn=0.21.3=py37hcdab131_0
32-
- seaborn=0.9.0=py_1
33-
- setuptools=41.2.0=py37_0
34-
- six=1.12.0=py37_1000
35-
- sqlite=3.29.0=hcee41ef_1
36-
- statsmodels=0.10.1=py37hc1659b7_0
37-
- tk=8.6.9=hed695b0_1002
38-
- tornado=6.0.3=py37h516909a_0
39-
- tqdm=4.35.0=py_0
40-
- wheel=0.33.6=py37_0
41-
- xz=5.2.4=h14c3975_1001
42-
- zlib=1.2.11=h516909a_1005
43-
- _libgcc_mutex=0.1=main
44-
- backcall=0.1.0=py37_0
45-
- biopython=1.76=py37h7b6447c_0
46-
- blas=1.0=openblas
47-
- ca-certificates=2020.1.1=0
48-
- certifi=2020.4.5.1=py37_0
49-
- cudatoolkit=10.0.130=0
50-
- decorator=4.4.0=py37_1
51-
- flake8=3.8.2=py_0
52-
- importlib-metadata=1.6.0=py37_0
53-
- intel-openmp=2019.4=243
54-
- ipython=7.8.0=py37h39e3cac_0
55-
- ipython_genutils=0.2.0=py37_0
56-
- jedi=0.15.1=py37_0
57-
- libgcc-ng=9.1.0=hdf63c60_0
58-
- libgfortran-ng=7.3.0=hdf63c60_0
59-
- libstdcxx-ng=9.1.0=hdf63c60_0
60-
- mccabe=0.6.1=py37_1
61-
- mkl=2019.4=243
62-
- numpy=1.18.1=py37h94c655d_0
63-
- numpy-base=1.18.1=py37h2f8d375_1
64-
- openssl=1.1.1g=h7b6447c_0
65-
- parso=0.5.1=py_0
66-
- pexpect=4.7.0=py37_0
67-
- pickleshare=0.7.5=py37_0
68-
- prompt_toolkit=2.0.10=py_0
69-
- ptyprocess=0.6.0=py37_0
70-
- pycodestyle=2.6.0=py_0
71-
- pyflakes=2.2.0=py_0
72-
- pygments=2.4.2=py_0
73-
- scipy=1.4.1=py37habc2bb6_0
74-
- traitlets=4.3.3=py37_0
75-
- wcwidth=0.1.7=py37_0
76-
- zipp=3.1.0=py_0
77-
- pytorch=1.4.0=py3.7_cuda10.0.130_cudnn7.6.3_0
7+
- _libgcc_mutex=0.1=conda_forge
8+
- _openmp_mutex=4.5=1_gnu
9+
- alsa-lib=1.2.3=h516909a_0
10+
- argon2-cffi=21.3.0=pyhd8ed1ab_0
11+
- argon2-cffi-bindings=21.2.0=py39h3811e60_1
12+
- asttokens=2.0.5=pyhd8ed1ab_0
13+
- attrs=21.4.0=pyhd8ed1ab_0
14+
- backcall=0.2.0=pyh9f0ad1d_0
15+
- backports=1.0=py_2
16+
- backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
17+
- biopython=1.79=py39h3811e60_1
18+
- bleach=4.1.0=pyhd8ed1ab_0
19+
- brotli=1.0.9=h7f98852_6
20+
- brotli-bin=1.0.9=h7f98852_6
21+
- bzip2=1.0.8=h7f98852_4
22+
- ca-certificates=2021.10.8=ha878542_0
23+
- certifi=2021.10.8=py39hf3d152e_1
24+
- cffi=1.15.0=py39h4bc2ebd_0
25+
- cycler=0.11.0=pyhd8ed1ab_0
26+
- dbus=1.13.6=h5008d03_3
27+
- debugpy=1.5.1=py39he80948d_0
28+
- decorator=5.1.1=pyhd8ed1ab_0
29+
- defusedxml=0.7.1=pyhd8ed1ab_0
30+
- entrypoints=0.4=pyhd8ed1ab_0
31+
- executing=0.8.3=pyhd8ed1ab_0
32+
- expat=2.4.6=h27087fc_0
33+
- flit-core=3.7.1=pyhd8ed1ab_0
34+
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
35+
- font-ttf-inconsolata=3.000=h77eed37_0
36+
- font-ttf-source-code-pro=2.038=h77eed37_0
37+
- font-ttf-ubuntu=0.83=hab24e00_0
38+
- fontconfig=2.13.96=ha180cfb_0
39+
- fonts-conda-ecosystem=1=0
40+
- fonts-conda-forge=1=0
41+
- fonttools=4.29.1=py39h3811e60_0
42+
- freetype=2.10.4=h0708190_1
43+
- gettext=0.19.8.1=h73d1719_1008
44+
- giflib=5.2.1=h36c2ea0_2
45+
- gst-plugins-base=1.18.5=hf529b03_3
46+
- gstreamer=1.18.5=h9f60fe5_3
47+
- hmmer=3.3.2=h87f3376_2
48+
- icu=69.1=h9c3ff4c_0
49+
- importlib-metadata=4.11.2=py39hf3d152e_0
50+
- importlib_resources=5.4.0=pyhd8ed1ab_0
51+
- ipykernel=6.9.1=py39hef51801_0
52+
- ipython=8.1.1=py39hf3d152e_0
53+
- ipython_genutils=0.2.0=py_1
54+
- ipywidgets=7.6.5=pyhd8ed1ab_0
55+
- jbig=2.1=h7f98852_2003
56+
- jedi=0.18.1=py39hf3d152e_0
57+
- jinja2=3.0.3=pyhd8ed1ab_0
58+
- jpeg=9e=h7f98852_0
59+
- jsonschema=4.4.0=pyhd8ed1ab_0
60+
- jupyter=1.0.0=py39hf3d152e_7
61+
- jupyter_client=7.1.2=pyhd8ed1ab_0
62+
- jupyter_console=6.4.3=pyhd8ed1ab_0
63+
- jupyter_core=4.9.2=py39hf3d152e_0
64+
- jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
65+
- jupyterlab_widgets=1.0.2=pyhd8ed1ab_0
66+
- keyutils=1.6.1=h166bdaf_0
67+
- kiwisolver=1.3.2=py39h1a9c180_1
68+
- krb5=1.19.2=h3790be6_4
69+
- lcms2=2.12=hddcbb42_0
70+
- ld_impl_linux-64=2.36.1=hea4e1c9_2
71+
- lerc=3.0=h9c3ff4c_0
72+
- libblas=3.9.0=13_linux64_openblas
73+
- libbrotlicommon=1.0.9=h7f98852_6
74+
- libbrotlidec=1.0.9=h7f98852_6
75+
- libbrotlienc=1.0.9=h7f98852_6
76+
- libcblas=3.9.0=13_linux64_openblas
77+
- libclang=13.0.1=default_hc23dcda_0
78+
- libdeflate=1.10=h7f98852_0
79+
- libedit=3.1.20191231=he28a2e2_2
80+
- libevent=2.1.10=h9b69904_4
81+
- libffi=3.4.2=h7f98852_5
82+
- libgcc-ng=11.2.0=h1d223b6_13
83+
- libgfortran-ng=11.2.0=h69a702a_13
84+
- libgfortran5=11.2.0=h5c6108e_13
85+
- libglib=2.70.2=h174f98d_4
86+
- libgomp=11.2.0=h1d223b6_13
87+
- libiconv=1.16=h516909a_0
88+
- liblapack=3.9.0=13_linux64_openblas
89+
- libllvm11=11.1.0=hf817b99_3
90+
- libllvm13=13.0.1=hf817b99_2
91+
- libnsl=2.0.0=h7f98852_0
92+
- libogg=1.3.4=h7f98852_1
93+
- libopenblas=0.3.18=pthreads_h8fe5266_0
94+
- libopus=1.3.1=h7f98852_1
95+
- libpng=1.6.37=h21135ba_2
96+
- libpq=14.2=hd57d9b9_0
97+
- libsodium=1.0.18=h36c2ea0_1
98+
- libstdcxx-ng=11.2.0=he4da1e4_13
99+
- libtiff=4.3.0=h542a066_3
100+
- libuuid=2.32.1=h7f98852_1000
101+
- libvorbis=1.3.7=h9c3ff4c_0
102+
- libwebp=1.2.2=h3452ae3_0
103+
- libwebp-base=1.2.2=h7f98852_1
104+
- libxcb=1.13=h7f98852_1004
105+
- libxkbcommon=1.0.3=he3ba5ed_0
106+
- libxml2=2.9.12=h885dcf4_1
107+
- libzlib=1.2.11=h36c2ea0_1013
108+
- llvmlite=0.38.0=py39h1bbdace_0
109+
- lz4-c=1.9.3=h9c3ff4c_1
110+
- markupsafe=2.1.0=py39hb9d737c_1
111+
- matplotlib=3.5.1=py39hf3d152e_0
112+
- matplotlib-base=3.5.1=py39h2fa2bec_0
113+
- matplotlib-inline=0.1.3=pyhd8ed1ab_0
114+
- mistune=0.8.4=py39h3811e60_1005
115+
- munkres=1.1.4=pyh9f0ad1d_0
116+
- mysql-common=8.0.28=ha770c72_0
117+
- mysql-libs=8.0.28=hfa10184_0
118+
- nbclient=0.5.12=pyhd8ed1ab_0
119+
- nbconvert=6.4.2=py39hf3d152e_0
120+
- nbformat=5.1.3=pyhd8ed1ab_0
121+
- ncurses=6.3=h9c3ff4c_0
122+
- nest-asyncio=1.5.4=pyhd8ed1ab_0
123+
- notebook=6.4.8=pyha770c72_0
124+
- nspr=4.32=h9c3ff4c_1
125+
- nss=3.74=hb5efdd6_0
126+
- numba=0.55.1=py39h56b8d98_0
127+
- numpy=1.21.5=py39haac66dc_0
128+
- openjpeg=2.4.0=hb52868f_1
129+
- openssl=1.1.1l=h7f98852_0
130+
- packaging=21.3=pyhd8ed1ab_0
131+
- pandas=1.4.1=py39hde0f152_0
132+
- pandoc=2.17.1.1=ha770c72_0
133+
- pandocfilters=1.5.0=pyhd8ed1ab_0
134+
- parso=0.8.3=pyhd8ed1ab_0
135+
- pcre=8.45=h9c3ff4c_0
136+
- pexpect=4.8.0=pyh9f0ad1d_2
137+
- pickleshare=0.7.5=py_1003
138+
- pillow=9.0.1=py39hae2aec6_2
139+
- pip=22.0.4=pyhd8ed1ab_0
140+
- prometheus_client=0.13.1=pyhd8ed1ab_0
141+
- prompt-toolkit=3.0.27=pyha770c72_0
142+
- prompt_toolkit=3.0.27=hd8ed1ab_0
143+
- pthread-stubs=0.4=h36c2ea0_1001
144+
- ptyprocess=0.7.0=pyhd3deb0d_0
145+
- pure_eval=0.2.2=pyhd8ed1ab_0
146+
- pycparser=2.21=pyhd8ed1ab_0
147+
- pygments=2.11.2=pyhd8ed1ab_0
148+
- pyparsing=3.0.7=pyhd8ed1ab_0
149+
- pyqt=5.12.3=py39hf3d152e_8
150+
- pyqt-impl=5.12.3=py39hde8b62d_8
151+
- pyqt5-sip=4.19.18=py39he80948d_8
152+
- pyqtchart=5.12=py39h0fcd23e_8
153+
- pyqtwebengine=5.12.1=py39h0fcd23e_8
154+
- pyrsistent=0.18.1=py39h3811e60_0
155+
- python=3.9.10=h85951f9_2_cpython
156+
- python-dateutil=2.8.2=pyhd8ed1ab_0
157+
- python_abi=3.9=2_cp39
158+
- pytz=2021.3=pyhd8ed1ab_0
159+
- pyzmq=22.3.0=py39h37b5a0c_1
160+
- qt=5.12.9=ha98a1a1_5
161+
- qtconsole=5.2.2=pyhd8ed1ab_1
162+
- qtconsole-base=5.2.2=pyhd8ed1ab_1
163+
- qtpy=2.0.1=pyhd8ed1ab_0
164+
- readline=8.1=h46c0cb4_0
165+
- scipy=1.8.0=py39hee8e79c_1
166+
- send2trash=1.8.0=pyhd8ed1ab_0
167+
- setuptools=60.9.3=py39hf3d152e_0
168+
- six=1.16.0=pyh6c4a22f_0
169+
- sqlite=3.37.0=h9cd32fc_0
170+
- stack_data=0.2.0=pyhd8ed1ab_0
171+
- terminado=0.13.3=py39hf3d152e_0
172+
- testpath=0.6.0=pyhd8ed1ab_0
173+
- tk=8.6.12=h27826a3_0
174+
- tornado=6.1=py39h3811e60_2
175+
- traitlets=5.1.1=pyhd8ed1ab_0
176+
- tzdata=2021e=he74cb21_0
177+
- unicodedata2=14.0.0=py39h3811e60_0
178+
- wcwidth=0.2.5=pyh9f0ad1d_2
179+
- webencodings=0.5.1=py_1
180+
- wheel=0.37.1=pyhd8ed1ab_0
181+
- widgetsnbextension=3.5.2=py39hf3d152e_1
182+
- xorg-libxau=1.0.9=h7f98852_0
183+
- xorg-libxdmcp=1.1.3=h7f98852_0
184+
- xz=5.2.5=h516909a_1
185+
- zeromq=4.3.4=h9c3ff4c_1
186+
- zipp=3.7.0=pyhd8ed1ab_1
187+
- zlib=1.2.11=h36c2ea0_1013
188+
- zstd=1.5.2=ha95c52a_0
78189
- pip:
79-
- absl-py==0.9.0
80-
- appdirs==1.4.3
81-
- attrs==19.3.0
82-
- bleach==3.1.0
83-
- cachecontrol==0.12.6
84-
- cachetools==4.1.0
85-
- chardet==3.0.4
86-
- cherrypy==3.2.4
87-
- configparser==4.0.2
88-
- cython==0.29.14
89-
- defusedxml==0.6.0
90-
- entrypoints==0.3
91-
- fairseq==0.8.0
92-
- fastbpe==0.1.0
190+
- absl-py==1.0.0
191+
- aiohttp==3.8.1
192+
- aiosignal==1.2.0
193+
- async-timeout==4.0.2
194+
- cachetools==5.0.0
195+
- charset-normalizer==2.0.12
196+
- frozenlist==1.3.0
197+
- fsspec==2022.2.0
93198
- future==0.18.2
94-
- google-auth==1.16.1
95-
- google-auth-oauthlib==0.4.1
96-
- grpcio==1.29.0
97-
- hdmedians==0.13
98-
- idna==2.8
99-
- ipykernel==5.1.3
100-
- ipywidgets==7.5.1
101-
- jinja2==2.10.3
102-
- jsonschema==3.2.0
103-
- jupyter==1.0.0
104-
- jupyter-client==5.3.4
105-
- jupyter-console==6.0.0
106-
- jupyter-core==4.6.1
107-
- llvmlite==0.31.0
108-
- lockfile==0.12.2
109-
- markdown==3.2.2
110-
- markupsafe==1.1.1
111-
- matplotlib==3.1.1
112-
- mistune==0.8.4
113-
- more-itertools==8.0.2
114-
- msgpack==0.6.2
115-
- natsort==6.2.0
116-
- nbconvert==5.6.1
117-
- nbformat==4.4.0
118-
- notebook==6.0.2
119-
- numba==0.47.0
120-
- oauthlib==3.1.0
121-
- packaging==20.1
122-
- pandocfilters==1.4.2
123-
- pluggy==0.13.1
124-
- portalocker==1.5.1
125-
- prometheus-client==0.7.1
126-
- protobuf==3.12.2
127-
- py==1.8.1
199+
- google-auth==2.6.0
200+
- google-auth-oauthlib==0.4.6
201+
- grpcio==1.44.0
202+
- idna==3.3
203+
- iniconfig==1.1.1
204+
- joblib==1.1.0
205+
- markdown==3.3.6
206+
- multidict==6.0.2
207+
- oauthlib==3.2.0
208+
- pluggy==1.0.0
209+
- protobuf==3.19.4
210+
- py==1.11.0
128211
- pyasn1==0.4.8
129212
- pyasn1-modules==0.2.8
130-
- pyrsistent==0.15.6
131-
- pytest==5.4.3
132-
- pytorch-lightning==0.8.1
133-
- pyyaml==5.3.1
134-
- pyzmq==18.1.1
135-
- qtconsole==4.6.0
136-
- regex==2019.8.19
137-
- requests==2.22.0
138-
- requests-oauthlib==1.3.0
139-
- rsa==4.0
140-
- sacrebleu==1.4.2
141-
- scikit-bio==0.5.5
142-
- send2trash==1.5.0
143-
- tensorboard==2.2.2
144-
- tensorboard-plugin-wit==1.6.0.post3
145-
- terminado==0.8.3
146-
- testpath==0.4.4
147-
- torch==1.4.0
148-
- typing==3.7.4.1
149-
- urllib3==1.25.7
150-
- webencodings==0.5.1
151-
- werkzeug==1.0.1
152-
- widgetsnbextension==3.5.1
153-
213+
- pydeprecate==0.3.1
214+
- pytest==7.0.1
215+
- pytorch-lightning==1.5.8
216+
- pyyaml==6.0
217+
- requests==2.27.1
218+
- requests-oauthlib==1.3.1
219+
- rsa==4.8
220+
- scikit-learn==1.0.2
221+
- tensorboard==2.8.0
222+
- tensorboard-data-server==0.6.1
223+
- tensorboard-plugin-wit==1.8.1
224+
- threadpoolctl==3.1.0
225+
- tomli==2.0.1
226+
- torch==1.10.2
227+
- torchaudio==0.10.2
228+
- torchmetrics==0.7.2
229+
- torchvision==0.11.3
230+
- tqdm==4.63.0
231+
- typing-extensions==4.1.1
232+
- urllib3==1.26.8
233+
- werkzeug==2.0.3
234+
- yarl==1.7.2

deepblast/trainer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ class LightningAligner(pl.LightningModule):
2525

2626
def __init__(self, args):
2727
super(LightningAligner, self).__init__()
28-
self._hparams = args
28+
if isinstance(args, dict):
29+
self._hparams = argparse.Namespace(**args)
30+
else:
31+
self._hparams = args
32+
2933
self.tokenizer = UniprotTokenizer(pad_ends=False)
3034
#self.hparams = args
3135
self.initialize_aligner()

0 commit comments

Comments
 (0)