Repository navigation
Description
Description of the bug
Summary
ProteomicsLFQ (OpenMS 3.6.0-pre-HEAD-2026-07-02, via bigbio/quantms 1.10.0) segfaults
deterministically during cross-run feature clustering when using Sage as the upstream
search engine, with identification-guided linking enabled. Reproduces on both a tiny
18-protein test dataset and a real published dataset (PXD001819, UPS1-in-yeast,
3 technical replicates), so this is not a toy-dataset edge case.
Environment
- bigbio/quantms 1.10.0 (git rev 6a721f0)
- OpenMS 3.6.0-pre-HEAD-2026-07-02 (container: ghcr.io/bigbio/openms-tools-thirdparty:2026.07.02)
- Nextflow 26.04.6, Apptainer 1.4.5, Ubuntu 26.04, native x86_64
Steps to reproduce
Full pipeline (self-contained, downloads/builds everything from scratch):
nextflow run bigbio/quantms -r 1.10.0 \
-profile test,apptainer \
--search_engines sage
This uses quantms's own built-in BSA test dataset. Also reproduces with a real dataset
(3 technical replicates from PXD001819, UPS1-in-yeast) using the same --search_engines sage,
so this is not specific to the tiny test set.
Exact ProteomicsLFQ invocation extracted from the crashing task (BSA test-dataset case;
paths are quantms's own generated intermediate files, referenced here for exact reproduction
of the parameter set — happy to share the actual input files on request):
Steps to reproduce
Full pipeline (self-contained, downloads/builds everything from scratch):
nextflow run bigbio/quantms -r 1.10.0 \
-profile test,apptainer \
--search_engines sage
This uses quantms's own built-in BSA test dataset. Also reproduces with a real dataset
(3 technical replicates from PXD001819, UPS1-in-yeast) using the same --search_engines sage,
so this is not specific to the tiny test set.
Exact ProteomicsLFQ invocation extracted from the crashing task (BSA test-dataset case;
paths are quantms's own generated intermediate files, referenced here for exact reproduction
of the parameter set — happy to share the actual input files on request):
ProteomicsLFQ \
-threads 8 \
-in BSA1_F1.mzML BSA1_F2.mzML BSA2_F1.mzML BSA2_F2.mzML BSA3_F1.mzML BSA3_F2.mzML \
-ids BSA1_F1_sage_perc.idparquet BSA1_F2_sage_perc.idparquet BSA2_F1_sage_perc.idparquet BSA2_F2_sage_perc.idparquet BSA3_F1_sage_perc.idparquet BSA3_F2_sage_perc.idparquet \
-design BSA_design.sdrf_openms_design.tsv \
-fasta 18Protein_SoCe_Tr_detergents_trace_target_decoy.fasta \
-protein_inference aggregation \
-quantification_method feature_intensity \
-targeted_only true \
-feature_with_id_min_score 0.10 \
-mass_recalibration false \
-Seeding:algorithm biosaur2 \
-Seeding:intThreshold 1000 \
-protein_quantification unique_peptides \
-alignment_order star \
-PeptideQuantification:quantify_decoys \
-psmFDR 1.0 \
-proteinFDR 1.0 \
-picked_proteinFDR true \
-out_cxml BSA_design.sdrf_openms_design_openms.consensusXML \
-out BSA_design.sdrf_openms_design_openms.mzTab \
-out_qpx BSA_design.sdrf_openms_design_qpx \
-out_msstats BSA_design.sdrf_openms_design_msstats_in.csv \
-debug 0
Crash
Exit code 139 (SIGSEGV), reproducible on every attempt (4+ independent runs, 2 different
datasets). GDB backtrace from a core dump:
#0 ?? () [in libOpenMS.so, no debug symbols in this build]
#1 OpenMS::QTClusterFinder::run_<OpenMS::FeatureMap>(...)
#2 OpenMS::FeatureGroupingAlgorithmQT::group_<OpenMS::FeatureMap>(...)
#6 OpenMS::TOPPBase::main(...)
The crash occurs during cross-run feature alignment (log shows "Alignment differences...
percentiles" immediately before the segfault).
Would appreciate if you can look into this. :)
Command used and terminal output
Relevant files
No response
System information
No response
Activity
jpfeuffer commentedon Sep 28, 2026
Hi @chunxubioinfor
Thanks for raising this. I forwarded this to OpenMS OpenMS/OpenMS#10310
and it looks like a mixture of a missing guard against empty IDs which was already fixed in the nightly OpenMS builds and
a smaller bug when combining Sage with the PercolatorAdapter that resulted in fewer IDs in the first place.
@ypriverol @daichengxin Can you estimate when a new OpenMS build with these fixes could hit quantms?
chunxubioinfor commentedon Sep 29, 2026
Hi Julianus, thank you for your quick response!
chunxubioinfor commentedon Oct 7, 2026
Hi @daichengxin , thanks again for the quick triage and for forwarding this to OpenMS! I saw PR #736 merged on Oct 5, bumping the pinned OpenMS container to 2026.10.04, which looks like it postdates the OpenMS-side fix (OpenMS#10310 / OpenMS PR #10315, merged into develop on Sept 29). I noticed the bump currently sits only on dev though, and master still points at the older 2026.07.02 container. So I just wanted to followup whether that container bump is expected to resolve this specific issue, and when it might land on master / a tagged release? Thank you! :)
jpfeuffer commentedon Oct 7, 2026
Yeah, it will reach a tagged release eventually but we dont have a timeline yet. We need to test first on some more datasets if this OpenMS upgrade didnt break any other things.
chunxubioinfor commentedon Oct 8, 2026
@jpfeuffer thank you! Looking forward to seeing the new release!
timosachsenberg commentedon Oct 8, 2026
Status from the OpenMS side: all fixes are on develop (OpenMS/OpenMS#9790 for the crash, OpenMS/OpenMS#10314 for Sage features in the in-process PercolatorAdapter, OpenMS/OpenMS#10315 for the Debug assertion and tests) and in the 2026.10.04 container that
devpins since #736.One quantms-side can you cehck:
-profile testgives Sage the pre-built database with suffix decoys (_rev). Sage does not support decoy suffixes, so it searches without decoys, and Percolator atrun_fdr_cutoff0.1 then drops all PSMs in fraction 1. That empty fraction is what triggered the crash.-profile test_lfq_sagegenerates prefix decoys and runs through. We should either generate prefix decoys whenever Sage is selected or stop with a clear error on suffix-decoy databases.@chunxubioinfor could you rerun PXD001819 with
-r dev? If it still fails, please attach the ProteomicsLFQ log; the per-run "N features left after filtering" lines show whether it is the same case.chunxubioinfor commentedon Oct 8, 2026
Yes I would try that! Thank you @timosachsenberg
chunxubioinfor commentedon Oct 8, 2026
Hi @timosachsenberg, I just reran PXD001819 on -r dev with Sage + --add_decoys true. And good news that the crash is gone and feature detection, alignment, and consensus building all went through fine. However, It does still fail though, right at the end, at the QPX Parquet export step. Not a crash this time, exit code 5:
ConsensusMapArrowExport: refusing invalid QPX feature table: row 243 repeats the QPX feature identity 'feature_id' ... [42 rows total]
All 42 affected rows have an empty peptidoform (unidentified features) that collide on charge/run/rt/mz. Looks like a separate bug in the export's dedup logic for unassigned features. And I have attached the logs.
nextflow_console.log
PS: I was at it I tried both built-in test profiles on dev, which lines up with your suffix-decoy point:
chunxubioinfor commentedon Oct 12, 2026
Quick follow-up @timosachsenberg @jpfeuffer: I reran the same PXD001819 case on PR #740 (head
1afcff89, imagequantms-onnx-v2, Sage +--add_decoys true), and it now completes perfectly, with QPX, MSstats and pmultiqc all produced.feature_iderror.So for this dataset, the remaining failure from my last comment is resolved once the image with OpenMS#10453 reaches quantms.
Happy to retest once there's an official image or #740 is merged. :) Thank you!
ypriverol commentedon Oct 16, 2026
I will close this PR, @chunxubioinfor. Feel free to open a new one in the future if needed; thanks for reporting the issue.