Skip to content
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

Decoy on the fly And Searching Match Ions with All Charges for decoy library generation #2059

Merged
merged 30 commits into from
Jul 15, 2021

Conversation

YulingDai
Copy link
Contributor

There are 2 main parts which have been changed:
1st one is decoy-on-the-fly method which generates decoy sequence by reversing target sequence. This is useful for decoy spectral library generation from target spectral library.
2nd one is looking for match ions with all charges. The original one finds a fragment with the theoretical mass, and if it accepts it and doesn't try to look for different charge states of that same fragment. This is not good for spectral library generation.

I added a check box in Search task GUI and added the Boolean value "write spectral library" to classic search engine parameters. The new decoy and matched ions searching methods would only work under the condition that you check the write spectral library box.

@YulingDai YulingDai requested review from zrolfs and removed request for lonelu, trishorts and zrolfs June 9, 2021 19:39
@YulingDai YulingDai requested review from rmillikin, zrolfs, trishorts and lonelu and removed request for rmillikin, trishorts, lonelu and zrolfs June 17, 2021 18:11
@YulingDai YulingDai requested a review from rmillikin June 22, 2021 17:53
@YulingDai YulingDai requested a review from rmmiller22 June 24, 2021 18:19

// this is thread-safe because even if the score improves from another thread writing to this PSM,
// the lock combined with AddOrReplace method will ensure thread safety
if (meetsScoreCutoff)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this conditional outside of the method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do it but if keep it outside, then we will have to add one line to calculate the "meetsScoreCutOff" every time we call this method.

@YulingDai YulingDai requested review from zrolfs and rmillikin June 29, 2021 19:33
@rmmiller22 rmmiller22 merged commit e41d933 into master Jul 15, 2021
@acesnik acesnik deleted the DecoyOnTheFlyForDecoyLibraryGeneration branch March 10, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants