py-muscat
Review-stage Python reconstruction of a subset of muscat, following the discovery, preregistration and reference-validation workflow in omicverse-rebuildr.
Sum pseudobulks and explicit-design/contrast pbDS with edgeR or limma-voom. No mixed models, limma-trend, treat, DESeq2, simulation framework or automatic design inference.
Install and test
This project has not been published on PyPI. From this checkout:
python -m pip install ".[test]"
python -m pytest -q
Usage and function map
See the executed tutorial, R-to-Python parameter dictionary, and complete upstream export audit. Inputs, orientations and unsupported modes are documented in function docstrings. No R process is used at runtime.
Reproduce the R oracle
git clone https://github.com/HelenaLC/muscat.git ../muscat-ref
git -C ../muscat-ref checkout 861683175a1804430ced420397e72fff16fe92ed
Rscript tests/reference.R ../muscat-ref
python -m pytest -q
The runner sources the pinned upstream functions, not a rewritten R approximation. RUVSeq S4 registration is intercepted to execute only matrix methods. SPARK sparse sum/mean helpers are supplied by Matrix, with unchanged statistical functions. MuSiC and muscat functions are sourced with their R dependencies loaded. muscat's source declares R >=4.6; this selected function subset was executed on R 4.5.2, not installed as the full package.
muscat's public fixture additionally uses Rscript tests/public_reference.R ../muscat-ref.
All other primary fixtures are synthetic and do not establish biological accuracy. Numerical gates were committed before implementation and have not been widened.
Validation and limitations
6 focused tests passed locally without skips. See reconstruction report for scope and remaining release checks. This is fixture-level equivalence, not full-domain or full-package equivalence. Runtime objects and failure messages are Python-native.
Citation and license
Upstream muscat at 861683175a1804430ced420397e72fff16fe92ed; see ATTRIBUTION.md for upstream authors and package citation context, and LICENSE for terms.
Distribution preparation
The intended PyPI distribution is py-muscat-omicverse; the import remains pymuscat. See release preparation for installed-wheel validation and the manual Trusted Publishing procedure. This preparation does not mean a PyPI release is available.
Metadata
Release files for py-muscat-omicverse 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_muscat_omicverse-0.1.0.tar.gz | 271.3 kB | With provenance | Details for py_muscat_omicverse-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_muscat_omicverse-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for py_muscat_omicverse-0.1.0-py3-none-any.whl |
Total release size: 303.4 kB
Release files / py_muscat_omicverse-0.1.0.tar.gz
| Download URL | py_muscat_omicverse-0.1.0.tar.gz |
|---|---|
| Size | 271.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9af171386dc49ae7e8ac69f262503a7c00707109c5603055880a08dfd9c2687a
|
|
BLAKE2b-256 checksum How to use checksums |
3e5045ed4cd16e14af5759dcaee72ee3794dd31ab6ca473b0ebf917a4a0fb9c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / py_muscat_omicverse-0.1.0-py3-none-any.whl
| Download URL | py_muscat_omicverse-0.1.0-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1bacd5bad88ccf1a0a3bc98654d48ab0dd4cf172964cd6111fa35bbca2bb9ad
|
|
BLAKE2b-256 checksum How to use checksums |
442fce55a3d88d5162b3d52c754aef9d0612497d505205d5c5242675d38e850e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for py-muscat-omicverse 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for py_muscat_omicverse-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA 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.