A plugin for collaborative annotation in cryoET using copick
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
You can install napari-copick via pip:
pip install napari-copick
To install latest development version:
pip install git+https://github.com/copick/napari-copick.git
napari-copick run --config path/to/copick_config.jsonnapari-copick run --dataset-ids 10440 10441 --overlay-root /path/to/overlay_rootYou can specify multiple dataset IDs separated by spaces.
The plugin provides an intuitive interface with two loading options:
- Load Config File: Opens a file dialog to select a copick configuration JSON file
- Load from Dataset IDs: Opens a dialog to enter CZ cryoET Data Portal dataset IDs and overlay root path
After loading, you'll see a hierarchical tree of the project structure that you can navigate to access tomograms, segmentations, and picks.
napari-copick now handles multiscale zarr arrays directly:
- Automatically detects and loads all available resolution levels
- Creates a proper multiscale image stack using napari's native multiscale API
- Uses dask for efficient lazy loading of large tomogram data
- Applies appropriate scaling factors based on the voxel size metadata
This direct zarr handling provides better performance and more flexibility compared to relying on external plugins.
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the MIT license, "napari-copick" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.
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.
If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.
