Voxelium - a powerful tool for volumetric processing with CUDA support.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voxelium-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: voxelium-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3bbdfb1aa76ddb0e8d8c0476ff243650bac2815e761da18de73c1c5b880966
|
|
| MD5 |
11e331496f7b2fa518550ce12459e752
|
|
| BLAKE2b-256 |
7aa202c465bd2171c40b070cf854fe0192085617fac5891fe19287ac91e2f3bd
|
File details
Details for the file voxelium-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: voxelium-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36064489e6db78b7a162df8aeed2a7328d3d4d3d87d179a1253c12e97e2c4dde
|
|
| MD5 |
9076bd57d8dc997def1aa5e1282edaa0
|
|
| BLAKE2b-256 |
8dd60f60e073a29962e36a9dca89b4c5451364db5c477dd5bf70dc1108cdecab
|
File details
Details for the file voxelium-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: voxelium-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44aa4ac531613cb3013bddca51d41280d1e61805cdd093a9cd9dcae739565a11
|
|
| MD5 |
a8d3096271bce62e0ff75f0b9d39bb9f
|
|
| BLAKE2b-256 |
99c2fb8ce3125dbb06f7bd5ff2b251a8c223a7d4b826115fce7c9cce3487a048
|
File details
Details for the file voxelium-0.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: voxelium-0.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daa40c39e9bea7ec02042a464fd4017e9a3c50fa24d0e2993ce16b4d27af2065
|
|
| MD5 |
d5255c427d55ccf2d47613aeb5aeb0e9
|
|
| BLAKE2b-256 |
f3cd2f7adcb31cb7e21acd7a0625389384d6e837ecd63052b621d2ec866b78b5
|