Skip to content

fix(rseqc): honor explicit infer-experiment sampling limits (rebased #184) - #216

Open
rhassaine wants to merge 4 commits into
seqeralabs:mainfrom
rhassaine:fix/infer-experiment-sample-size
Open

rhassaine wants to merge 4 commits into
seqeralabs:mainfrom
rhassaine:fix/infer-experiment-sample-size

Conversation

@rhassaine

Copy link
Copy Markdown
Contributor

Nico's #184 rebased onto current main (post-noodles): his commits are unchanged, minus the Cargo.lock bump (main already has newer versions).

One test commit on top: the BAM fixtures use rna::bam's writer, and the CRAM fixture is written and indexed with noodles. The noodles writer puts both contigs in one multi-reference slice, and cram::fs::index decodes those without a reference (and panics), so the test builds the .crai with the reference.

Default behaviour is unchanged (all reads); only an explicit --infer-experiment-sample-size or YAML sample_size now takes effect, with an extra pass over the reads.

The tests fail on main's code (7/7) and pass with the fix; full suite, fmt and clippy are green locally.

Supersedes #184.

🤖 Generated with Claude Code

NicoDeVeaux and others added 4 commits December 3, 2026 15:16
rust-htslib is gone since the noodles migration (seqeralabs#118). BAM fixtures use the
writer in rna::bam. The CRAM fixture is written with noodles, which puts both
contigs in one multi-reference slice; noodles' own indexer can't decode that
without a reference, so the test builds the .crai with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

3 participants