You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PhosphoRS algorithm implements a comprehensive approach using isomer generation, theoretical spectrum matching, and probability scoring for confident phosphorylation site assignment.
232
236
233
237
**Output Metrics:**
234
-
- Site-specific probability scores (0-100%)
235
-
- Isomer details with sequence and score
236
-
- Detailed confidence metrics
238
+
-`PhosphoRS_site_probs`: `{position: probability}` on a **0–100% scale** (**higher = more confident**) — the classic phosphoRS site probability.
239
+
-`PhosphoRS_site_delta`: `{position: Δ}` — the `−10·log10 P` gap between the best and best-alternative isoform (rank1 − rank2). Used to rank a global FLR because, unlike the probability, it does not saturate at 100%.
240
+
-`PhosphoRS_pep_score`: peptide-level binomial probability *P* (**lower = more confident**).
241
+
-`regular_phospho_count` / `phospho_decoy_count`: number of phospho / decoy sites placed.
242
+
-*Typical threshold:***site probability ≥ 75%** (or 90 / 99% for stricter sets).
237
243
238
244
### LucXor (LuciPHOr2) Algorithm
239
245
240
246
LucXor implements the complete LuciPHOr2 algorithm with two-stage processing for accurate PTM localization with false localization rate (FLR) estimation.
-`Luciphor_global_flr`: Global false localization rate
246
-
-`Luciphor_local_flr`: Local false localization rate
249
+
-`Luciphor_delta_score`: main localization score (the hit score type; **higher = more confident**).
250
+
-`Luciphor_pep_score`: per-PSM delta score.
251
+
-`Luciphor_global_flr` / `Luciphor_local_flr`: LucXor's **native false-localization-rate** estimates per PSM (**lower = more confident**) — the only tool that emits an FLR directly.
252
+
-`Luciphor_site_scores`: `{position: Δ}` per-site confidence derived from the permutation scores.
253
+
-*Typical threshold:***local FLR ≤ 0.05** (or global FLR ≤ 0.01).
254
+
255
+
## Interpreting the output: PSM-FDR vs localization FLR
256
+
257
+
These tools assume your input idXML is **already filtered at the PSM level** (e.g. 1% PSM-FDR). That FDR answers *"is the peptide identification correct?"* and is left untouched. Localization adds a **second, orthogonal** error axis: *"is the PTM on the right residue?"* — the **false localization rate (FLR)**. A confident identification can still carry an ambiguous site, so the two rates are independent and you typically control both.
258
+
259
+
Running any tool on a 1%-PSM-FDR idXML re-localizes each hit to its best-scoring site and writes these scores:
Positions in the per-site dicts are **0-based** indices into the unmodified peptide.
268
+
269
+
**Quickest single-tool answer:** run LucXor and keep `Luciphor_local_flr ≤ 0.05` — it is the only tool that reports an FLR out of the box.
270
+
271
+
### Unified decoy-amino-acid global FLR (compare tools, or get an FLR for AScore/PhosphoRS)
272
+
273
+
AScore and PhosphoRS report a per-site *confidence* but no global FLR. To put all three on one comparable FLR scale, run each tool with **`--add-decoys`** (adds Alanine as a `PhosphoDecoy`; A cannot be phosphorylated, so a localization onto A is a known false one), then:
This reads the `target_decoy` and `q-value` UserParams from your FDR-filtered idXML, re-applies the q-value cutoff, intersects the PSM set across the supplied tools, and reports the sites recovered at your global FLR threshold (decoy-amino-acid method of Ramsbottom et al. 2022; **5%** is the recommended cutoff). `--add-decoys` is only needed for this FLR estimation — for plain localization you can omit it. Any subset of `--ascore` / `--phosphors` / `--lucxor` may be passed.
0 commit comments