Repository navigation
Protein groups with picked protein-level FDR; --protein-fdr filter - #192
Merged
Merged
Conversation
…--protein-fdr filters the PSM table and the proteoform table Parsimony over protein families (a canonical entry with its isoform, variant and chain entries is one family): families with the same peptides form one group, strict subsets are subsumed, shared peptides go to the larger group. A group scores its best unique or razor peptide; each target family competes with the decoy of the same family, and q = decoys/targets over the survivors. <stem>.protein_groups.tsv is written with every rescored search; the filtered TSV gains protein_group and protein_q.
…e method and the entrapment measurement
|
ⓘ 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 39 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 was referenced Oct 20, 2026
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.
Protein inference and a protein-level FDR inside andes. A rescored run can be filtered at the protein level without andes quantification or an external inference tool. PSM q-values are not changed.
Change
<stem>.protein_groups.tsv, written by every rescored run. Inference works on protein families: a canonical entry with its isoform, variant and chain entries is one family. With a FASTA database, each entry is its own family. Alternative entries therefore never split a protein's evidence. Targets and decoys are treated alike:--protein-fdr <q>(default off; alsorescoring.protein_fdrin the config). The filtered TSV keeps only PSMs whose peptide counts for a group at or below q, and the proteoform table only families of such groups. A proteoform member is then a claim inside an accepted protein, and it still needs its own specific evidence at its class-aware cutoff.protein_groupandprotein_q.protein_group lead accessions families peptides unique_peptides razor_peptides psms best_score protein_q subsumed. The peptide counts include only peptides with a PSM at its cutoff.Measured
Entrapment databases were used, with Percolator. A group is false when every accession in it is an entrapment entry. True FDP = entrapment groups / accepted × (1 + target : entrapment proteins).
Not in this PR
protein_groups.parquet. It stays an empty, schema-correct file.Tests
--protein-fdrhas a config key (rescoring.protein_fdr), validated as a fraction.