Skip to content

feat: --outMultimapperOrder; deterministic default primary selection - #111

Merged
Psy-Fer merged 2 commits into
mainfrom
fix/multimapper-primary-selection
Jul 24, 2026
Merged

feat: --outMultimapperOrder; deterministic default primary selection#111
Psy-Fer merged 2 commits into
mainfrom
fix/multimapper-primary-selection

Conversation

@Psy-Fer

@Psy-Fer Psy-Fer commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

STAR's default (--outMultimapperOrder Old_2.4) does not use the RNG for primary selection among equal-scoring multimappers. rustar-aligner was unconditionally shuffling the tied top-score prefix, randomising the primary and diverging from STAR. Add --outMultimapperOrder {Old_2.4|Random} (default Old_2.4) and gate the shuffle behind Random, matching STAR. Dedup now preserves discovery order (removes dead cmp_cigar).

Yeast 10k raw exact matches vs STAR: SE 8606->8789, PE 16278->16575 (+480); no regression. 455 tests pass

STAR's default (--outMultimapperOrder Old_2.4) does not use the RNG for
primary selection among equal-scoring multimappers. rustar-aligner was
unconditionally shuffling the tied top-score prefix, randomising the
primary and diverging from STAR. Add --outMultimapperOrder
{Old_2.4|Random} (default Old_2.4) and gate the shuffle behind Random,
matching STAR. Dedup now preserves discovery order (removes dead
cmp_cigar).

Yeast 10k raw exact matches vs STAR: SE 8606->8789, PE 16278->16575
(+480); no regression. 455 tests pass
@Psy-Fer Psy-Fer self-assigned this Jul 24, 2026
@Psy-Fer
Psy-Fer enabled auto-merge (squash) July 24, 2026 04:46
@Psy-Fer
Psy-Fer merged commit fc5ec7f into main Jul 24, 2026
10 checks passed
@Psy-Fer
Psy-Fer deleted the fix/multimapper-primary-selection branch July 24, 2026 04:50
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