forked from levitsky/pyteomics
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add modification caching; Constant terminal mods;
**Modification caching** All ModificationResolver types now use an in-memory cache for resolved modification definitions, reducing overhead of resolving the same rule over and over again. Sub-classes should move their implementation of `resolve` to the `_resolve_impl` method, otherwise the cache will not be used. To disable the cache for a resolver instance, call `resolver.enable_caching(False)`. **Constant terminal modifications** This implements support for the syntax discussed in HUPO-PSI/ProForma#6 to include constant modification rules that apply to specific sequence terminals with or without specific amino acids.
- Loading branch information
1 parent
196c179
commit 39a017b
Showing
1 changed file
with
175 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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