Skip to content

igor 1.0.0: IGoR 1.4.0, patched so optimized builds stop segfaulting - #48

Merged
briney merged 2 commits into
mainfrom
igor
Nov 20, 2026
Merged

briney merged 2 commits into
mainfrom
igor

Conversation

@briney

@briney briney commented Nov 20, 2026

Copy link
Copy Markdown
Member

Adds tools/igor: IGoR 1.4.0 (the last release), built from the checksummed release archive on Debian bookworm, with its published human TRA/TRB/IGH/IGK/IGL and mouse TRB models in the image. CPU only, no network.

Why it is patched. As released, IGoR 1.4.0 segfaults when built by GCC 8 or later: Matrix::operator= in Utils.h has no return *this (upstream issue #62, PR #67, never merged), and optimized builds turn that into a crash during generation and inference. igor-1.4.0.patch adds that return; adds a second missing one in Deletion::has_effect_on (the build now uses -Werror=return-type, which flagged it); stops three FASTA and sequence readers from reading before the start of an empty line (an ASan heap overflow); and makes two changes 1.4.0 needs to compile on a current GCC. It changes no model or algorithm.

Test (results/igor/1.0.0.txt, podman, --network none, 48 s on two threads):

  • generates 200 TRB and 40 IGH sequences with seed 7, then reads them back as FASTA with a blank line among them
  • aligns and evaluates them: every sequence has Pgen > 0 under the model that generated it, and IGoR's best scenario names the V gene that generated it (200 of 200 and 40 of 40)
  • infers a TRB model in two iterations, then scores the reads and generates sequences under it
  • generates from every built-in model

For the reviewer: the patch is small enough to read in full. The skill documents that IGoR exits 0 and writes nothing when -set_wd does not exist. GPLv3: the license, the release archive, and the patch are in the image at /usr/local/share/igor/source.

🤖 Generated with Claude Code

briney and others added 2 commits November 20, 2026 10:27
…nd generation offline, built from the release with a patch for the missing return that crashed modern builds

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@briney
briney merged commit 6089a62 into main Nov 20, 2026
2 checks passed
@briney
briney deleted the igor branch November 20, 2026 18:37
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