Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am using mokapot (v0.10.0) as an embedded rescoring engine within the ms2rescore package (https://github.com/compomics/ms2rescore, v3.0.3), which you may have heard of for rescoring results from sage (https://github.com/lazear/sage, v0.14.6).
I've tried doing label-free quantification with FlashLFQ GUI (v1.2.6), as you kindly provided the writer for its "Generic" format, and bumped into zero intensity for all quantified proteins. Checking the
results.sage.ms2rescore.mokapot.flashlfq
and*.raw
files with FreeStyle, I found the unnecessary subdivision of the retention time for conversion to FlashLFQ compatible format, as the retention time is supposed to be minutes, but it's already in minutes.To test the theory, I manually deleted the division in the source files of ms2rescore venv in
lib/python3.10/site-packages/mokapot/writers/flashlfq.py
at line 115 and resubmitted the job to ms2rescore and later to FlashLFQ.As a result, all proteins are now appropriately quantified.
Please consider this PR if you find it useful.