Skip to content

Issues with Exporting to Xenium Explorer #134

@VikramGanesanjs

Description

@VikramGanesanjs

Hello,

I've segmented a Xenium sample with segger, and I am attempting to export it to Xenium explorer. I ran the following script, and downloaded the segger.xenium and segger.zarr.zip file.


df = pd.read_parquet(args.path_to_segger_parquet)
    df = df[df['segger_cell_id'] != "None"]
    df = df.sort_values("segger_cell_id")
    seg2explorer(
        seg_df=df,
        source_path=args.xenium_bundle,
        output_dir=args.write_path,
        cells_filename="segger",
        analysis_filename="segger",
        xenium_filename="segger.xenium",
        analysis_df=None,
        cell_id_columns="segger_cell_id",
        area_low=10,
        area_high=100,
    )

The segger.zarr.zip file fails to be read by Xenium explorer, and when opening it in Python, has the structure

  • cell_groups
    - '0'
    - indices
    - indptr

How can I export a segger.zarr.zip that matches the format of the Xenium cells.zarr.zip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions