Repository navigation
Fixed ms2rescore bugs #36
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably don't use the significance threshold
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean? I think this logic is in the original ms2rescore from @jonasscheid, no @daichengxin? How is it used in ms2rescore?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpfeuffer is this always annotated:
peptide_id.getSignificanceThreshold()?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaik MS2Rescore computes the q-value before rescoring and IdXMLWriter puts it as a metaValue in the PeptideHit obj. Maybe you can just get that score and probably you don't need to to any extra steps in that regard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This logic is in the original ms2rescore. I only reconstruct parse psm function to skip invalid psm without search engines score features.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonasscheid This error comes from MSGF+, which produces some PSMs without search engine scores. bigbio/quantms#447
In the new version of OpenMS @timosachsenberg has introduced a patch OpenMS/OpenMS#7713. Im wondering if we need to also remove the PSMs with the latest
dummyvalues:@jpfeuffer @timosachsenberg @daichengxin @jonasscheid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep them an evaluate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vote keep if these dummy values have not effect. Are these PSMs likely to appear in the final results or are they filtered out in subsequent steps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they are of general low quality I think ms2rescore and percolator will assign a bad score so they get filtered out.
So no problem there. On the other had good hits (e.g., with good denovo or raw score) can still survice the filtering even though the other scores are set to dummy values. I think this is better than just filtering them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But they will not be used, no? With no score, those PSMS will be noisy all over the place. I can guess they will receive some scores coming from ms2rescore because some new features are introduced, like PEPLEN, PredictedRT, MS2PIP, etc., but the original search engine scores will be gone. In the downstream analysis, this will also be strange because you have PSMs with no Scores.
BTW, @timosachsenberg the version from MSGF+ that OpenMS is using is
MS-GF+ Release (v2023.01.12) (12 January 2023), I re-run the dataset with the latest version of MSGF+ here the mziD: bigbio/quantms#447 (comment)