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.
New PR with changes from PR #797 and more.
Description:
PTM stoichiometry classes created for each structural level (protein group -> protein -> (base) peptide - modification). Probably the most important class to understand is the QuantifiedPeptide class for which an object represents a collection of post-translationally modified variants sharing the same base sequence. This is in contrast with other Peptide classes that represent a peptide with a given full sequence. The
QuantifiedProtein
class, which stores theQuantifiedPeptide
objects, handles peptide-to-protein indexing and obtaining of the modification stoichiometry for the protein. TheQuantifiedModification
class is primarily a data class, and theQuantifiedProteinGroup
class is mostly a container for the differentQuantifiedProtein
members of the protein group. Lastly, thePositionFrequencyAnalysis
class has a method to take a list of (full sequence, protein group list, intensity) tuples and create a collection ofQuantifiedProteinGroup
objects.