Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sigma-omics

Latest version: v0.3.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: Bingxue
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

sigma-omics was last scanned on 26 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 26 Nov 2026.
  • Findings: No rules fired in version 0.3.2.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.2 LATEST 26 Nov 2026 No rules fired

No rules fired in 0.3.2

Findings

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.

README

The publisher’s own README, as collected from the registry.

SIGMA · Spatial interface metabolic programmes

PyPI

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.

Installation

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.

What changed in 0.3.2

  • Continuous distance to an interpolated interface is available through distance_mode="continuous".
  • Zero-distance positions retain their explicitly recorded tissue side.
  • Upgrading a saved coordinate also updates existing d_signed and d_abs aliases while preserving the old columns.
  • Tied near/far thresholds no longer test overlapping groups. Unavailable programme comparisons return 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.

Quick start

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.

Upgrade an existing coordinate

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.

Side-specific near/far comparisons

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.

Outputs and interpretation

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.

Documentation and source

The source distribution includes docs/installation.md, docs/continuous_distance.md, docs/output_schema.md, examples, regression tests and CHANGELOG.md for this release.

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases sigma-omics

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229