docs: STAR-rs porting groundwork (attribution + conventions) - #106
Closed
BenjaminDEMAILLE wants to merge 2 commits into
Closed
docs: STAR-rs porting groundwork (attribution + conventions)#106BenjaminDEMAILLE wants to merge 2 commits into
BenjaminDEMAILLE wants to merge 2 commits into
Conversation
BenjaminDEMAILLE
force-pushed
the
bd/groundwork
branch
from
July 23, 2026 17:53
5fcd84b to
fa36ce6
Compare
2 tasks
CI's clippy advanced to 1.97 (new lints fail the `-D warnings` gate) and rustsec flagged several advisories in the dependency tree. Both block all PRs. Clippy: - src/index/suffix_array.rs: assert!(x == 0) -> assert_eq! (manual_assert_eq) - src/io/sam.rs, tests/alignment_features.rs: byte-slice literals -> byte strings, e.g. [b'S', b'M'] -> *b"SM" (byte_char_slices) - src/quant/transcriptome.rs: if-let/else-return-None -> `?` (question_mark) Security audit (Cargo.lock only, no manifest change): - memmap2 0.9.10 -> 0.9.11 (RUSTSEC-2026-0186, out-of-bounds pointer offset) - crossbeam-epoch 0.9.18 -> 0.9.20 (RUSTSEC-2026-0204, invalid pointer deref) - anyhow 1.0.102 -> 1.0.104 (RUSTSEC-2026-0190, unsound downcast_mut) No behavioural change. Unblocks CI for open and future PRs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add LICENSES/STAR_RS_LICENSE (STAR-rs MIT notice, Copyright (c) 2026 Benjamin Demaille) and note it in LICENSES/README.md, for attribution of modules ported from STAR-rs. STAR-rs is dual MIT-OR-Apache; ported code is taken under its MIT option, compatible with this repo's MIT license. Add docs-old/dev/porting-from-star-rs.md documenting the STAR-rs to rustar-aligner type/module mapping, the licensing and cellranger reference-only caveat, the determinism decision (adopt STAR-rs's thread-invariant, no-rand model), and how to validate ports against native STAR via the existing test/ harness with DIVERGENCES.md as the acceptance spec. This is the base of a series of themed, dependency-stacked PRs bringing the STAR-rs feature surface (WASP, clipping, signal tracks, genome transforms, STARlong, STARsolo, ...) into rustar-aligner. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
BenjaminDEMAILLE
force-pushed
the
bd/groundwork
branch
from
July 23, 2026 18:02
fa36ce6 to
242b770
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Groundwork for a series of themed, dependency-stacked PRs bringing the STAR-rs feature surface into rustar-aligner. This first PR adds no code paths, only attribution and conventions:
LICENSES/STAR_RS_LICENSE+ a note inLICENSES/README.md— the STAR-rs MIT notice (© 2026 Benjamin Demaille), for attribution of modules ported from STAR-rs. STAR-rs is dualMIT OR Apache-2.0; ported code is taken under its MIT option, compatible with this repo's MIT license.docs-old/dev/porting-from-star-rs.md— the STAR-rs → rustar-aligner type/module mapping, the cellranger reference-only caveat, the determinism decision (adopt STAR-rs's thread-invariant, no-randmodel; flagged for discussion), and how to validate ports against native STAR using the existingtest/harness with STAR-rs'sDIVERGENCES.mdas the acceptance spec.Why
STAR-rs is a clean-room Rust re-port of STAR 2.7.11b, validated byte-identical vs native STAR. rustar-aligner already covers SE/PE alignment, splice junctions, two-pass, chimeric, GeneCounts, TranscriptomeSAM and sorted BAM; STAR-rs additionally has STARsolo, STARlong, WASP, genome transforms, signal tracks, clipping, peOverlap, SuperTranscriptome, liftOver and more. This PR is the base of the stack that brings those over one theme at a time.
Next in the stack
vW/vA/vG,--varVCFfile,--waspOutputMode) — stacks on this PR.Notes
🤖 Generated with Claude Code