Milab 6848 fix sc tcr chain labels - #24
Open
mchernys wants to merge 4 commits into
Open
Conversation
mchernys
force-pushed
the
MILAB-6848_fix-sc-tcr-chain-labels
branch
from
September 1, 2026 11:10
924b001 to
0cb7124
Compare
Author
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.
Greptile Summary
The PR corrects TCR chain labels to follow MiXCR’s diversity-first slot convention, derives missing bulk chain slots from locus metadata, and orders displayed TCR columns by spoken receptor naming. It also adds focused Tengo coverage and updates documentation and release metadata.
A/Bidentity stored inpl7.app/vdj/scClonotypeChain. The change defines slot A as the D-recombining chain—heavy, beta, or delta—and derives the slot from bulk locus metadata when the explicit domain is absent.TCRAlpha,TCRBeta,IGHeavy, orIGLight. A newchainToSlotmapping translates supported bulk loci into their corresponding chain slots.IG,TCRAB, orTCRGD) used to interpret slots. Its label mapping now renders TCRAB A/B as beta/alpha and TCRGD A/B as delta/gamma.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR A[Input VDJ metadata] --> B{Explicit scClonotypeChain?} B -->|Yes| C[Use A or B slot] B -->|No, bulk input| D[Read concrete locus] D --> E[Map locus to A or B] C --> F[Resolve receptor-specific label] E --> F F --> G[CDR3 and VDJRegion columns] F --> H[Coverage messages] G --> I[Table ordered by spoken chain naming] G --> J[Charts default to slot A]Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile
Context used (4)