Skip to content

[DOC,FEATURE] massive speedup for Digestion and update contrib - #3267

Merged
cbielow merged 5 commits into
OpenMS:developfrom
cbielow:AC_opts
Feb 28, 2018
Merged

cbielow merged 5 commits into
OpenMS:developfrom
cbielow:AC_opts

Conversation

@cbielow

@cbielow cbielow commented Feb 27, 2018

Copy link
Copy Markdown
Contributor

when verifying protein-peptide matches, the runtime was dominated by ProteaseDigestion::isValidProduct(),
which internally uses the very expensive tokenize_() to digest a full protein.

The digestion is now optimized, to only operate on the immediate vicinity of the peptide in question.
Also, there was redundant code in EnzymaticDigestion::isValidProduct(), which made maintenance really hard. Now, there is a single implementation.

Benchmark, verifiying 48k peptides (when the matching location is already known, but the trypticity needs to be determined).

before: 40 seconds
now: 3 seconds (factor x13)

Some documentation added.

@cbielow cbielow self-assigned this Feb 27, 2018
@jpfeuffer

Copy link
Copy Markdown
Contributor

Looks great but needs conflict resolution. git submodule update --init THIRDPARTY might do the trick.

@cbielow

cbielow commented Feb 28, 2018 •

Copy link
Copy Markdown
Contributor Author

git submodule update --remote --merge did work, but Im not sure it did the right thing.

@jpfeuffer

Copy link
Copy Markdown
Contributor

yes seemed to work. You will pull latest contrib changes, too, now.

@jpfeuffer jpfeuffer changed the title [DOC,FEATURE] massive speedup for Digestion [DOC,FEATURE] massive speedup for Digestion and update contrib Feb 28, 2018
@cbielow

cbielow commented Feb 28, 2018

Copy link
Copy Markdown
Contributor Author

I wasn't sure if these changes were already good to go.
But if thats ok, I#ll merge if tests pass.

@jpfeuffer

Copy link
Copy Markdown
Contributor

Should be fine. I wanted to merge them soon anyway. PRs use the latest contrib anyway (except for travis which needs a manual push to redo the cache)

@cbielow

cbielow commented Feb 28, 2018

Copy link
Copy Markdown
Contributor Author

not sure what happened to Jenkins... java error...

@jpfeuffer

Copy link
Copy Markdown
Contributor

If I knew... maybe IT knows.. but you can merge.

@cbielow
cbielow merged commit 265a9b6 into OpenMS:develop Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants