https://github.com/alleninstitute/ophys_nway_matching
https://github.com/alleninstitute/ophys_nway_matching
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/alleninstitute/ophys_nway_matching
- Owner: AllenInstitute
- License: other
- Created: 2019-08-05T19:34:23.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T00:45:22.000Z (over 2 years ago)
- Last Synced: 2025-06-15T07:49:08.768Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 1.52 MB
- Stars: 4
- Watchers: 8
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/AllenInstitute/ophys_nway_matching)
[](https://codecov.io/gh/AllenInstitute/ophys_nway_matching)
# ophys_nway_matching
N-way matching of segmented cell ROIs
# Docker and Singularity
A docker image is built in CircleCI and pushed to [dockerhub](https://hub.docker.com/repository/docker/alleninstitutepika/ophys_nway_matching) tagged as either `master` or `develop`.
Singularity should be able to run this docker image directly:
```
singularity run docker://alleninstitutepika/ophys_nway_matching:develop python -m pytest /ophys_nway_matching
```
or
```
singularity run docker://alleninstitutepika/ophys_nway_matching:develop python -m nway.nway_matching --help
```
It appears the calling singularity in this way intelligently uses the local caches for both docker and singularity. There is an overhead for downloading an updated docker image and translating it to a singularity image. That cost is incurred only when the docker image has changed.
# quick start
```
conda create -n nwaytest python=3.6.4
conda activate nwaytest
pip install git+https://github.com/AllenInstitute/ophys_nway_matching
python -m nway.nway_matching --input_json tmp_example/input.json --output_json tmp_example/output.json
```
This creates `tmp_example/output.json`. The intent is that this file contains everything you need to know, both results and diagnostic metrics.
Some basic visualizations of the results are in `nway.diagnostics`
```
python -m nway.diagnostics --input_json tmp_example/output.json --output_pdf tmp_example/output.pdf
```
This should create `tmp_example/output.pdf`.
# Level of support
We are not currently supporting this code, but simply releasing it to the community AS IS but are not able to provide any guarantees of support, as it is under active development. The community is welcome to submit issues, but you should not expect an active response.