-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
EngineLayer/SpectralLibrarySearch/SpectralLibrarySearchFunction.cs
Outdated
Show resolved
Hide resolved
Test/TestData/2021-06-08-19-48-32/Task Settings/Task1-SearchTaskconfig.toml
Outdated
Show resolved
Hide resolved
…ub.com/smith-chem-wisc/MetaMorpheus into DecoyOnTheFlyAndMatchedIonsWithAllCharges
|
||
// 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) |
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.
Can we keep this conditional outside of the method?
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 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.
…ub.com/smith-chem-wisc/MetaMorpheus into DecoyOnTheFlyAndMatchedIonsWithAllCharges
…ub.com/smith-chem-wisc/MetaMorpheus into DecoyOnTheFlyAndMatchedIonsWithAllCharges
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.