Skip to content

Add tests: bamCoverage RPKM/scaleFactor, alignmentSieve fragment/strand filters#1434

Merged
adRn-s merged 1 commit into
4.0.0from
add-coverage-tests
Jul 9, 2026
Merged

Add tests: bamCoverage RPKM/scaleFactor, alignmentSieve fragment/strand filters#1434
adRn-s merged 1 commit into
4.0.0from
add-coverage-tests

Conversation

@adRn-s

@adRn-s adRn-s commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Fills coverage gaps surfaced while triaging the stalled #1369 tests (the direct-Rust-binding versions couldn't be salvaged, but two of their ideas covered untested paths).

bamCoverage (test_bamCoverage_and_bamCompare.py)

  • --normalizeUsing RPKM — RPKM was untested; the suite only covered CPM and RPGC.
  • --scaleFactor — manual scale factor (also documents that it takes precedence over --normalizeUsing).

alignmentSieve (test_alignmentseive.py)

  • --minFragmentLength / --maxFragmentLength — fragment-size selection was untested.
  • --filterRNAstrand forward — not exercised anywhere in the suite.

Expected values were derived by running the current tools; assertions use the existing filterMetrics/bedgraph style. Verified locally: pixi run pytest on both files → 26 passed (22 existing + 4 new).

🤖 Generated with Claude Code

…t/strand filtering

Fills coverage gaps identified while triaging the stalled #1369 tests:
- bamCoverage: --normalizeUsing RPKM (RPKM was untested; suite only had
  CPM/RPGC) and --scaleFactor.
- alignmentSieve: --minFragmentLength/--maxFragmentLength and
  --filterRNAstrand (neither was tested anywhere).

Expected values derived by running the current tools; all pass under
`pixi run pytest`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@adRn-s adRn-s merged commit ed84627 into 4.0.0 Jul 9, 2026
41 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