Generate embeddings from ImmunoFluorescent image data from Human Protein Atlas
- Free software: MIT license
- Documentation: https://cellmaps-image-embedding.readthedocs.io.
- cellmaps_utils
- tqdm
- numpy
- pandas>=0.23.1
- torch
- torchvision
- opencv-python
- mlcrate
- scikit-image
- scikit-learn>=0.19.0
- Pillow
- Python 3.8+
git clone https://github.com/idekerlab/cellmaps_image_embedding
cd cellmaps_image_embedding
make dist
pip install dist/cellmaps_image_embedding*whl
Run make command with no arguments to see other build/deploy options including creation of Docker image
make
Output:
clean remove all build, test, coverage and Python artifacts
clean-build remove build artifacts
clean-pyc remove Python file artifacts
clean-test remove test and coverage artifacts
lint check style with flake8
test run tests quickly with the default Python
test-all run tests on every Python version with tox
coverage check code coverage quickly with the default Python
docs generate Sphinx HTML documentation, including API docs
servedocs compile the docs watching for changes
testrelease package and upload a TEST release
release package and upload a release
dist builds source and wheel package
install install the package to the active Python's site-packages
dockerbuild build docker image and store in local repository
dockerpush push image to dockerhub
Below are steps to make changes to this code base, deploy, and then run against those changes.
Make changes
Modify code in this repo as desired
- Build and deploy
# From base directory of this repo cellmaps_image_embedding
pip uninstall cellmaps_image_embedding -y ; make clean dist; pip install dist/cellmaps_image_embedding*whl
The output directory for the image downloads is required (see Cell Maps Image Downloader). Optionally, a path to the image embedding model can be provided.
For information invoke cellmaps_image_embeddingcmd.py -h
Example usage
cellmaps_image_embeddingcmd.py ./cellmaps_image_embedding_outdir --inputdir ./cellmaps_imagedownloader_outdir
Example usage
Coming soon...
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.