Repository navigation
ProteomicsLFQ: document PIP-ECHO; PercolatorAdapter: document the in-process backend and stop ignoring options it lacks - #10297
Conversation
…in-process backend ProteomicsLFQ page: describe -pip_echo (decoy transfers, SVM scoring, FDR, local RT windows, min_decoys fallback, random_seed, max_training_points), list Thermo .raw input, and fix the flag name -post_processing_tdc (page and -ids help). PercolatorAdapter page: describe the in-process default, the options that run the percolator executable instead, the options the in-process backend does not implement, the decoy requirement and the thread counts of both backends. Update the -use_subprocess and -percolator_executable help to match the automatic fallback. CHANGELOG: correct the PercolatorAdapter entry (the fallback is automatic and also covers -doc and -init_weights) and add a Documentation entry. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughPercolatorAdapter selects in-process processing or the Percolator executable based on input type and requested options. The in-process backend writes requested PIN output and uses up to three threads. ProteomicsLFQ documentation adds Thermo ChangesPercolator backend selection
ProteomicsLFQ documentation
Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to PIN output has the required features, and no material backend-selection failure is established. No merge-blocking impact is evident. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new behavior is controlled by explicit tool options and uses existing execution and file-writing paths. No security issue was verified, but the change can cause an external executable to run automatically, so its operating environment matters. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit reads the FDR flow Comment |
… lacks
The in-process backend (the default since 3.6) ignored the options that
only the percolator executable implements: it wrote no -out_pout_* or
-weights file and had no -quick_validation, -static, -test_each_iteration
or -override. These now run the executable, like -doc and -init_weights
already did. -out_pin is written by the in-process backend itself
(PercolatorInfile::store, as the subprocess path does), so that asking
for this debug output does not switch the backend and change the
results. TOPP_PercolatorAdapter_5, which exists to check that the pin
file is written, had silently stopped writing it.
-threads 0 ("all cores") gave the in-process backend one thread; it now
gets 3, the most it can use and what the executable uses by default.
New tests: the in-process pin file is written without the executable,
and -weights with a missing executable reports that executable.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
Description
Documentation for two 3.6 features that had no user documentation yet, and a fix that writing it turned up. This is the third of the 3.6 documentation PRs (after #10293 and #10296).
ProteomicsLFQ page (documentation only)
-pip_echo true). It covers:PipEcho:fdrcutoff;PipEcho:local_rt:*, and the global window when they are disabled);min_decoysfallback that keeps only direct identifications;random_seed, andmax_training_pointsper cross-validation fold;-targeted_only false..rawis listed as input; it was already accepted withWITH_THERMO_RAW. The entry links to the "Vendor formats" page from [DOC] Document the vendor readers, compressed files, Parquet bundles and imzML (format pages) #10293, with the same URL as that PR's FileConverter page.-post-processing-tdc→-post_processing_tdc, on the page and in the-idshelp. The old spelling is not a valid flag.PercolatorAdapter: fix (fa014c5)
The in-process backend, the default since 3.6, silently ignored the options that only the percolator executable implements:
-out_pout_*or-weightsfile;-quick_validation,-static,-test_each_iterationor-override.Now:
-docand-init_weightsalready did (in_process_ok).-out_pin: the in-process backend writes this file itself, withPercolatorInfile::store()as the subprocess path does. Asking for a debug output must not switch the backend and so change the results.TOPP_PercolatorAdapter_5, whose comment says it "tests if pin file can be written", had silently stopped writing it.-threads 0("all cores") gave the in-process backend one thread; it now gets 3. That is the most it can use (one per cross-validation fold), and what the executable uses by default.TOPP_PercolatorAdapter_1_inproc_pin+_written: the in-process pin file is written with a nonexistent executable.TOPP_PercolatorAdapter_1_weights_needs_binary:-weightswith a nonexistent executable fails with the "could not be found (by searching on PATH)" message. The fallback is taken, not ignored.PercolatorAdapter page and help
-out_pin;Percolator.hpreconditions);-use_subprocessand-percolator_executablehelp texts describe the automatic fallback.CHANGELOG: the PercolatorAdapter entry now says the fallback is automatic, lists all its triggers, and mentions
-out_pinand-threads 0. There is also one Documentation entry, placed so that it doesn't touch the lines #10293 and #10296 add.Validation
PipEchoAlgorithm.cppdefaults,PIPECHO/Impl.cppdecoy selection andPIPECHO/TransferFDRModel.cppSVM predictors;in_process_ok, the in-process parameter mapping and the thread handling.@pspans render as intended.pin_file,feature_set,enz_str,min_chargeandmax_chargeare all in scope wherestore()is called, with the typesstore()takes.cmake -E sha256sumfails for a missing file, which the_writtencheck relies on.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
Summary by CodeRabbit
.rawinput and PIP-ECHO match-between-runs settings, including FDR control and retention-time windows.