A plugin for collaborative annotation in cryoET using copick
Project description
napari-copick
A plugin for collaborative annotation in cryoET using copick
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
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
Usage
Using a copick config file
napari-copick run --config path/to/copick_config.json
Using dataset IDs from CZ cryoET Data Portal
napari-copick run --dataset-ids 10440 10441 --overlay-root /path/to/overlay_root
You can specify multiple dataset IDs separated by spaces.
GUI Usage
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.
Tomogram Handling
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.
Contributing
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.
License
Distributed under the terms of the MIT license, "napari-copick" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Code of Conduct
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.
Reporting Security Issues
If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_copick-1.4.0.tar.gz.
File metadata
- Download URL: napari_copick-1.4.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50fe97fc3e8d20eae4dc8db0fd391c80eaba7e0994296b82daaa69878eb2a7b4
|
|
| MD5 |
523d5aa96afa20884eee3d676c873878
|
|
| BLAKE2b-256 |
10e69079b1fff0181da137b333a62a0958d6ff11fb25edda42a3d84bcccc533d
|
Provenance
The following attestation bundles were made for napari_copick-1.4.0.tar.gz:
Publisher:
release-please.yml on copick/napari-copick
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_copick-1.4.0.tar.gz -
Subject digest:
50fe97fc3e8d20eae4dc8db0fd391c80eaba7e0994296b82daaa69878eb2a7b4 - Sigstore transparency entry: 1109322779
- Sigstore integration time:
-
Permalink:
copick/napari-copick@6d0fa4a237562c97f96267ae0f927b804680daf5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/copick
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@6d0fa4a237562c97f96267ae0f927b804680daf5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_copick-1.4.0-py3-none-any.whl.
File metadata
- Download URL: napari_copick-1.4.0-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
212e3ea164b30d27799836f13e65c0ef7c55606b89515f24005ce6708c49be09
|
|
| MD5 |
28fee12840169791faf5b3f615cc7c33
|
|
| BLAKE2b-256 |
a5c8928950f7aa31037bf6428063af85bc4e4f05029c00808a27b93775288293
|
Provenance
The following attestation bundles were made for napari_copick-1.4.0-py3-none-any.whl:
Publisher:
release-please.yml on copick/napari-copick
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_copick-1.4.0-py3-none-any.whl -
Subject digest:
212e3ea164b30d27799836f13e65c0ef7c55606b89515f24005ce6708c49be09 - Sigstore transparency entry: 1109322782
- Sigstore integration time:
-
Permalink:
copick/napari-copick@6d0fa4a237562c97f96267ae0f927b804680daf5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/copick
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@6d0fa4a237562c97f96267ae0f927b804680daf5 -
Trigger Event:
push
-
Statement type: