Additional OpenSwath Speedups (IsotopeCacher + LinearResampler)#3
Open
jcharkow wants to merge 15 commits intofeature/oswSpeedUpfrom
Open
Additional OpenSwath Speedups (IsotopeCacher + LinearResampler)#3jcharkow wants to merge 15 commits intofeature/oswSpeedUpfrom
jcharkow wants to merge 15 commits intofeature/oswSpeedUpfrom
Conversation
Add additional class which will cache generated isotope patterns. This should speed up the execution of OpenSwathWorkflow This commit is very preliminary with nothing implmented yet
Revamped code when creating the test. Might not be the most efficient way right now however it is quite readable
now reads out the number of isotopes from command line dia_nr_isotopes when using this full size cache, the performance suffers. Takes significantly longer with the cache
Cache was actually taking longer because it was getting copied with function called unintentionally. Pass by address in all cases in order to prevent copying.
This gets without mutating the cache (such that it is compatible with multthreading)
clean up code, and ensure that all tests are passing
Fix unit tests so that they pass including DIAPrescoring_test, DIAScoring_test, MRMFeatureFinderScoring_test and MRMFeatureScoring_test
update function signatures of other tools to allow building
score behaviour was undefined because taking X isotopes for theoretical spectrum and X+1 isotopes for actual spectrum leading to non reproducible scoring. Edit cache to produce an extra isotope. Also revert getImmutable back to using upper bound because the rounding was a bit buggy.
don't create new linear resampler each time in order to speed up workflow
Also fix test in DIAScoring because isotopeCacher was empty by modifying getImmutable()
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Speedups for OpenSwathWorkflow
Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI builds