Skip to content

fix(IlluminaRunFolder): strip A/B side prefix from flowcell segment#82

Merged
simbig merged 1 commit intomasterfrom
fix-illumina-flowcell-side-prefix
Mar 12, 2026
Merged

fix(IlluminaRunFolder): strip A/B side prefix from flowcell segment#82
simbig merged 1 commit intomasterfrom
fix-illumina-flowcell-side-prefix

Conversation

@simbig
Copy link
Copy Markdown
Contributor

@simbig simbig commented Mar 12, 2026

Summary

  • The previous regex /\d*-?([A-Z].+)$/ kept the A/B side prefix intact (e.g. ASC2139476-SC3 instead of SC2139476-SC3), causing flowcell lookups in nemo to fail
  • Split into two explicit patterns: zero-prefixed (MiSeq: 000000000-XXXXX → XXXXX) and side-prefixed (iSeq/NextSeq/NovaSeq: [AB]XXXXX → XXXXX)
  • Added Illumina documentation references for run folder naming conventions

Test plan

  • Verify existing tests pass for MiSeq zero-prefixed flowcell IDs
  • Verify new test cases for A/B side-prefixed flowcell IDs (iSeq, NextSeq, NovaSeq)
  • Confirm flowcell lookup in nemo resolves correctly with stripped prefix

🤖 Generated with Claude Code

The previous regex `/\d*-?([A-Z].+)$/` captured from the first uppercase
letter, which kept the A/B side prefix intact (e.g. ASC2139476-SC3 instead
of SC2139476-SC3). This caused flowcell lookups in nemo to fail.

Split into two explicit patterns:
- Zero-prefixed (MiSeq): 000000000-XXXXX → XXXXX
- Side-prefixed (iSeq, NextSeq, NovaSeq): [AB]XXXXX → XXXXX

Added Illumina documentation references for run folder naming conventions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simbig simbig requested a review from KingKong1213 March 12, 2026 12:49
@simbig simbig merged commit ce8bbaf into master Mar 12, 2026
32 checks passed
@simbig simbig deleted the fix-illumina-flowcell-side-prefix branch March 12, 2026 13:03
github-actions bot pushed a commit that referenced this pull request Mar 12, 2026
## [6.6.1](v6.6.0...v6.6.1) (2026-03-12)

### Bug Fixes

* **IlluminaRunFolder:** strip A/B side prefix from flowcell segment ([#82](#82)) ([ce8bbaf](ce8bbaf))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 6.6.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants