Skip to main content

Tissue Tag: jupyter image annotator

Project description

Tissue Tag jupyter image annotator

General instructions until replaced with something proper 

  1. You basically only need the tissue_tag.py file, which you will use to import the relevant functions like  import tissue_tag as tt  You also need the tutorial notebook https://github.com/nadavyayon/TissueTag/blob/main/Tutorials/image_annotation_tutorial.ipynb
  2. You need to setup an env that has bokeh (https://github.com/bokeh/bokeh) and jupyter-bokeh (https://pypi.org/project/jupyter-bokeh/) installed. This is the trickiest bit sometimes 
  3. When running on farm, you need to set the port (e.g., 5011) you are using to get it plot properly in the correct place  Python package to interactively annotate histological images within a Jupyter notebook

installation (partial - only tissue-tag)

installation (complete - imagespot)

Instructions for imagespot env

  1. Create a new conda environment: conda create -n imagespot python=3.9 say 'y' when asked

  2. activate new environment conda activate imagespot

  3. install scanpy conda install -c conda-forge scanpy python-igraph leidenalg

  4. install jupyter-lab conda install -c conda-forge jupyterlab

  5. install open-cv pip install opencv-python

6_5) optional - install cellpose pip install cellpose pip uninstall torch conda install pytorch cudatoolkit=11.3 -c pytorch

  1. install bokeh pip install jupyter_bokeh pip install bokeh

  2. install scikit-image pip install scikit-image

  3. add the new enviroment to jupyter lab path
    $ ipython kernel install --name imagespot --user

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

tissue-tag-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

tissue_tag-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file tissue-tag-0.1.1.tar.gz.

File metadata

  • Download URL: tissue-tag-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for tissue-tag-0.1.1.tar.gz
Algorithm Hash digest
SHA256 22a3a02e1bafc9f46eb0655d07fadf127c73095962040df1226d13f9236f4798
MD5 c639cfbbb5c237f54acd0ee942fc0763
BLAKE2b-256 15ac680bbdc35ef4ecf60351432bde95a85a12386b2545399e32ca850e70664c

See more details on using hashes here.

File details

Details for the file tissue_tag-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tissue_tag-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for tissue_tag-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 202bc3799ea3e87292d302502dfad26f00c9914b7a15e45228e08d7c4fbbea1b
MD5 e138d3516c4b1bdd5ee4909c0f2b18af
BLAKE2b-256 73ba8c6a8533ca0a92c419a3da198562ef25c55e8f65dba1f5636c0c6a9d051b

See more details on using hashes here.

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