Skip to content

Add segger transcript assignment (CLI-based)#168

Merged
dariarom94 merged 2 commits into
mainfrom
segger_newtry
Jul 19, 2026
Merged

Add segger transcript assignment (CLI-based)#168
dariarom94 merged 2 commits into
mainfrom
segger_newtry

Conversation

@dariarom94

Copy link
Copy Markdown
Contributor

Rework the segger draft to run segger's end-to-end CLI (segger segment) instead of the Python API that was stuck on segger issue #126.

  • script.py: derive boundary prior from the provided segmentation, write a Xenium-layout dir (transcripts + cell/nucleus boundaries parquet), invoke segger segment, then map the per-transcript assignments back onto the transcripts and write the standard transcript_assignments output. Includes the multi-partition parquet transcript-transform index fix.
  • config.vsh.yaml: switch engine to nvcr.io/nvidia/pytorch base + dpeerlab/segger (the maintained fork with the CLI); expose n_epochs, prediction_expansion_ratio, prediction_mode arguments; gpu nextflow label.
  • run_test_segger_nebius.sh: Nebius test run on test resources, default method at every stage plus segger in the transcript-assignment stage.

Describe your changes

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

dariarom94 and others added 2 commits July 19, 2026 12:29
Rework the segger draft to run segger's end-to-end CLI (`segger segment`)
instead of the Python API that was stuck on segger issue #126.

- script.py: derive boundary prior from the provided segmentation, write a
  Xenium-layout dir (transcripts + cell/nucleus boundaries parquet), invoke
  `segger segment`, then map the per-transcript assignments back onto the
  transcripts and write the standard transcript_assignments output. Includes
  the multi-partition parquet transcript-transform index fix.
- config.vsh.yaml: switch engine to nvcr.io/nvidia/pytorch base + dpeerlab/segger
  (the maintained fork with the CLI); expose n_epochs, prediction_expansion_ratio,
  prediction_mode arguments; gpu nextflow label.
- run_test_segger_nebius.sh: Nebius test run on test resources, default method at
  every stage plus segger in the transcript-assignment stage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dariarom94
dariarom94 merged commit 49910a7 into main Jul 19, 2026
1 of 2 checks passed
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