https://github.com/czbiohub-sf/2021-opencell-microscopy-automation

Public repo for OpenCell-related microscopy automation software

https://github.com/czbiohub-sf/2021-opencell-microscopy-automation

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: science.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Public repo for OpenCell-related microscopy automation software

Basic Info
  • Host: GitHub
  • Owner: czbiohub-sf
  • License: other
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 30.3 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 5 years ago · Last pushed about 3 years ago

https://github.com/czbiohub-sf/2021-opencell-microscopy-automation/blob/master/

# dragonfly-automation
This is a Python package that contains the microscope-automation scripts used to enable high-throughput microscopy for the OpenCell project. These scripts use [`mm2python`](https://github.com/czbiohub/mm2python) to control the spinning disk confocal microscope (nicknamed 'dragonfly'). They are written against the MicroManager 2.0 beta API.

Refer to our [2022 OpenCell paper](https://www.science.org/doi/10.1126/science.abi6983) for more details.

#### Primary features
* Modular and reusable methods for common tasks (e.g., autofocusing, adjusting exposures, acquiring z-stacks)
* Pre-trained machine-learning models for dynamic field-of-view scoring and/or classification
* Extensive logging of metadata, errors, and MicroManager API calls
* Mocks for the MicroManager APIs to facilitate development and enable testing


## Usage examples
The script is called using a CLI. Some common examples are shown below. See `scripts/run_acquisition.py` for all CLI arguments.
```
// start an acquisition in test mode and using the mocked MicroManager API
// (this does not require mm2python or MicroManager)
python ./scripts/run_acquisition.py \
--data-dir ./tests/output/ \
--pml-id PML0000 \
--plate-id P0000 \
--platemap-type none \
--mode test \
--mock-micromanager-api

// start a full-plate acquisition, using mm2python and the real MicroManager API
python ./scripts/run_acquisition.py \
--pml-id PML0123 --plate-id P0021 --platemap-type none
```

## Development
We use black for formatting, flake8 and pylint for linting, pytest for testing, and Github Actions for CI. To setup a new dev env:

1) Create a new Python 3.7 virtualenv: `conda create -n dragonflyenv python=3.7`
2) Clone this repo and install dependencies using pip: `pip install -r requirements.txt`
3) Install the `dragonfly_automation` package: `pip install -e .`
4) Install the pre-commit hooks: `pre-commit install`
5) To run tests locally, use `make test`

Owner

  • Name: Chan Zuckerberg Biohub San Francisco
  • Login: czbiohub-sf
  • Kind: organization
  • Location: San Francisco

GitHub Events

Total
Last Year