Skip to content

Reference Overview

This section documents the CartLoader CLI. Start with run_together, the recommended end-to-end workflow; the individual commands it runs are documented below for step-by-step or custom use.

run_together

Individual Commands

SGE Preparation

  • SGE Format Conversion: sge_convert standardizes raw platform outputs into the unified SGE format, with optional visualization and density filtering.
  • CosMx Reformatting: reformat_cosmx turns a CosMx SMI flat-file export into transcript, cell, and boundary inputs.
  • SGE Stitching: sge_stitch stitches two or more SGE tiles into one.
  • SGE Reorientation: sge_orientate rotates and flips an SGE.

Analysis

Packaging

  • Asset Packaging: run_cartload2 packages SGE and FICTURE outputs into PMTiles and a catalog.yaml.
  • Multi-Sample Asset Packaging: run_cartload2_multi packages each sample of a joint run plus a shared multi-catalog.yaml.
  • Background Image Import: import_image converts an image into a georeferenced PMTiles layer and registers it in the catalog.
  • Cell Analysis Import: import_xenium_cell and import_visiumhd_cell import platform cell analyses as PMTiles layers.
  • Square Analysis Import: import_visiumhd_square imports Visium HD square-bin analyses as PMTiles layers.

Upload

  • AWS Upload: upload_aws uploads catalog-listed files to an S3 path.
  • Zenodo Upload: upload_zenodo uploads to a new or existing Zenodo deposition.

AI Annotation

Legacy Orchestrators

  • Overview: Status of the legacy platform orchestrators, what run_together replaces, and known issues.
  • run_xenium: run_xenium, the legacy single-sample Xenium orchestrator.
  • Xenium Add-ons: load_xenium_ranger writes a JSON manifest of Xenium Ranger outputs.
  • run_visiumhd: run_visiumhd, the legacy single-sample Visium HD orchestrator.
  • Visium HD Add-ons: load_space_ranger writes a JSON manifest of Space Ranger outputs.