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¶
- Overview:
run_togetherruns ingest → FICTURE → cell analyses → packaging → images → (optional) annotation and upload, for one sample or many. - Specifying Inputs: Single-sample CLI, multi-sample sheet, and full JSON config.
- Image Modalities: Declaring morphology and histology images to package.
- Platforms (Overview & Status): Built-in platform profiles and their status.
- 10x Xenium, 10x Visium HD, CosMx SMI, MERSCOPE, Illumina StrataMap, BGI Stereo-seq, Seq-Scope, Generic: Expected inputs and example commands per platform.
Individual Commands¶
SGE Preparation¶
- SGE Format Conversion:
sge_convertstandardizes raw platform outputs into the unified SGE format, with optional visualization and density filtering. - CosMx Reformatting:
reformat_cosmxturns a CosMx SMI flat-file export into transcript, cell, and boundary inputs. - SGE Stitching:
sge_stitchstitches two or more SGE tiles into one. - SGE Reorientation:
sge_orientaterotates and flips an SGE.
Analysis¶
- FICTURE Analysis:
run_ficture2trains spatial factors and decodes pixels for one sample. - Multi-Sample FICTURE Analysis:
run_ficture2_multitrains joint factors across samples and decodes each sample. - Multi-Sample Cell Analysis:
run_ficture2_multi_cellsdecodes cell analyses with the joint model. - Feature Customization: Filtering features by list, substring, regex, or type at each stage.
Packaging¶
- Asset Packaging:
run_cartload2packages SGE and FICTURE outputs into PMTiles and acatalog.yaml. - Multi-Sample Asset Packaging:
run_cartload2_multipackages each sample of a joint run plus a sharedmulti-catalog.yaml. - Background Image Import:
import_imageconverts an image into a georeferenced PMTiles layer and registers it in the catalog. - Cell Analysis Import:
import_xenium_cellandimport_visiumhd_cellimport platform cell analyses as PMTiles layers. - Square Analysis Import:
import_visiumhd_squareimports Visium HD square-bin analyses as PMTiles layers.
Upload¶
- AWS Upload:
upload_awsuploads catalog-listed files to an S3 path. - Zenodo Upload:
upload_zenodouploads to a new or existing Zenodo deposition.
AI Annotation¶
- Annotate CartLoad Folder:
anno_cartload_folderAI-annotates every factor in a catalog and records the alias files. - Annotate Factors with an LLM:
annotate_factors_with_llmlabels all factors of a model in one LLM call and writes an interactive report.
Legacy Orchestrators¶
- Overview: Status of the legacy platform orchestrators, what
run_togetherreplaces, and known issues. - run_xenium:
run_xenium, the legacy single-sample Xenium orchestrator. - Xenium Add-ons:
load_xenium_rangerwrites a JSON manifest of Xenium Ranger outputs. - run_visiumhd:
run_visiumhd, the legacy single-sample Visium HD orchestrator. - Visium HD Add-ons:
load_space_rangerwrites a JSON manifest of Space Ranger outputs.