-
Notifications
You must be signed in to change notification settings - Fork 18
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
Some questions about single peptidoform prediction #231
Comments
Hi Yasset, Good point! We hadn't considered this usage mode yet, as it is not possible to do this through the CLI. (Pretty difficult to pass an observed spectrum through a CLI argument). I added a new I'm not sure how to add retention time to this comparison, as this would require knowledge of the complete MS run with at least a some other PSMs for RT calibration. Let me know if this fits your needs, or if you have questions. Best, |
Thanks, @RalfG that will do the work for me. Im making an API endpoint that does exactly that. Given a USI and including peptidoform give you back the predicted intensities and annotations. @RalfG Im quickly checking the Notebook, Im just wondering, why you need these two lines of code: observed_spectrum.tic_norm()
observed_spectrum.log2_transform() |
Perfect! The The former is done simply to get a consistent input, the latter to make the distribution of intensities more linear and therefore easier to accurately correlate. Differently put, it de-emphasizes the higher peaks and emphasizes the lower peaks. TIC-norm and log2-transform were found to give the best similarity measure with Pearson correlation in the following work: https://doi.org/10.1002/pmic.201000605. Nevertheless, I expect very similar results with base-peak normalization and square root transformation. |
@RalfG :
We have been trying to use MS2PIP in combination with USI. The use case is that for a given USI get the predicted b,y ions, retention time, intensities, etc, would be good to have also correlations.
I planned to use the
ms2pip.predict_single
, but this function only predicts b,y ions for a given peptidoform. However, would be possible to extend that function for:In the current implementation, I have to take the given peaks and write them down into a file, to use correlate I guess?
The text was updated successfully, but these errors were encountered: