Hello and thank you for ProMS,
I have successfully used ProMS for marker selection on proteomics data. My problem is that prediction on other datasets always failed because of a permission error of a temp file (.yml).
Any idea/solution to help me solve this problem? Thank you in advance for your help.
C:\WINDOWS\system32>cd C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts
C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts>activate
(env) C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts>proms_train -f run_config_file.yml -d nec.yml
data config file: C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts\nec.yml
processing data ...
prediction type: cls
view: pro
train data target view features length 63
test data target view features length 63
common target view features length 63
number of samples: 90
test sample size: 91
k=22, repeat=1, estimator=lr, fs_method=proms
acc:0.9259, auroc: 0.9725
k=22, repeat=2, estimator=lr, fs_method=proms
acc:0.8889, auroc: 0.9286
………
k=22, repeat=1, estimator=lr, fs_method=proms
acc:0.967, auroc:0.984
Everything is ok until this step
(env) C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts>proms_predict -m results\2022_09_06_22_15_09\full_model\full_model.pkl -d Prediction_data\FreeSearch_1089entrees_reportpg2.tsv
Traceback (most recent call last):
File "C:\Users\gagd2502\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\gagd2502\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\gagd2502\Desktop\DIAnn\Proms\env\Scripts\proms_predict.exe_main.py", line 9, in
File "c:\users\gagd2502\desktop\diann\proms\env\lib\site-packages\proms\predict.py", line 134, in main
with open(temp.name, 'w') as fh:
PermissionError: [Errno 13] Permission denied: 'C:\Users\gagd2502\AppData\Local\Temp\tmp_8vlaezi.yml'