CarbOn FIlm detector for cryo-EM images
Project description
cryoCOFI
Overview
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.
Features
- 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
Requirements
- 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
Installation
Via git clone
-
Clone the repository:
git clone https://github.com/ZhenHuangLab/cryoCOFI.git
-
Navigate to the project directory:
cd cryoCOFI
-
Install the package:
pip install .
Via pip
pip install cryoCOFI
Usage
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
:
For detailed usage instructions, run:
cryoCOFI [command] --help
License
This script is licensed under GPLv3.
Contributing
Contributions to cryoCOFI are welcome! Please feel free to submit a Pull Request.
Contact
For questions or support, please contact: zhen.victor.huang@gmail.com
For more information, visit: https://github.com/ZhenHuangLab/cryoCOFI
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cryocofi-1.0.1.tar.gz
.
File metadata
- Download URL: cryocofi-1.0.1.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f70d3f30a21f810962a05c12646b54616940857dd5344a0385ce954e28e5ef88 |
|
MD5 | 356e8c1f6aa37b411dbbfc69b07dd488 |
|
BLAKE2b-256 | 3ede010dcac6926352639038dc80d288dc8cd106d694f1ace69570e25913526c |
File details
Details for the file cryoCOFI-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: cryoCOFI-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e42d861350ad0be8b2ebf1161c6a39c29ed3da88a74ff1fa19c0f8e54bf5a7 |
|
MD5 | 316a5306897d58034a53d936fe1bcc2a |
|
BLAKE2b-256 | 6623eea034d772add2232bbcfcaa6b15b08c06681ddb5aaa35fe6e47fe6ad7b0 |