Skip to main content

Voxelium - a powerful tool for volumetric CryoEM processing.

Project description

Voxelium Alpha Testing

This repository currently contains the alpha version of the Voxelium library.

Installation

After you've cloned the repo and cd into the project directory you first need to set up the proper Conda environment. Use the environment.yml file to create a new environment called 'voxelium' with the right module installed, by running:

conda env create -f environment.yml

Visualization-Only Installation

If you only need to visualize reconstruction results (e.g. on you local computer) you can skip the building of the torch extensions. These are only needed on the computational nodes. First activate the new Conda environment:

conda activate voxelium

You can now install the voxelium library from inside the project directory by running:

VOXELIUM_SKIP_EXT=TRUE pip3 install .

In the above, VOXELIUM_SKIP_EXT will skip installation of the torch extensions.

Full Installation

If you need to run reconstruction (e.g. on a computational node), you need to build and install the torch extensions. You will need to have a CUDA toolkit installed for this that matches the pytorch version installed. Once you have that ready you can just run:

pip3 install .

3D Spectral Heterogeneity Analysis (SHA)

Activate the voxelium conda environment. Then run voxelium -h to see a list of modules. To run the analysis, the sha3D module can be run as follows:

voxelium SHA3D <input_star_data> <log_directory> --gpu 0

Here, <input_star_data> is an input STAR-file containing all the particles with CTF and pose parameters set. <log_directory> will contain the results of the job.

NOTE: Adding --preload speeds things up considerably, assuming the dataset fits in memory.

NOTE: You need to install extension for this, see above.

SHA3D Visualization

To visualize the results run:

voxelium sha3D_viwer <log_directory>

In the above, <log_directory> is the path to the directory containing the results of the SHA3D analysis, see above.

Troubleshoot

If there's an issue with the CUDA environment it can help preventing PYPI building in an isolated environment by running

pip install --no-build-isolation .

🤝 Contributor covenant code of conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.

Responsible Use: We are committed to advancing the responsible development and use of artificial intelligence. Please follow our Acceptable Use Policy when engaging with the model.

🔒 Security

If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

voxelium-0.0.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (21.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

voxelium-0.0.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (21.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

voxelium-0.0.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (21.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

voxelium-0.0.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (21.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file voxelium-0.0.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for voxelium-0.0.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd0f3ec70f51f7d87ebefe07ffa9dc4a56fa9c7b5c32677fda72dbf838130477
MD5 3b27ebf1b7b78a8d5c41b79a1af63b74
BLAKE2b-256 f5a6f715bfbcb8d5140ee0de9a0c67ac8b889d7f783cc6c0282ad0dfe96a3a0a

See more details on using hashes here.

File details

Details for the file voxelium-0.0.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for voxelium-0.0.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8f6d3eae400d43aace889f4dc4bd00a0bf6484dd87ac6fa002d4b96301f428db
MD5 1f51f82865c2a283ada3aab6285ef2b7
BLAKE2b-256 6e1a8f5bf2881d718ff0044feb110a0a6eed3127b62369ef7cd0302ee07fe89b

See more details on using hashes here.

File details

Details for the file voxelium-0.0.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for voxelium-0.0.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a9288c616c8224e177a95c8c53a7a6774c4fe02d147e230d1b83e037b4a0f5f
MD5 83631e525ec8c342ec86cf174651cabb
BLAKE2b-256 22a719513c6114b07ef5e94e3d5a0fb186c4ce485d1427ef0fc017ced086680a

See more details on using hashes here.

File details

Details for the file voxelium-0.0.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for voxelium-0.0.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7586e1dec46c053330a87582eab6fe1beb63f2ced3acd7f7c3fc7b61b49af2ba
MD5 415f351806ef057512ca8d0950830e83
BLAKE2b-256 46a44dd150a2ca3a850f0f8a549ce960d78cee4c5cd752f6b47f5ca6edfe88ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page