Open
Conversation
Features:
- ISTDataModule: Add alignment_loss, scrna_reference_path parameters
- setup_heterodata: Generate ('tx', 'attracts', 'tx') edges with ME gene labels
- LitISTEncoder: Updated check for alignment edges in batch
- Writer: Post-hoc tx-tx similarity computation for fragment mode
New modules:
- models/alignment_loss.py: Vectorized ME gene constraint loss
- validation/me_genes.py: ME gene discovery from scRNA-seq reference
- prediction/fragment.py: GPU/CPU connected components for unassigned transcripts
Tests:
- test_alignment_loss.py: Unit tests + vectorized vs loop correctness
- test_alignment_loss_integration.py: ME gene discovery integration
- test_fragment_mode.py: Connected components tests
- test_prediction_graph.py: Scale factor shrink/expand tests
- test_xenium_export.py: Xenium Explorer format validation
Documentation:
- CLAUDE.md: Updated with completed features and test coverage
- tests/README.md: Test running instructions
- Docstrings for all TODO methods
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Closed
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.
this PR introduces three major CLI workflows and hardens inference/export reliability.
New CLI features:
segger predict: checkpoint-only inference with strict checkpoint/data compatibility validation (segger_vocab, segger_me_gene_pairs, n_genes).segger export: unified multi-format export (xenium_explorer|merged|spatialdata|anndata) with raw|spatialdata input resolution and boundary strategy controls.segger plot: metrics visualization from Lightning logs (--quickterminal mode or PNG output).New capabilities:
Stability/performance changes: