Skip to main content

py-MuSiC

Review-stage Python reconstruction of a subset of MuSiC, following the discovery, preregistration and reference-validation workflow in omicverse-rebuildr.

Reference construction and default weighted-NNLS music_prop path. No ct.cov=TRUE, centered/normalized variants, recursive tree decomposition or MuSiC2.

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/xuranw/MuSiC.git ../MuSiC-ref
git -C ../MuSiC-ref checkout f21fe67f5670d5e9fca0ad7550abaae3423eb59c
Rscript tests/reference.R ../MuSiC-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

4 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 MuSiC at f21fe67f5670d5e9fca0ad7550abaae3423eb59c; see ATTRIBUTION.md for upstream authors and package citation context, and LICENSE for terms.

Distribution preparation

The intended PyPI distribution is py-music-omicverse; the import remains pymusic_deconv. 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-music-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)

Source distribution for py-music-omicverse 0.1.0
File Size Uploaded Provenance Actions
py_music_omicverse-0.1.0.tar.gz 75.6 kB With provenance Details for py_music_omicverse-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-music-omicverse 0.1.0
File Interpreter ABI Platform Actions
py_music_omicverse-0.1.0-py3-none-any.whl Python 3 none any Details for py_music_omicverse-0.1.0-py3-none-any.whl

Total release size: 106.8 kB

Release files / py_music_omicverse-0.1.0.tar.gz

Download URL py_music_omicverse-0.1.0.tar.gz
Size 75.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d01bad2c26312c3101f18fc21ebf644337798aa23032d60196d25c3e1e7ded42
BLAKE2b-256 checksum
How to use checksums
8757590255f7e112f9cdf7a8fc94f745bc9c35a0213cd0fabba407e7355ab098
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 log

Release files / py_music_omicverse-0.1.0-py3-none-any.whl

Download URL py_music_omicverse-0.1.0-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad0858a01d99ff7ea5e158bd2b3e49ed2213b460613d54ab2cc1ceb2da797922
BLAKE2b-256 checksum
How to use checksums
08b242522dbe232866b92a07271940f522fdb22d2262ddd8f797def916c1e220
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 log

Security for py-music-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.

Select from 2 files

Attestation for py_music_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 log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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