Skip to main content

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

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.5-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.5-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.5-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.5-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.5-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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6fe7fa2925153affa44edb400b0b8d9811787dca51cae47d4a22aebd5f44187b
MD5 0ed1714833195ff469217df7c10a47cb
BLAKE2b-256 e76e07b57a41519257679f61efd075cb0c75a1848d11dc6ecee62927550f15f0

See more details on using hashes here.

File details

Details for the file voxelium-0.0.5-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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5d4d7a7d303fad6ca00ec7518d0c6149688a0055f84f6e00ea749f0518150a47
MD5 de93857257b81edbea70a3f3e2bd5417
BLAKE2b-256 da64243e01544bccbe8e41b50027eec57505c9f319da620522df10411500bf22

See more details on using hashes here.

File details

Details for the file voxelium-0.0.5-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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb453d8889b5259640844745eda193417ab30a2643f20ea431e6d6b06bb91a59
MD5 fecc64c68272e23b53042193b10dc7e5
BLAKE2b-256 2357fc14837d4c0600673d77c5c59867f973cbe0c9e7eeaba0a0c4d9b1e0a821

See more details on using hashes here.

File details

Details for the file voxelium-0.0.5-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.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12be2cd7671a42f750ae60d2e94de00cb5c1bf96dc02d364bcc5576e68f98ad4
MD5 e7d0149137571f74c73a0bd7730a8c0e
BLAKE2b-256 0c9b9cf12504714e8a71da07497b4182daa0da6125cfbdd6972a392d21768261

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