Skip to content

Conversation

Avni2000
Copy link

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.

@Alexander-Sol Alexander-Sol marked this pull request as ready for review April 29, 2025 20:18

internal long numPossibleProteoforms(List<Modification> allKnownFixedModifications,
DigestionParams digestionParams, List<Modification> variableModifications)

Copy link
Contributor

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,
Copy link
Contributor

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

@Avni2000
Copy link
Author

Added new commit!

Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.31%. Comparing base (d37f510) to head (19917a1).

Additional details and impacted files

Impacted file tree graph

@@            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              
Files with missing lines Coverage Δ
mzLib/Omics/Digestion/DigestionProduct.cs 97.01% <100.00%> (+0.40%) ⬆️
mzLib/Proteomics/Protein/Protein.cs 97.28% <ø> (ø)
...roteolyticDigestion/PeptideWithSetModifications.cs 95.90% <ø> (ø)
...teomics/ProteolyticDigestion/ProteolyticPeptide.cs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@trishorts trishorts added the WIP label May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants