Scan your whole stack
From OX Research Newsroom
Are you using sigma-omics?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.2
sigma-omics was last scanned on 26 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.2 LATEST | 26 Nov 2026 | No rules fired |
Findings for v0.3.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
SIGMA identifies metabolic programmes around tissue interfaces. It combines spatial mass spectra, tissue coordinates and pathological or weak anchors to describe where signals change, how far they extend and how they vary along an interface. Matched spatial RNA can provide an auxiliary representation and cellular context.
Use Python 3.10 or later in a separate environment. Python 3.11 is recommended for
this release. The distribution is sigma-omics; the import name is sigma_spatial.
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install --prefer-binary "sigma-omics==0.3.2"
python -c "import sigma_spatial; print(sigma_spatial.__version__)"
On Windows, activate with .venv\Scripts\activate. To update an existing installation:
python -m pip install --upgrade --prefer-binary "sigma-omics==0.3.2"
python -m pip check
Restart the Python or notebook session after upgrading. PyTorch and PyTorch Geometric are installed as dependencies; CPU execution is sufficient. For CUDA, install the PyTorch build appropriate for your system before installing SIGMA.
distance_mode="continuous".d_signed and d_abs aliases
while preserving the old columns.NaN and record n_overlap.The original SIGMA model is unchanged. distance_mode="legacy" remains the default
for historical reproducibility. Select continuous distance explicitly for new analyses.
Prepare an AnnData object with MSI intensities in X, spatial coordinates in
obsm["spatial"], and anchors in obs["sigma_anchor"] (1: inside/tumour,
0: outside/non-tumour, NaN: unknown). The paired workflow also requires an aligned
RNA representation in obsm["X_harmony"], in the same spot order.
import scanpy as sc
from sigma_spatial import run_sigma
adata = sc.read_h5ad("sample.h5ad")
result = run_sigma(
adata,
anchor_key="sigma_anchor",
representation_key="X_harmony",
distance_mode="continuous",
random_state=0,
)
result.write_h5ad("sample_sigma.h5ad")
For explicitly anchored MSI-only data, use run_sigma_weak_anchor, which omits the
RNA loss. It accepts the same distance_mode option. Continuous distance requires
the unmodified probability-threshold mask (boundary_mode="legacy"); it is not
compatible with morphological mask cleanup.
An existing fitted probability field can be re-expressed without retraining:
from sigma_spatial import update_interface_coordinate
updated = update_interface_coordinate(result, copy=True)
updated.write_h5ad("sample_sigma_continuous.h5ad")
This uses obs["sigma_region_probability"] and preserves previous coordinate
columns under the _before_continuous suffix. It does not recalculate existing
ion rankings or programme memberships. Recompute downstream analyses before
interpreting results under the new coordinate.
from sigma_spatial import side_near_far_statistics
# program_scores maps programme names to arrays in the same spot order as updated.
statistics = side_near_far_statistics(
program_scores,
updated.obs["sigma_d_signed"].to_numpy(),
inside_mask=updated.obs["sigma_inside"].to_numpy(),
side_names={"negative": "Tumour", "positive": "Stroma"},
)
Negative distance denotes the inside, positive distance the outside. An exact zero
is a location, not a side label. If inside_mask is omitted, zero-distance positions
are excluded with a warning. Distances use the units of the supplied coordinates;
they are not automatically micrometres or spot spacings.
SIGMA stores the fitted tissue field, interface coordinate, ranked ions and
programme summaries in AnnData and downstream tables. The continuous contour is
stored in uns["sigma_coordinate"]["segments"]; sigma_boundary remains the
neighbour-based display mask. Raw data and manuscript fitting caches are not bundled.
Use independent measurements or specimens to validate biological interpretations. RNA used in fitting provides context rather than independent validation of the same model. A static signal's spatial extent is not a physical diffusion length or an invasion distance.
The source distribution includes docs/installation.md, docs/continuous_distance.md,
docs/output_schema.md, examples, regression tests and CHANGELOG.md for this release.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.