Skip to main content

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

  1. Clone the repository:

    git clone https://github.com/ZhenHuangLab/cryoCOFI.git
    
  2. Navigate to the project directory:

    cd cryoCOFI
    
  3. 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 file
  • readdynamo: Process Dynamo .doc and .tbl files
  • readcs: Process cryoSPARC .cs files

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

cryocofi-1.0.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

cryoCOFI-1.0.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file cryocofi-1.0.2.tar.gz.

File metadata

  • Download URL: cryocofi-1.0.2.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

Hashes for cryocofi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1ed50c018ad6fbf44e0bb128089c1f201fff84cbb4c38ad5796672aa46ada740
MD5 2b04d78c53d0d68be3db210c84aec0c7
BLAKE2b-256 bfe2ee0fea340bd2318e286365d497a0807b6ef67d62e2bb6e106fb221c612d4

See more details on using hashes here.

File details

Details for the file cryoCOFI-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cryoCOFI-1.0.2-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

Hashes for cryoCOFI-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33f887e07b8dd60b86261cc380d0219dae78297efb012843069c48c061269223
MD5 552fafe8f53fca91eb061760476547e1
BLAKE2b-256 00227c130e57d43f92c19278d45f882f0533114c17cd5ceb17b5d42690fd0a58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page