nuclear_shape
A small Python library for analysing nuclear shape from 3D‑genome models (Chrom3D .cmm files).
Includes ellipsoid fitting, PCA, basic shape metrics, and simple plotting/rendering.
Installation
pip install nuclear_shape
Basic Usage
from nuclear_shape import NuclearShape
shape = NuclearShape("path/to/file.cmm")
shape.ellipsoid_fit()
shape.ellipsoid_inner()
shape.ellipsoid_outer()
shape.compute_pca()
shape.print_metrics()
shape.plot("sphericity", show=True)
shape.render("ellipsoid", show=True)
Example Data
An example .cmm file and a test script are included:
test/example_real_data_0.cmm
python test/test.py
License
MIT License
Metadata
Release files for nuclear-shape 0.1.3
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 |
|---|---|---|---|---|
| nuclear_shape-0.1.3.tar.gz | 8.2 kB | Without provenance | Details for nuclear_shape-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nuclear_shape-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for nuclear_shape-0.1.3-py3-none-any.whl |
Total release size: 17.4 kB
Release files / nuclear_shape-0.1.3.tar.gz
| Download URL | nuclear_shape-0.1.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
605c83775fe36b618f39bc445a668f9bc1f660dff4035f824ad4e2926e6ae37b
|
|
BLAKE2b-256 checksum How to use checksums |
dc2265900c6d73e498ed98289445eeeda3f796b94b2c698d87d1533b46442616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / nuclear_shape-0.1.3-py3-none-any.whl
| Download URL | nuclear_shape-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4ca51bbf1885dd4b51d2d9828f9a59b2d95bf1893a47d7b5f84381264b50b4a
|
|
BLAKE2b-256 checksum How to use checksums |
1fb699f579d48fc33e20c250bf100d4a5dcfba7055afa276eb1e9ef98e917e1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for nuclear-shape 0.1.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.