CryoCodex-Enhance plugin for Scipion
A Scipion plugin for CryoCodex: density-map enhancement, local quality estimation and molecular mask prediction. Supports CryoCodex v1.0.0.
Installation
Requires Linux, Scipion 3 (scipion-em >= 3.8), Conda, wget and an NVIDIA GPU
with a CUDA-compatible driver. The installer creates a separate Python 3.11
environment and downloads the model automatically.
Install from a downloaded plugin directory:
scipion3 installp -p /path/to/scipion-em-cryocodex --devel
The plugin is not yet published to PyPI. To install the backend separately:
scipion3 installb cryocodex-1.0.0
Configuration
Defaults work after automatic installation. To use existing software or a model,
set absolute paths in the [PLUGINS] section of scipion.conf:
| Variable | Default / purpose |
|---|---|
CRYOCODEX_HOME |
Scipion's software/em/cryocodex-1.0.0; contains predict.py |
CRYOCODEX_PYTHON |
CRYOCODEX_HOME/conda-env/bin/python; Python 3.11 with CryoCodex dependencies |
CRYOCODEX_MODEL |
CRYOCODEX_HOME/model_state_dicts/CryoCodex.pth |
CRYOCODEX_CONDA_EXE |
CONDA_EXE or Conda on PATH; used for automatic installation |
[PLUGINS]
CRYOCODEX_HOME = /path/to/CryoCodex
CRYOCODEX_PYTHON = /path/to/cryocodex-env/bin/python
CRYOCODEX_MODEL = /path/to/CryoCodex.pth
CRYOCODEX_CONDA_EXE = /path/to/miniconda3/bin/conda
For an existing CryoCodex v1.0.0 installation, add --noBin to the plugin
installation command. These settings are optional, not per-run parameters.
Verifying
Check plugin integration without a GPU or model:
scipion3 test cryocodex.tests.test_protocol.TestCryoCodexIntegration
Test actual inference after backend installation, on a GPU node:
CRYOCODEX_TEST_GPU=1 scipion3 test cryocodex.tests.test_protocol.TestCryoCodexGPU
Optionally set CRYOCODEX_TEST_MAP=/path/to/map.mrc and
CRYOCODEX_TEST_GPU_ID=0 to choose your input and GPU.
Protocol
3D → Postprocess → CryoCodex-Enhance
Import a volume, select it in the protocol, choose settings and click Execute. Fast mode removes background; Check crop opens the interactive crop editor. Enable Restore full map extent and Return to input voxel size to restore background and native sampling. Results and ChimeraX coloring instructions appear in Summary.
Reference
Cheng B, Su B, Yang J. CryoCodex: learning discrete structural representations for cryo-EM map post-processing. bioRxiv (2026). doi:10.64898/2026.09.30.755675.
Coordinate handling (0.3.1)
Plugin-level origin correction is temporarily disabled. The Origin source option
is removed; prepared inputs retain the file origin and axis-mapped start indices.
Outputs retain backend file headers, without explicitly setting the Scipion Volume
origin. Sampling, cropping and resampling remain enabled. Previous crop
confirmations must be reviewed again. The correction code is retained as comments
in convert.py and protocols/protocol_enhance.py for future re-enabling.
Metadata
Release files for scipion-em-cryocodex 0.3.1
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 |
|---|---|---|---|---|
| scipion_em_cryocodex-0.3.1.tar.gz | 29.7 kB | Without provenance | Details for scipion_em_cryocodex-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scipion_em_cryocodex-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for scipion_em_cryocodex-0.3.1-py3-none-any.whl |
Total release size: 64.5 kB
Release files / scipion_em_cryocodex-0.3.1.tar.gz
| Download URL | scipion_em_cryocodex-0.3.1.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ac70a922b7cd44732fd788d77e8b83b8785bc47e9e4ca3e9f718d98b5f7b47e
|
|
BLAKE2b-256 checksum How to use checksums |
bc2fe7848ce9e7fa2fb0397fd44963793d5221edfbf29f940c4521d5d5774fa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / scipion_em_cryocodex-0.3.1-py3-none-any.whl
| Download URL | scipion_em_cryocodex-0.3.1-py3-none-any.whl |
|---|---|
| Size | 34.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd92de3784f081c27d06d8288fa10d7730d258d61b9a91e53170348eaf4c7586
|
|
BLAKE2b-256 checksum How to use checksums |
81c8bcb74d4c182fb72e467d6bac47c21420baa4c49acff707dfd8ac47842af0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for scipion-em-cryocodex 0.3.1
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.