-
Notifications
You must be signed in to change notification settings - Fork 37
Restricted mods #872
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
base: master
Are you sure you want to change the base?
Restricted mods #872
Conversation
|
||
internal long numPossibleProteoforms(List<Modification> allKnownFixedModifications, | ||
DigestionParams digestionParams, List<Modification> variableModifications) | ||
|
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.
Instead of taking digestion params, it can just take an int paramater called "MaxNumberOfModifiedSites". DigestionParams.MaxModsForPeptide() and DigestionParams.MaxMods are equal
} | ||
} | ||
|
||
internal long numPossibleProteoforms(List<Modification> allKnownFixedModifications, |
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.
This feels like it will be the entry point. This method should be public and well commented
Added new commit! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #872 +/- ##
==========================================
+ Coverage 78.28% 78.31% +0.02%
==========================================
Files 244 244
Lines 35726 35769 +43
Branches 3761 3766 +5
==========================================
+ Hits 27969 28012 +43
Misses 7123 7123
Partials 634 634
🚀 New features to boost your workflow:
|
Implementation-less (in protein, probably) method of generating the number of possible proteoforms given a max number of residue sites. Draft mostly because it's untested.