Skip to main content

napari viewer which can read multiplex images as zarr files

Project description

cyto-studio

A napari viewer which reads multiplex images.

Installation Windows

Start -> Anaconda3 (64-bit) -> Anaconda Prompt (Anaconda3)

Type:

>conda create -n py39 python=3.9

>conda activate py39

>pip install cyto-studio --upgrade

or:

>mkenv cyto-studio --python /soft/conda/envs/napari/bin/python

>workon cyto-studio

>pip install cyto-studio --upgrade

Installation Linux

Applications -> Terminal Emulator

Type:

>pip install cyto-studio --upgrade

Create the launcher

Type:

>cyto-studio --create-launcher

How to run

The cyto-studio viewer can be run from command line by typing:

>cyto-studio

How to use

  1. If working within the IMAXT Windows VMware or Linux remote desktop, the Data folder containing the STPT images will have been automatically selected. If not, please select the location of the folders with STPT Zarr files using the "Set folder" button.
  2. The dropdown box should now have all the available STPT images.
  3. Select the image file from the dropdown box.

2D rendering (slice view)

  1. Select the slice you wish to view using the scroll bar.
  2. Press the "Load slice" button to load the image.
  3. When zooming using the mouse wheel the resolution will update dynamically.

3D rendering

  1. The "Output pixel size" is the resolution to which the images are reformatted (after applying the translations based on the bead locations).
  2. The "Maximum number of optical slices" can be set in case the optical slices go beyond the slice thickness of 15um. For example, if we have 9 optical slices of 2um we should use only 7 slices.
  3. Select which channels to load.
  4. Press "Load image 3D".
  5. To crop the volume draw a shape using the add rectangles button of napari. To do this select the "New shapes layer" button and then "Add rectangles" button. Draw a box across the image according to the region you wish to crop.
  6. Pressing "Crop to shape" will just crop the colume to this region.
  7. Pressing "Reload in shape" will reload the slices. In this case you can set a different output pixel size. To get the full resolution use a value of 0.5, although a value of 1 or 2 will in most cases suffice. Be aware that due to the limited memory the region will have to be rather small if the resolution increases.
  8. Press "Save volume" to save the multi-channel volume to a tiff file.
  9. Press the "Toggle number of display dimensions" button at the botton left (or press Ctrl-Y) to see the volume in 3D.

Bead removal

Removing the beads requires a "Tissue threshold value" to be set which separates the tissue from background. Move the mouse over the image to get an idea of the values, which are shown in the status bar. There are two ways to remove the beads in a volume:

  1. Press button "Show only large regions" to remove all but the largest regions. The number of regions to retain can be selected for this.
  2. Press button "Remove small regions" to remove all the regions smaller than the size as defined by the "Minimum size".

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

cyto_studio-0.2.21.tar.gz (54.2 kB view details)

Uploaded Source

Built Distribution

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

cyto_studio-0.2.21-py3-none-any.whl (81.4 kB view details)

Uploaded Python 3

File details

Details for the file cyto_studio-0.2.21.tar.gz.

File metadata

  • Download URL: cyto_studio-0.2.21.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for cyto_studio-0.2.21.tar.gz
Algorithm Hash digest
SHA256 35d39ef0776f8e443700593d321fad3fba3d2621f33405c4fa0d78c3c5f5afda
MD5 13798fa4b6e55b135fd6d263e4606134
BLAKE2b-256 82b9309a633cf42f9230d65eed9243e4286e649b8773dbef10e8cddd987fd81b

See more details on using hashes here.

File details

Details for the file cyto_studio-0.2.21-py3-none-any.whl.

File metadata

  • Download URL: cyto_studio-0.2.21-py3-none-any.whl
  • Upload date:
  • Size: 81.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for cyto_studio-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6611b7114f3c0fa85b464bca378180b6c7075ae2afe04f6b45cd1a4765ab91
MD5 0d3b64287e530dde35e8e7a6d51e9043
BLAKE2b-256 6966e6118fbef389082029f40f268ff56c7c57bcf27f45f61dda1982d62700f1

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