Repository navigation
Closed
Labels
bugSomething isn't working
Description
Description of the bug
I have run this dataset with the previous version of quantms 1.2, without ms2rescore and sage. Right now is not working:
The exit status of the task that caused the workflow execution to fail was: 8
Error executing process > 'NFCORE_QUANTMS:QUANTMS:TMT:PROTEINQUANT:PROTEINQUANTIFIER (MSV000085836.sdrf_openms_design)'
Caused by:
Process `NFCORE_QUANTMS:QUANTMS:TMT:PROTEINQUANT:PROTEINQUANTIFIER (MSV000085836.sdrf_openms_design)` terminated with an error exit status (8)
Command executed:
ProteinQuantifier \
-method 'top' \
-in ID_mapper_merge_epi_filter_resconf.consensusXML \
-design MSV000085836.sdrf_openms_design.tsv \
-out MSV000085836.sdrf_openms_design_protein_openms.csv \
-mztab MSV000085836.sdrf_openms_design_openms.mzTab \
-peptide_out MSV000085836.sdrf_openms_design_peptide_openms.csv \
-top:N 3 \
-top:aggregate median \
-top:include_all \
\
-ratios \
-threads 8 \
\
-debug 0 \
2>&1 | tee pro_quant.log
cat <<-END_VERSIONS > versions.yml
"NFCORE_QUANTMS:QUANTMS:TMT:PROTEINQUANT:PROTEINQUANTIFIER":
ProteinQuantifier: $(ProteinQuantifier 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -c 1-50)
END_VERSIONS
Command exit status:
8
Command output:
Quantifying peptides...
Warning: No peptides quantified.
/tmp/OpenMS/src/openms/source/ANALYSIS/QUANTITATION/PeptideAndProteinQuant.cpp(446): No protein matches found, cannot quantify proteins.
Error: Unexpected internal error (No protein matches found, cannot quantify proteins.)
Command wrapper:
Quantifying peptides...
Warning: No peptides quantified.
/tmp/OpenMS/src/openms/source/ANALYSIS/QUANTITATION/PeptideAndProteinQuant.cpp(446): No protein matches found, cannot quantify proteins.
Error: Unexpected internal error (No protein matches found, cannot quantify proteins.)
Work dir:
/hps/nobackup/juan/pride/reanalysis/absolute-expression/cell-lines/MSV000085836/work/27/076c4aca914f0b880f6820aea85f7f
Container:
/hps/nobackup/juan/pride/reanalysis/singularity/ghcr.io-openms-openms-tools-thirdparty-sif-latest.img
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
ID Filter only found 1 Peptide: tail -n 400 -f ID_mapper_merge_epi_filter_resconf.log
ConsensusXMLFile::store(): found 1 invalid unique ids
IDConflictResolver took 30:22 m (wall), 30:12 m (CPU), 01:35 m (system), 28:37 m (user); Peak Memory Usage: 35086 MB.
Looks like IDFilter is the issue:
tail -n 400 ID_mapper_merge_epi_idfilter.log
Filtering by PSM score (better than 0.05)...
No 'score:peptide' threshold set. Not filtering by peptide score.
No 'score:protein' threshold set. Not filtering by protein score.
Filtering by protein group score...
Removing unreferenced protein hits...
Removing peptide hits without protein references...
Before filtering:
1 identification runs with 79890 proteins,
8175488 spectra identified with 8175488 spectrum matches.
After filtering:
1 identification runs with 0 proteins,
0 spectra identified with 0 spectrum matches.
ConsensusXMLFile::store(): found 1 invalid unique ids
IDFilter took 35:14 m (wall), 34:46 m (CPU), 02:00 m (system), 32:46 m (user); Peak Memory Usage: 42713 MB.
Here the command of IDFilter:
#!/usr/bin/env bash
set -e # Exit if a tool returns a non-zero status/exit code
set -u # Treat unset variables and parameters as an error
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
set -C # No clobber - prevent output redirection from overwriting files.
IDFilter \
-in ID_mapper_merge_epi.consensusXML \
-out ID_mapper_merge_epi_filter.consensusXML \
-threads 22 \
-score:proteingroup "0.01" -score:psm "0.05" -delete_unreferenced_peptide_hits \
2>&1 | tee ID_mapper_merge_epi_idfilter.log
cat <<-END_VERSIONS > versions.yml
"NFCORE_QUANTMS:QUANTMS:TMT:PROTEININFERENCE:IDFILTER":
IDFilter: $(IDFilter 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -d ' ' -f 1)
END_VERSIONS
Command used and terminal output
No response
Relevant files
No response
System information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
ypriverol commentedon Dec 7, 2024
Here the quantms PROTEININFERENCE:
jpfeuffer commentedon Dec 7, 2024
Did you also use epifany before? And this is TMT right? You'll probably have a lot of errors from ms2rescore. I'm convinced that it's not working correctly for TMT, how we do it right now.
daichengxin commentedon Dec 8, 2024
Did you use 1.2.0? Could you share the ID_mapper_merge_epi.consensusXML and other related files?
ypriverol commentedon Dec 8, 2024
@daichengxin @jpfeuffer dataset https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/quantms-benchmark/60b5b664a9744072dc80fad42a60ab/
@daichengxin I used dev version running now in quantms.
daichengxin commentedon Dec 9, 2024
NoMS2Rescore:
MS2Rescore:
ypriverol commentedon Dec 9, 2024
This is with the latest version of OpenMS? Can you make both files and the commands to run IDFilter available?
timosachsenberg commentedon Dec 9, 2024
is the psm score still the q-value or something else (e.g., p-value) after ms2rescore.
jpfeuffer commentedon Dec 9, 2024
Off topic:
ypriverol commentedon Dec 9, 2024
We have one student here on this.
daichengxin commentedon Dec 9, 2024
Yes, dev branch. PSM Still q-value. Protein is also q-value.

.
And I plotted protein q-value for without ms2rescore (orange line) and with ms2rescore (blue line).

All target PSM are removed at protein q-value 0.01 for with ms2rescore.
But almost target PSM are remained at protein q-value 0.01 for without ms2rescore.
ypriverol commentedon Dec 9, 2024
Can you plot the PSMs q-value distribution?
daichengxin commentedon Dec 10, 2024
PSM q-value distribution from the large-scale datasets. It looks normal.
ypriverol commentedon Dec 10, 2024
@daichengxin, @timosachsenberg has pointed out that the scores don't look quite right in #459 (comment), Can you plot the protein scores without the smooth?
How many proteins do we have with 0 in the q-value?
timosachsenberg commentedon Dec 11, 2024
can you also plot target / decoy curves and how they change before / after ms2rescore? For me it looks like some peptide decoys got promoted to a good score which results in bad protein q-values
ypriverol commentedon Dec 12, 2024
Ok, looks like the problem is not ms2rescore. Here my recent benchmark using same dataset but not ms2rescore:
Here the results from proteinquantifer:
Here is the ProteinInference data @timosachsenberg @jpfeuffer:
https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/quantms-benchmark/8711e85cea3f3da8ec117ec7477be9/
Here is the folder for IDFilter @timosachsenberg @jpfeuffer:
https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/quantms-benchmark/298bfca6ce4a4c7fd531b62d62f168/
ypriverol commentedon Mar 10, 2025
This has been solved in latest PR #463 with quantms-rescoring.