Add EU numbering for human IgG CH Chain Analysis - #5
Merged
Conversation
Show Edelman/EU indices above the raw ruler in CH Chain Analysis after isotype determination, using IMGT Hu_IGHGnber maps that differ by IGHG1–4 hinge and the IgG2 CH2 deletion. Cover maps and therapeutics (trastuzumab, pembrolizumab, nivolumab, panitumumab, rituximab, adalimumab, b12) with provenance-backed tests. Co-authored-by: Derek Croote <dcroote@users.noreply.github.com>
Drop the IMGT link, bolding, and Edelman/EU definition from the constant-region feature bullet. Co-authored-by: Derek Croote <dcroote@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
dcroote
added a commit
that referenced
this pull request
Jul 11, 2026
* Add EU numbering row for human IgG CH alignments Show Edelman/EU indices above the raw ruler in CH Chain Analysis after isotype determination, using IMGT Hu_IGHGnber maps that differ by IGHG1–4 hinge and the IgG2 CH2 deletion. Cover maps and therapeutics (trastuzumab, pembrolizumab, nivolumab, panitumumab, rituximab, adalimumab, b12) with provenance-backed tests. Co-authored-by: Derek Croote <dcroote@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
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.
Summary
Adds an EU numbering row above the raw residue ruler in CH Chain Analysis when the constant region is human IgG (IGHG1–4). Numbering is applied only after isotype determination, using isotype-specific Edelman/EU maps from the IMGT Hu_IGHGnber correspondence table.
Behavior
EU:ruler (decades, same right-align style as the raw ruler) above the existing 1-based alignment rulerAPI
LAMBS.getHumanIgGEuNumbers(isotype)LAMBS.mapEuOntoConstantAlignment(aligned2, species, isotype)Tests
Provenance-backed coverage against real therapeutics and structures:
node test.js: 779 passed, 0 failed