Repository navigation
andes inference: dataset-level protein groups over several runs as the QPX pg view - #197
Conversation
…ten as the QPX pg view andes inference --psms ... --decoy-psms ... --database ... -o PREFIX loads the database with the search's options, applies the class and knockoff q-values, and runs one parsimony and one picked competition over every run's PSMs. PREFIX.pg.parquet holds the target groups and the decoy groups that won their family's competition. Inference also keeps decoy groups and per-accession peptide counts.
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Re-land andes inference and the knockoff protein-evidence fix (from #197)
Stacked on #192. This PR adds
andes inference: protein groups over the rescored PSMs of several runs, written as the QPX protein-group view. A multi-run pipeline that searches each file separately can then infer proteins once for the whole dataset, whether or not it quantifies.andes inference \ --psms run1.percolator.target.psms.txt run2.percolator.target.psms.txt \ --decoy-psms run1.percolator.decoy.psms.txt run2.percolator.decoy.psms.txt \ --database db.fasta -o out/PXD000001 # writes out/PXD000001.pg.parquetChange
--annotations,--uniprot-*,--knockoffs,--enzyme, decoy affixes), so families, knockoff entries and decoy pairs match the search.--fdrand--proteoform-fdrset the PSM cutoffs used for the peptide and PSM counts.<PREFIX>.pg.parquet, the QPX pg view (1.1):is_decoy), so a reader can recompute the FDR;global_qvalueis the protein q-value;pg_qvalue(run level) is set only when the inference covers one run;pg_accessions,anchor_protein,grouped_runs(--runs, else one name per--psmsfile);peptides(peptide count per accession) andpeptide_counts;additional_scores; families, PSMs, razor peptides and subsumed families incv_params;primary_keyandidentity_composite.label/intensityare null (identification only).The scores must come from one Percolator run over all the runs. Separate Percolator runs are not on one scale, and DOCS says so.
Tests
tests/inference_cli.rs): two runs with repeated SpecIds and a FASTA, run through the binary. Checks that a protein's peptides from both runs are merged, a target that lost to its decoy gets q = 1, the decoy group is present, andgrouped_runsholds both runs.