Skip to content

Save segger segmentation as a SOPA-compatible SpatialData object #67

Description

@Tobiaspk

Add support for a SOPA-compatible Segger output. Multiple PRs try to tackle that, but no agreed-upon integration and output format yet.

Proposal based on a discussion with @EliHei2

Outputs: SpatialData object, containing

  • Shapes: Cell Masks
  • Points: Transcript
  • Table: Anndata (reuse existing scripts)

Integration: Implement a new segger export interface with parameters

  • Input: Path to seggers output folder
  • Output: Defaults to input path
  • Overwrite: Default false

Open questions

  • Cell mask method: delauney, delauney + smoothing or convex_hull? (after chatting with Eli, I err on side of delauney + minimal smoothing
  • Transcript: Should SpatialData include all, or only segmented transcripts?
  • Are images required? Or can we skip in first iteration?
  • Which other parameters are needed? Let's keep it minimal.
  • Do we need to transform coordinate systems?
  • Which (segger) metadata should be included? (segger version)
  • Are you able to install SpatialData into the Segger environment? Or should this live in a lightweight segger-io package?

Eli, could you also share the segmentation masks that you generated? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions