Open NicolasProvencher opened 7 months ago
Hi Nicolas,
Apologies in the delay in getting back to you. Your issue seems to be a combination of 2 problems:
fixed_modifications
should be empty, as they are already imported in the mzIdentML file. That is now more clearly described in the documentation. Just updating the config as follows should fix the issue:
"fixed_modifications": {},
Let me know if it works or not.
Best, Ralf
It works but i get another error
Extracting CNN features
Time to calculate all features: 2.843510389328003 seconds
got feature extraction results
Creating converter from 3 to 5
'NoneType' object has no attribute 'write'
Traceback (most recent call last):
File "ms2rescore\gui\function2ctk.py", line 301, in run
self.fn(*self.fn_args, **self.fn_kwargs)
File "ms2rescore\gui\app.py", line 637, in function
rescore(configuration=config)
File "ms2rescore\core.py", line 76, in rescore
fgen.add_features(psm_list)
File "ms2rescore\feature_generators\deeplc.py", line 162, in add_features
self.deeplc_predictor.calibrate_preds(
File "deeplc\deeplc.py", line 1005, in calibrate_preds
calibrate_output = self.calibrate_preds_func_pygam(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deeplc\deeplc.py", line 712, in calibrate_preds_func_pygam
predicted_tr = self.make_preds(
^^^^^^^^^^^^^^^^
File "deeplc\deeplc.py", line 667, in make_preds
ret_preds = self.make_preds_core(X=X,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "deeplc\deeplc.py", line 578, in make_preds_core
ret_preds = mod.predict(
^^^^^^^^^^^^
File "keras\utils\traceback_utils.py", line 70, in error_handler
File "keras\utils\traceback_utils.py", line 67, in error_handler
File "keras\engine\training.py", line 2403, in predict
File "keras\callbacks.py", line 519, in on_predict_batch_end
File "keras\callbacks.py", line 322, in _call_batch_hook
File "keras\callbacks.py", line 345, in _call_batch_end_hook
File "keras\callbacks.py", line 393, in _call_batch_hook_helper
File "keras\callbacks.py", line 1101, in on_predict_batch_end
File "keras\callbacks.py", line 1170, in _batch_update_progbar
File "keras\utils\generic_utils.py", line 296, in update
File "keras\utils\io_utils.py", line 79, in print_msg
AttributeError: 'NoneType' object has no attribute 'write'
This time i dont have any clue where to start looking
Picking up on this issue again. Apologies for the long delay.
@RobbinBouwmeester, any ideas?
@NicolasProvencher, could you check if updating DeepLC fixes the issue (pip install -U deeplc
). Thanks!
Hi, ralph Hope you are doing well,
First, since I was testing your windows installation to make a protocol for a gui user, things like pip are not used.
Now, I just tried reinstalling the .exe file for version 3.0.3 and the program wont open after the installation for me to retest everything and give you more info heres the error i encounter right now'
if i scroll at the end i see
If youd like me to open a different issue for this particuliar issue, just ask
If testing and fixing the windows gui version isnt a priority right now I am ok to wait until it is
Thanks a lot
Hi @NicolasProvencher,
Thanks for reporting! I opened a new issue here: #145
Best, Ralf
Hi, I am following up on error given while trying to run deeplc using the windows interface. we redid a run to see if the updates that happened since the original posting fixed the problem. It seems like it did not, I included the traceback we get when it crashes.
If the windows version of ms2rescore isnt a priority right now feel free to bump down the importance of this issues since we are not actively trying to use it right now.
Best Nicolas
Hi, I am trying to use ms2Rescore to rescore the output i get from a searchGUi / peptideshaker analysis here is the log of ms2rescore in debug mode
On searchGUI i used the thermofisherrawparser to parse my raw file, X!Tandem and MS-GF+ as search algorithms and used peptideshaker In peptideshaker, i used the export->peptideshaker project as -> mzldentML to produce the mzid im using in ms2rescore (including protein sequences)
modification used are Carbomidomethyl of C as fixed, and Oxidation , Acetylation for variables
percolator was used but i dont think it got to its step
I parsed the peptides in the mzid file to make sure that for the same peptide, all the modification had a different location
here is a link to a google drive folder containing the mzid and mzml and the fasta i used https://drive.google.com/drive/folders/1DUUn7fyeJR2rgIze2dQQ3r4ikcyfwiLI?usp=sharing
here is the line in the config.json file generated by ms2rescore
after all that i am wondering if I am doing anything wrong, with my settings
Thanks in advance
Nicolas