Repository navigation
fix(openms-consensus): FeatureFinderIdentification maps from group-merged IDs; several consensusXML inputs - #334
Conversation
…uilt from group-merged IDs and accept several consensusXML inputs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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 configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 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 |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 213 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…sitives flagged by Codacy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Would it be possible to do a minor or patch release such that I can start implementing the module in mhcquant? @ypriverol @Shen-YuFei ? |
|
Do another PR; we haven't release. |
|
Another PR? I think this feature its already merged into main 🤔 |
Makes
convert openms-consensusproduce a valid, correctly attributed dataset from nf-core/mhcquant consensusXML, where FeatureFinderIdentification gets the group-merged idXML for every run and each sample group is its own consensusXML.PXD011628 (2 groups × 3 runs, PBMC007 + PBMC009),
dev(per file, summed) vs this PR (one call):devfeature_idid_run_file_name,scan)peptide_qvalue/ PEPqpxc validateA single-run group (PXD009752) had
run_file_name = ""on all 336 rows and is now named from the ID metadata.map_indexnames the map, not the spectrum's run. When several ProteinIdentifications share one multi-runspectra_data, the run comes fromid_merge_indexin the PSM's own ProteinIdentification, and the copies collapse to one PSM.scan,id_run_file_nameand PSM link. Features quantified only from another run's ID (21%) stay null.psm.feature_idis chosen by a fixed ranking instead of the first copy read: feature in the PSM's run, then same peptidoform/charge, closest RT, m/z, quality,feature_id. It no longer depends on feature order.MS:1001493,q-value) when the primary score is a search score, e.g.COMET:xcorr. WithPercolator:peptide_level_fdrs, only the peptide's best PSM has real values and the rest carry 1.0. So features take the best PSM's values, the 1.0 placeholders are dropped,psm.posterior_error_probabilitystays null, and PSMs carrypeptide_qvalueinadditional_scores.--consensusxml a.consensusXML,b.consensusXMLwrites one dataset; inputs sharing a run are rejected.ProteomicsLFQ outputs give unchanged PSM and pg rows. Feature rows only gain values that were null before: own-run IDs, and peptide-level q-value/PEP for Percolator peptide-level runs. 1405 tests pass; new tests cover both readers (streaming and in-memory).
🤖 Generated with Claude Code