Skip to main content

TissUUmaps is a lightweight viewer that uses basic web tools to visualize gene expression data or any kind of point data on top of whole slide images.

Project description

FlaskTissUUmaps

FlaskTissUUmaps is a minimal python server for TissUUmaps using Flask that comes with a standalone User Interface.

Differences with TissUUmaps

Image format

FlaskTissUUmaps allows to visualize all images from a folder and sub-folders in TissUUmaps. By using a minimal deepzoom server, FlaskTissUUmaps removes the need for creating DZI files of every image.

FlaskTissUUmaps can read whole slide images in any format recognized by the OpenSlide library:

  • Aperio (.svs, .tif)
  • Hamamatsu (.ndpi, .vms, .vmu)
  • Leica (.scn)
  • MIRAX (.mrxs)
  • Philips (.tiff)
  • Sakura (.svslide)
  • Trestle (.tif)
  • Ventana (.bif, .tif)
  • Generic tiled TIFF (.tif)

plus classical images in any format recognized by the PIL library (png, jpg, etc.)

:warning: Warning: classical non pyramidal images will have to be loaded in RAM and will be read entirely for each generated tile. If you have big images, consider converting them in pyramidal format using VIPS.

Saving TissUUmaps state

FlaskTissUUmaps allows to save all TissUUmaps states (Gene expressions, Cell morphology, Regions, Layers) so that you can reload images with all additional information, just as you saved them.

Windows installation

  1. Download the Windows Installer from the last release and install it. Note that the installer is not signed yet and may trigger warnings from the browser and from the firewall. You can safely pass these warnings.

  2. Start TissUUmaps.

Installation from PIP

Note that steps 1-4 are optional and can be replaced by installing a recent version of Python.

  1. Install Anaconda (or miniconda).

  2. Create a new conda environment from an Anaconda prompt:

    conda create --name tissuumaps --channel conda-forge python=3.9
    
  3. Activate the new conda environment:

    conda activate tissuumaps
    
  4. You should be in the tissuumaps environment:

    (tissuumaps) C:\
    
  5. Install the TissUUmaps library:

    pip install TissUUmaps
    

Option 1: Start the Graphical User Interface of TissUUmaps

  1. Start the TissUUmaps user interface:
    tissuumaps
    

Option 2: Start only the flask server

  1. Start TissUUmaps as a server:

    tissuumaps_server path_to_your_images
    
  2. Open http://127.0.0.1:5000/ in your favorite browser.

    :warning: Remember that Flask is running on a built-in development server (flask run) and should not be used in production. If you want to deploy FlaskTissUUmaps on a production server, please read https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/ or any similar tutorial.

Project details


Release history Release notifications | RSS feed

This version

2.4.6

Download files

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

Source Distribution

TissUUmaps-2.4.6.tar.gz (1.6 MB view hashes)

Uploaded Source

Built Distribution

TissUUmaps-2.4.6-py3-none-any.whl (1.6 MB view hashes)

Uploaded Python 3

Supported by

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