-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add modifications #83
Comments
And an another question: Thanks again for your response!! : ) |
Hi Jim, Actually the documentation is a bit out of date for modifications. We now use psm_utils that in turn supports ProForma. Easiest is probably to choose the composition notation. I will have a look ASAP at the GUI. Also feel free to contact me directly here: robbin.bouwmeester@ugent.be I can probably help you with running DeepLC directly. |
Hi Robbin,
But in your article, the element formula and other features of modifications are used in model prediction. I wonder how you deal with this kind of situation (since the element formula may not match a modification in Unimod). It will help me a lot when it can be explained to me. For what I am working on is to solve the unknown mods (known mass shifts but unknown formula). Thanks! |
Yes, proforma supports mass shifts, but unfortunately DeepLC does not. It will likely throw an error (or at least ignore it). |
Thanks, and sorry that I have too many questions... Thanks again |
Hey, No worries about the questions, happy to help! Actually a blog post was written on this recently by Matrix Science: https://www.matrixscience.com/blog/tutorial-selecting-the-best-deeplc-model.html In terms of the keras vs hdf. I made the switch to .keras from version 3.1 >, because the latest versions of tensorflow do not support .hdf in their old form anymore. I have not updated all models. So if you want to try different models as suggested by the blog, it would be best to run DeepLC < 3.1.0. Hope that helps :) |
Thanks!! I appreciate your helpful response. I've tried the lower version of DeepLC. However, 3.0.7 and 3.0.8 DeepLC still cannot read .hdf5 models, and the earlier versions cannot be started with command And another question is...: Are the models: The question raised because I have tried two ways of prediction: the GUI and running the source code "deeplc_example.py" by IDE, however the results are a little different. I wonder if any parameters or models are different in these two ways... |
They are indeed slightly different, these days we only use a single model for prediction by default. Which in the current case is: "mods/full_hc_PXD005573_pub_1fd8363d9af9dcad3be7553c39396960.keras" About the version. I was wrong... I introduced that breaking change since 3.0.0, everything < v2.2.36 should work... Sorry for the confusion. |
Ok I think I get it. I really appreciate your response.
|
Hey, I looked into this and getting the GUI to work for older versions seems to be kinda hard. I will try to fix the latest version and provide all new model files. |
Thanks! I appreciate it and look forward to the new versions : ) |
Hi Robbin, It looks like the "verbose" param should be located before the n_jobs param since these params all have default values when the function is announced. And in "files.py", line 235: Hope these messages helps. |
Hi,
I am trying to add a modification into unimod_to_formula.csv, and I follows the instructions on your main page:
However, the modification still cannot be added and the an error was raised when running:
File "D:\python_projects\python_3_11\Lib\site-packages\pyteomics\proforma.py", line 674, in _resolve_impl
raise KeyError(name)
KeyError: 'Succinimide D'
and the line I input is :
Succinimide D,,H(-2) O(-1)
I wonder if there is anything wrong with my operation. Thanks for your reply!
Best wishes,
Jim
The text was updated successfully, but these errors were encountered: