Skip to main content

A plugin for collaborative annotation in cryoET using copick

Project description

napari-copick

License MIT PyPI Python Version tests codecov napari hub

A plugin for collaborative annotation in cryoET using copick

interface.png


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:

  1. Load Config File: Opens a file dialog to select a copick configuration JSON file
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_copick-1.6.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_copick-1.6.0-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

Details for the file napari_copick-1.6.0.tar.gz.

File metadata

  • Download URL: napari_copick-1.6.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napari_copick-1.6.0.tar.gz
Algorithm Hash digest
SHA256 40304119792c6082810758fb7922f383e699eac2ea8c5205010cd834988cb6e2
MD5 fcce7aeab73324a22a4d3f13c05daaf6
BLAKE2b-256 66aa7b4330a7845a7e201200c45b14474c0fa662d789a2b7724a5456b7aa5f7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_copick-1.6.0.tar.gz:

Publisher: release-please.yml on copick/napari-copick

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napari_copick-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: napari_copick-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 38.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napari_copick-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c559f7092d6073bb6f73cf3fdf4efe1e9cf4e10df9b0d580e69fa9d648a8fbf3
MD5 9b5fc3a03233f7a003dee8dd6afc4356
BLAKE2b-256 3ef87582b17e06efa05efdb7b44f21cdb570107d9135c5bc543253d53c4a3cb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_copick-1.6.0-py3-none-any.whl:

Publisher: release-please.yml on copick/napari-copick

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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