Skip to content

[DOC] Add biosaur2 seeding design spec and plan for ProteomicsLFQ - #8980

Merged
timosachsenberg merged 2 commits into
developfrom
feature/biosaur2-seeding-proteomicslfq
Mar 24, 2026
Merged

timosachsenberg merged 2 commits into
developfrom
feature/biosaur2-seeding-proteomicslfq

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds design spec and implementation plan for a user-selectable Seeding:algorithm parameter in ProteomicsLFQ
  • Users will be able to choose between "multiplex" (current default, FeatureFinderMultiplexAlgorithm) and "biosaur2" (Biosaur2Algorithm) for untargeted feature seed generation
  • Biosaur2 parameters exposed under Seeding:Biosaur2: subsection
  • Rest of the pipeline (FeatureFinderIdentificationAlgorithm, alignment, linking, quantification) stays unchanged

Files

  • docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md — design spec
  • docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md — implementation plan

Test plan

  • Review design spec for correctness
  • Review implementation plan for completeness
  • Implementation follows in a separate PR

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Added Seeding:algorithm parameter to ProteomicsLFQ, allowing users to choose between "multiplex" (default) and "biosaur2" seed generation methods.
    • Introduced Seeding:Biosaur2: parameter section with advanced tuning options for the Biosaur2 algorithm.
  • Documentation

    • Added specification and design documentation for the new seeding algorithm selection feature.

Add user-selectable Seeding:algorithm parameter (multiplex vs biosaur2)
to ProteomicsLFQ for untargeted seed generation. Includes design spec
and implementation plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Mar 24, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adds Biosaur2 algorithm as an alternative seeding method in ProteomicsLFQ alongside the existing multiplex approach. Introduces a new Seeding:algorithm parameter defaulting to "multiplex" with option to select "biosaur2", and registers tunable Biosaur2 parameters under Seeding:Biosaur2: prefix in the parameter interface.

Changes

Cohort / File(s) Summary
Documentation & Design Specifications
docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md, docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md
Adds planning and design documentation for implementing Biosaur2 seeding as optional algorithm in ProteomicsLFQ. Specifies parameter registration (Seeding:algorithm, Seeding:Biosaur2:), conditional branching logic in quantifyFraction_(), and CTest smoke test coverage.

Suggested reviewers

  • jpfeuffer

Poem

🐰 A second seeding path now grows,
Where Biosaur2's algorithm flows,
Multiplex stays, but choice is here,
Parameters tuned without fear,
Seeds spring forth with dual delight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main change: adding design specification and implementation plan for Biosaur2 seeding in ProteomicsLFQ, which matches the files added and objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/biosaur2-seeding-proteomicslfq

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md (1)

21-21: Avoid hardcoded source line references in the design doc.

References like exact source line numbers are likely to drift and become misleading. Prefer symbol/section anchors (e.g., method names) so the spec stays valid over time.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md`
at line 21, The doc references exact source line numbers which will drift;
instead update the spec to point to stable symbols/anchors: mention the method
Biosaur2Algorithm().getDefaults(), the place where the combined Param object is
registered via registerFullParam_(combined), and the pattern used for tagging
(iterate defaults and call addTag(key, "advanced")), referencing the analogous
PeakPickerHiRes parameter block rather than line numbers so readers can find the
code by symbol names.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md`:
- Line 15: Change the task-level headings from third-level to second-level so
the document increments headings properly: replace "### Task 1: Register
Seeding:algorithm Parameter" with "## Task 1: Register Seeding:algorithm
Parameter" (and likewise update any other task headings currently using "###" to
"##" — e.g., the additional task headings called out in the review) to ensure
heading levels increase by one and satisfy MD001.

---

Nitpick comments:
In
`@docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md`:
- Line 21: The doc references exact source line numbers which will drift;
instead update the spec to point to stable symbols/anchors: mention the method
Biosaur2Algorithm().getDefaults(), the place where the combined Param object is
registered via registerFullParam_(combined), and the pattern used for tagging
(iterate defaults and call addTag(key, "advanced")), referencing the analogous
PeakPickerHiRes parameter block rather than line numbers so readers can find the
code by symbol names.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2cc6c84b-7034-4ad8-9f1c-e07adf78d6ee

📥 Commits

Reviewing files that changed from the base of the PR and between b806741 and 9f2c5f0.

📒 Files selected for processing (2)
  • docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md
  • docs/superpowers/specs/2026-03-24-biosaur2-seeding-in-proteomicslfq-design.md


---

### Task 1: Register Seeding:algorithm Parameter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix heading hierarchy to satisfy MD001.

Task headings jump from # to ###. Use ## for task sections (or add an intermediate ## heading) to keep heading levels incrementing by one.

Suggested markdown fix
-### Task 1: Register Seeding:algorithm Parameter
+## Task 1: Register Seeding:algorithm Parameter
...
-### Task 2: Register Seeding:Biosaur2 Parameter Subsection
+## Task 2: Register Seeding:Biosaur2 Parameter Subsection
...
-### Task 3: Implement Seed Generation Branch
+## Task 3: Implement Seed Generation Branch
...
-### Task 4: Verify Existing Tests Still Pass (Default Path)
+## Task 4: Verify Existing Tests Still Pass (Default Path)
...
-### Task 5: Add Biosaur2 Seeding Test
+## Task 5: Add Biosaur2 Seeding Test

Also applies to: 51-51, 100-100, 167-167, 188-188

🧰 Tools
🪛 markdownlint-cli2 (0.21.0)

[warning] 15-15: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/superpowers/plans/2026-03-24-biosaur2-seeding-in-proteomicslfq.md` at
line 15, Change the task-level headings from third-level to second-level so the
document increments headings properly: replace "### Task 1: Register
Seeding:algorithm Parameter" with "## Task 1: Register Seeding:algorithm
Parameter" (and likewise update any other task headings currently using "###" to
"##" — e.g., the additional task headings called out in the review) to ensure
heading levels increase by one and satisfy MD001.

@timosachsenberg
timosachsenberg merged commit d9c156c into develop Mar 24, 2026
36 checks passed
@timosachsenberg
timosachsenberg deleted the feature/biosaur2-seeding-proteomicslfq branch March 24, 2026 13:59
@coderabbitai coderabbitai Bot mentioned this pull request Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant