cryoCOFI (CarbOn FIlm detector for cryo-EM images) is a script designed for cryo-EM images & cryo-ET tomograms to detect carbon films and get rid of particles inside them.
- Carbon film detection and particle screening in cryo-EM images
- Improved algorithm for edge detection (Bilateral filter + Canny detector, aka Bicanny)
- Integration with Dynamo (.doc and .tbl files) & cryoSPARC
- GPU-accelerated image processing using CuPy and CUDA
- Python 3.9+
- CUDA-compatible GPU
- CUDA Toolkit 11.1 or later
- NVIDIA GPU Driver supporting CUDA 12.2 or later
- CuPy, >=13.3.0
- NumPy, >=2.0.2
- pandas, >=2.2.3
-
Clone the repository:
git clone https://github.com/ZhenHuangLab/cryoCOFI.git
-
Navigate to the project directory:
cd cryoCOFI
-
Install the package:
pip install .
pip install cryoCOFI
cryoCOFI can be used as a command-line tool:
cryoCOFI [command] [options]
Available commands:
readmrc
: Process a single MRC filereaddynamo
: Process Dynamo .doc and .tbl filesreadcs
: Process cryoSPARC .cs files
For detailed usage instructions, run:
cryoCOFI [command] --help
This script is licensed under GPLv3.
Contributions to cryoCOFI are welcome! Please feel free to submit a Pull Request.
For questions or support, please contact: [email protected]
For more information, visit: https://github.com/ZhenHuangLab/cryoCOFI