Repository navigation
Description
Description
I am running FragPipe v24.0 in headless mode on an HPC cluster (CINECA Leonardo, Italy) for a metaproteomic study (gut microbiome + human host). The pipeline runs to apparent completion (Slurm reports ExitCode 0), but internally Philosopher filter crashes with a Go runtime out-of-memory fatal error during the first filter --sequential call, immediately after ProteinProphet finishes successfully. This causes FragPipe to cancel the remaining 251 downstream tasks (report, IonQuant, LFQ, etc.), so no combined_protein.tsv or any final output is produced.
Environment
| Item | Detail |
|---|---|
| HPC system | CINECA Leonardo |
| Node type | dcgp_usr_prod — 112 CPU cores , 512 GB RAM |
| SLURM allocation | --cpus-per-task=112 --mem=480G --gres=tmpfs:500G |
| FragPipe RAM flag | --ram 460 |
| OS | Linux |
| Java | OpenJDK 11.0.20.1 (Eclipse Adoptium) |
| FragPipe | 24.0 |
| MSFragger | 4.4.1 |
| Philosopher | 5.1.3-RC9 |
| Percolator | 3.7.1 |
| MSBooster | 1.4.14 |
| IonQuant | 1.11.20 |
Dataset & Database Details
FASTA database
| File | Size |
|---|---|
db_ridotto_closed_preliminare_decoys_contam.fasta.fas (target + rev_ decoys + cRAP contaminants, pre-appended) |
2.4 GB |
From the log — ProteinProphet processed 4,563,954 total peptides and 2,549,526 degenerate proteins (target ≈ ~1.16M + decoy ≈ ~1.16M + contaminants). Database size reported by ProteinProphet: db_size=4,589,678,523 bytes (~4.3 GB when loaded in memory).
The database.append-decoys=false and database.add-contaminants=false flags are set because decoys (rev_ prefix) and cRAP contaminants are already included in the FASTA.
mzML files (DDA, Orbitrap)
| Group | # Files | Location |
|---|---|---|
| Patients (C-prefix, COVID-19 positive) | 42 mzML | file_mzml_MSCONVERTER/ |
| Controls (N-prefix, healthy) | 41 mzML | controlli_mzml/ |
| Total | 83 mzML | — |
Each individual mzML file is approximately 1.5–2.5 GB. Total mzML data across both groups is approximately ~160 GB.
Workflow configuration
- MSFragger: closed search, strict trypsin, ±20 ppm precursor, 20 ppm fragment
- MSBooster: ON (DIA-NN models for RT, IM, spectra)
- Percolator: ON (
--only-psms --no-terminate --post-processing-tdc) - PeptideProphet: OFF
- ProteinProphet: ON (
--maxppmdiff 2000000) - Philosopher filter:
--sequential --prot 0.01 --mapmods(no--picked) - IonQuant: ON (MaxLFQ, MBR OFF)
The Problem
Timeline
- MSFragger (8 database slices, 83 files) → completed successfully
- MSBooster → completed successfully
- Percolator → completed successfully (all 83 files)
- ProteinProphet → completed successfully (exit code 0), processed 2,549,526 proteins in ~22 hours
- Philosopher
database --annotate→ completed successfully (exit code 0) - Philosopher
filter --sequential→ CRASHED withfatal error: runtime: out of memory(exit code 2) on the very first sample (C002_1)
FragPipe then cancelled the remaining 251 tasks.
Fatal error in the log
PhilosopherFilter [Work dir: .../output_closed_totale/C002_1]
philosopher-v5.1.3-RC9 filter --sequential --prot 0.01 --mapmods --tag rev_ \
--pepxml .../C002_1 \
--protxml .../combined.prot.xml \
--razor
time="19:57:25" level=info msg="Executing Filter v5.1.3"
time="19:57:25" level=info msg="Processing peptide identification files"
time="19:57:25" level=info msg="Parsing .../C002_1/interact-SarsCov2_C002_OT_06032023_01.pep.xml"
fatal error: runtime: out of memory
runtime stack:
runtime.throw({0xb05f6b?, 0x204ee3?})
C:/Program Files/Go/src/runtime/panic.go:1023 +0x5c
runtime.sysMapOS(0x1338cc00000, 0x800000000)
C:/Program Files/Go/src/runtime/mem_linux.go:167 +0x11b
...
bytes.(*Buffer).grow(0xcf45390750, 0x13)
C:/Program Files/Go/src/bytes/buffer.go:151 +0x13d
github.com/Nesvilab/philosopher/lib/id.(*ProtXML).Serialize(0xc000380000)
E:/Projects/philosopher/phi-5.1.1_RC/philosopher/lib/id/pro.go:281 +0x6a
github.com/Nesvilab/philosopher/lib/fil.ReadProtXMLInput(...)
E:/Projects/philosopher/phi-5.1.1_RC/philosopher/lib/fil/fil.go:608 +0x158
github.com/Nesvilab/philosopher/lib/fil.Run.func1()
E:/Projects/philosopher/phi-5.1.1_RC/philosopher/lib/fil/fil.go:76 +0xc5
Process 'PhilosopherFilter' finished, exit code: 2
Process returned non-zero exit code, stopping
~~~~~~~~~~~~~~~~~~~~
Cancelling 251 remaining tasks
Additional warnings (non-blocking)
WARNING: Found the following zero-mass residues in protein entry sp|Q86VQ6|TRXR3_HUMAN : U
(Selenocysteine residue — expected, not related to the crash)
ERROR: Missing assets: .../tools/Skyline/SkylineRunner.exe
ERROR: Missing assets: .../tools/Skyline/SkylineDailyRunner.exe
(Expected — Skyline is Windows-only and not used in this Linux headless run)
Slurm Job Info
Job_id=50175911
Name=step3A_closed_totale
Run time: 1 day, 05:15:47
Status: COMPLETED (ExitCode 0)
Note: Slurm reports COMPLETED because the FragPipe Java process itself exited with code 0 (it handled the Philosopher crash internally and cancelled remaining tasks gracefully). The actual pipeline is incomplete.
Questions for Developers
-
Is there a known memory limit for
philosopher filterwhen dealing with very largecombined.prot.xmlfiles? Mycombined.prot.xmlcontains results from 2.5M proteins × 83 samples — is this expected to be too large for the current Philosopher implementation? -
Would processing samples in batches (e.g., smaller groups) and then merging results be a supported workaround?
-
Is there a way to control Philosopher's memory usage independently from FragPipe's
--ramflag? The--ram 460flag seems to apply only to Java-based tools (MSFragger, IonQuant), while Philosopher (written in Go) does not appear to have a memory limit parameter. -
Would upgrading to a newer version of Philosopher (if available beyond 5.1.3-RC9) help with memory handling for large prot.xml files?
-
Any alternative filtering strategies for datasets of this scale (e.g., using
--pickedinstead of--sequential, or running without ProteinProphet and using Percolator-only FDR)?
Reproducibility
This is reproducible — the same crash happened on a previous run with 83 mzML files on the same database. The SLURM node provides the maximum available RAM on Leonardo DCGP partition (512 GB physical, 480 GB allocated).
Files available upon request
- Full FragPipe log (
log_2026-07-25_22-10-41.txt, ~2.4 MB, 23,807 lines) - Workflow file (
.workflow) - SLURM batch script (
.slurm) - Manifest file (
.fp-manifest) - The FASTA database itself (2.4 GB)
Thank you for your help!
Activity
fcyu commentedon Jul 29, 2026
Could you please share
log_2026-07-25_22-10-41.txt?Thanks,
Fengchao
martinastramacci commentedon Jul 29, 2026
log_2026-07-25_22-10-41.txt