Skip to content

Dev - #44

Merged
ypriverol merged 2 commits into
mainfrom
dev
Oct 7, 2026
Merged

Dev#44
ypriverol merged 2 commits into
mainfrom
dev

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

No description provided.

Five PAD datasets show 0 proteins on PRIDE because proteins-above-lod
returned an empty list. Causes, from the deposited files:

- Olink exports with both LODNPX and LOD (count-based) were compared with
  LOD: no NPX ever exceeded it (PAD000037). The reader now uses LODNPX.
- hand-rearranged NPX files with shifted columns put text in NPX/LOD and
  the LOD comparison raised (PAD000024). NPX/LOD/LODNPX are coerced to
  numbers; broken rows become NaN.
- table-only ADATs without ^HEADER/^COL_DATA markers were rejected
  (PAD000045 v4.0 file). They are parsed as a TABLE_BEGIN body.
- SomaScan ADATs with study samples only (no buffers) have no LOD source
  (PAD000003, PAD000011, PAD000045 1.3k file). All measured protein
  reagents (Type == "Protein") are returned with a warning; Olink without
  any LOD still returns none.

Counting also now uses the report's LOD resolver (moved to
processing.lod.resolve_lod_with_source; SomaScan uses eLOD, not NCLOD on
buffers) and only study samples, so controls below LOD no longer lower
the per-assay share (PAD000002 1858 -> 1943, PAD000004 149 -> 186).
Fix zero protein counts on PRIDE (proteins-above-lod)
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dba96d4a-3248-413d-89f8-bfcc3856d1b0
📥 Commits

Reviewing files that changed from the base of the PR and between 107fc83 and 06f5f81.

📒 Files selected for processing (5)
  • src/pyprideap/io/readers/olink_csv.py
  • src/pyprideap/io/readers/somascan_adat.py
  • src/pyprideap/processing/lod.py
  • src/pyprideap/viz/qc/compute.py
  • tests/test_qc_pipeline.py
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@ypriverol
ypriverol merged commit 48cec13 into main Oct 7, 2026
13 checks passed
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