compomics / DeepLC

DeepLC: Retention time prediction for (modified) peptides using Deep Learning.
https://iomics.ugent.be/deeplc
Apache License 2.0
56 stars 19 forks source link

error using https://iomics.ugent.be/deeplc/ #46

Closed WeiqiangChen closed 2 years ago

WeiqiangChen commented 2 years ago

I got sequence and retention times from the msms.txt file of a chymotrypsin MaxQuant search result. Use R to select columns, and split them into the following csvs.

test.csv seq,modifications AAAARDVGSSIKSDRDKF, AAAARDVGSSIKSDRDKF, AAAVKDLGSSIKTDGDKF, AACDPRHGRY, AAEREGQQQTQQTEQSQEKKEEKN, ......

train.csv seq,modifications,tr KHWPFEVVSDGGKPKIKVSY,,4196.160000000001 AIQKSDMDLRKVLY,,3924.3 LCIGTSSGTM,,4293.78 ELDDELKSVENQMRY,,5764.2 ......

Then I loaded them to https://iomics.ugent.be/deeplc/ using all the default settings. I got the following errors. Running DeepLC ❌ DeepLC ran into a problem

OSError: [Errno 12] Cannot allocate memory Traceback: File "/deeplc/deeplc_streamlit.py", line 165, in _run_deeplc dlc.calibrate_preds(seq_df=config["input_df_calibration"]) File "/venv/lib/python3.8/site-packages/deeplc/deeplc.py", line 1010, in calibrate_preds calibrate_output = self.calibrate_preds_func( File "/venv/lib/python3.8/site-packages/deeplc/deeplc.py", line 855, in calibrate_preds_func predicted_tr = self.make_preds( File "/venv/lib/python3.8/site-packages/deeplc/deeplc.py", line 790, in make_preds temp_preds = self.make_preds_core( File "/venv/lib/python3.8/site-packages/deeplc/deeplc.py", line 471, in make_preds_core X = self.do_f_extraction_pd_parallel(seq_df) File "/venv/lib/python3.8/site-packages/deeplc/deeplc.py", line 319, in do_f_extraction_pd_parallel pool = multiprocessing.Pool(self.n_jobs) File "/venv/lib/python3.8/multiprocessing/context.py", line 119, in Pool return Pool(processes, initializer, initargs, maxtasksperchild, File "/venv/lib/python3.8/multiprocessing/pool.py", line 212, in init self._repopulate_pool() File "/venv/lib/python3.8/multiprocessing/pool.py", line 303, in _repopulate_pool return self._repopulate_pool_static(self._ctx, self.Process, File "/venv/lib/python3.8/multiprocessing/pool.py", line 326, in _repopulate_pool_static w.start() File "/venv/lib/python3.8/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) File "/venv/lib/python3.8/multiprocessing/context.py", line 277, in _Popen return Popen(process_obj) File "/venv/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init self._launch(process_obj) File "/venv/lib/python3.8/multiprocessing/popen_fork.py", line 70, in _launch self.pid = os.fork()

I also tried with another msms.txt from a trypsin MaxQuant search and got the same error. What should I do to get deepLC working.

update. I installed the windows version DeepLC and it works OK.

polklin commented 2 years ago

Hello, same error on my side when trying to use the web interface.

RobbinBouwmeester commented 2 years ago

Hi, we will ook into this. Thank you for pointing this out.

RobbinBouwmeester commented 2 years ago

This issue has been resolved! Thank you for indicating it and thank you @paretje for resolving it.