Skip to content

fix(preseq): record status for unestimable libraries (rebased #183) - #215

Open
rhassaine wants to merge 4 commits into
seqeralabs:mainfrom
rhassaine:fix/preseq-unestimable-status
Open

rhassaine wants to merge 4 commits into
seqeralabs:mainfrom
rhassaine:fix/preseq-unestimable-status

Conversation

@rhassaine

Copy link
Copy Markdown
Contributor

Nico's #183 rebased onto current main (post-noodles): his commits are unchanged, minus the Cargo.lock bump (main already has newer crossbeam-epoch/libz-sys).

Two test commits on top:

  • the fixtures now use rna::bam's writer instead of rust-htslib (imports and one header value)
  • each fixture gets its own directory: they were named by timestamp, and on macOS two parallel tests could get the same one and overwrite each other's BAM (about half of local runs failed with UnexpectedEof)

When preseq can't estimate, RustQC now writes <sample>.preseq_skipped.txt (STATUS/REASON) instead of nothing, so the nf-core rustqc module's required preseq/* output is there.

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

Supersedes #183.

🤖 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). The writer in
rna::bam keeps the same API, so only the imports and one header value change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests run in parallel and macOS timestamps only have microsecond resolution,
so two fixtures could share a directory and overwrite each other's BAM
(about half of local runs failed with UnexpectedEof while indexing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ewels ewels added this to the v0.3 milestone Dec 3, 2026

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