Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

SIGMA (sigma-omics)

SIGMA resolves pathological metabolic transitions with interface-aware spectral graph learning.

SIGMA is a Python framework for identifying pathological interfaces from spatial metabolomics. It combines tissue coordinates, metabolite intensities and pathology-derived or weak spatial anchors to recover continuous interface fields and boundary-associated metabolic programs.

Spatial transcriptomics is optional. When matched data are available, it can support auxiliary alignment and independent biological validation.

Install

pip install sigma-omics

The distribution is named sigma-omics; the Python package is sigma_spatial.

Inputs

SIGMA uses an AnnData object containing:

  • a spot-by-metabolite intensity matrix;
  • two-dimensional tissue coordinates;
  • tumor/non-tumor annotations, transferred pathology labels or weak spatial anchors;
  • an optional matched transcriptomic representation.

See the input format guide for supported keys and loading examples.

Quick start

import scanpy as sc
from sigma_spatial import run_analysis

adata = sc.read_h5ad("sample.h5ad")

result = run_analysis(
    adata,
    output_dir="results/sample",
    prefix="sample",
    workflow="auto",
    evidence={"same_section_pathology": True},
    report_level="standard",
    random_state=0,
)

print(result.workflow)
print(result.downstream.leading_program)

For an unfamiliar dataset, inspect its declared modalities first:

from sigma_spatial import inspect_input

inspect_input(adata).print_report()

The same standard report is available from the command line:

sigma-omics report sample.h5ad results/sample \
  --workflow auto \
  --same-section-pathology \
  --report-level standard \
  --seed 0

Outputs

SIGMA returns:

  • a continuous pathological-region probability field;
  • an inferred interface and signed-distance coordinate;
  • spatial metabolic programs and their distance profiles;
  • ranked interface-associated metabolites;
  • interface influence ranges and directional anisotropy;
  • optional matched-ST validation summaries.

Core fields are stored in AnnData; downstream tables and publication-quality figures are written to the selected output directory. See output schema for the complete list.

Supported workflows

SIGMA supports same-section pathology, joint SM+ST inference, transferred pathology and region-defined disease analyses. Spatial metabolomics remains the target modality in every workflow. An explicitly anchored SM-only workflow is also available for datasets without matched transcriptomics.

from sigma_spatial import run_sigma_weak_anchor

result = run_sigma_weak_anchor(
    adata,
    anchor_key="sigma_anchor",
    already_log=True,
    random_state=0,
)

Reproducibility

Every run records its workflow, parameters, matrix source, package version and random seed. Reference analyses can additionally use frozen rankings and program assignments to reproduce manuscript panels.

Detailed workflow rules, program selection and manuscript reproduction are documented in the workflow and reproducibility guide.

Scope

The package contains reusable SIGMA computation and standardized downstream reporting. Large reference datasets, manuscript simulations, benchmarks, GO enrichment and sample-specific interpretation remain in the analysis repository.

Metadata

Release files for sigma-omics 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for sigma-omics 0.3.1
File Size Uploaded Provenance Actions
sigma_omics-0.3.1.tar.gz 454.1 kB Without provenance Details for sigma_omics-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sigma-omics 0.3.1
File Interpreter ABI Platform Actions
sigma_omics-0.3.1-py3-none-any.whl Python 3 none any Details for sigma_omics-0.3.1-py3-none-any.whl

Total release size: 524.3 kB

Release files / sigma_omics-0.3.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL sigma_omics-0.3.1.tar.gz
Size 454.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c40c1ddfcd39b5b9068be5f66bf9cce771d6a56d55aec58d664c4326fc0ca368
BLAKE2b-256 checksum
How to use checksums
40329b3e127b28035ae04a04b123404991f45842e69c3106347c000e12423ede
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / sigma_omics-0.3.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL sigma_omics-0.3.1-py3-none-any.whl
Size 70.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25f1a49d8894b50156bf05ffc2aeefcf70104735be1ceadc129d6531b6d5f192
BLAKE2b-256 checksum
How to use checksums
ad3934528910ba97f17c7e0ac2d7fcecb1ea38785c7192b2ea80879d319b4e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Security for sigma-omics 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.2.1 2 files With provenance
  • Added 0.3.1 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page