Getting Started
Welcome to Burbuja! This guide will walk you through installing and setting up Burbuja for automated bubble detection.
What is Burbuja?
Burbuja is an automated bubble-detection tool for finding vapor pockets and local voids within molecular dynamics simulation structures making use of explicit solvent.
It provides:
Automated bubble presence detection with PDB file or any MDTraj-readable format
Optionally determine more detailed bubble properties such as volume, location, and shape
Support for bubble analysis of trajectories
GPU acceleration with CuPy for large systems
Quick Installation
If you want to quickly get Burbuja installed, and you already have an environment set up, you can just do:
pip install burbuja
Detailed Installation
It’s very helpful to install Burbuja using Mamba. If you don’t already have Mamba installed, Download the Miniforge install script and run.
curl -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh
bash Miniforge3-$(uname)-$(uname -m).sh
Fill out the prompts as they appear.
Once this has been done, set up a new environment:
mamba create -n BURBUJA python=3.11 --yes
mamba activate BURBUJA
If you wish to benefit from GPU acceleration, install CuPy. See the CuPy documentation (https://docs.cupy.dev/en/stable/install.html) for detailed installation instruction for your own system using PyPI, Conda, or from Source, but if you’re in a hurry, the following command should work:
mamba install cupy
Installation with Pip
Once your mamba environment is set up, simply use pip to install from PyPI:
pip install burbuja
All necessary dependencies will be automatically installed alongside.
Installation from Source
Simply install Burbuja from the Github repository. All remaining dependencies should be handled automatically:
git clone https://github.com/Abrahammc90/Burbuja.git
cd Burbuja
python -m pip install .
One may then optionally run unit tests:
pytest
Important Options and Hints
In general, Burbuja programs can be run with the ‘-h’ argument to see all available options. Please see https://burbuja.readthedocs.io/en/latest for a detailed description of programs and options.
For a complete tutorial, see the Tutorials section.
Troubleshooting
Getting Help
If you encounter issues:
Check the Burbuja User Guide for detailed usage instructions
Review the API Reference for complete API documentation
See https://burbuja.readthedocs.io/en/latest for Burbuja-specific help
Submit issues to the project repository
Next Steps
Now that you have Burbuja installed, you can:
Follow the Tutorials for step-by-step examples
Read the Burbuja User Guide for detailed usage information
Explore the API Reference reference for complete documentation
Check out the Developer Guide if you want to contribute