Repository navigation
Proteoform table: specific means no entry of any family explains the peptide - #211
Merged
Merged
Conversation
…ily explains it Specificity was decided within the peptide's own family, so a variant peptide that another family's canonical protein also contains (a paralog, or an I/L-equal sequence named by the isobaric sharing step) counted as specific evidence for the variant. Such a row was listed as a proteoform although the peptide shows the other protein just as well. A peptide is now specific only when it names one entry across all families; the family's own members keep their specific evidence.
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In the proteoform table, a peptide is now specific to a member only when no entry of any protein family explains it.
Why
Specificity was decided within the peptide's own family. A variant peptide that another family's canonical protein also contains therefore counted as specific evidence for the variant. That covers paralogs, and sequences that are equal once I and L are taken as equal, which
share_isobaric_referencesadds as a second protein. The variant row was listed as a proteoform although the peptide shows the other protein just as well.These PSMs are classed as canonical, because one of their proteins is a reference entry, so they take the canonical cutoff and never meet the knockoff null. This is the PSM-level error #180 fixed for TUBA3C-type V→L variants. On EN-TEx before #180, the paralog cases were 42 of 50 false variant PSMs.
Change
proteoform_table.rs: a peptide is specific when it names one entry across all families. Otherwise it is shared: it shows the family, or families, it names, and lists no isoform, variant or chain member.The family's own members keep their specific evidence. Canonical entries that share a peptide with another family's canonical entry now count it as shared, not specific.
Tests
a_variant_peptide_another_family_contains_is_not_specific. A variant peptide that another family's canonical also contains lists no variant row and is shared evidence for that protein; the family's own canonical keeps its specific peptides.