This is a PYME plugin which enables interoperability between PYME and an OMERO server. Contributions / feature requests welcome.
- Load localizations attached to an OMERO image in PYMEVis
- Open PYMEVis
- Clicking
File > Open OMERO
- copy the OMERO
Link to this image
into the dialog box. - Click OK.
- Upload localizations from PYMEVis to OMERO server attached to a snapshot of the current view
- Open localizations in PYMEVis, and set the view how you like
- Click
File > Save to OMERO > Snapshot
. - Enter the project and dataset the image should be uploaded/linked to. The project/dataset will be created if they don't already exist.
- Click OK. The current pipeline datasource localizations as well as the upstream
Localizations
datasource (if present) will be attached to the thumbnail on OMERO.
- Upload localizations from PYMEVis to OMERO server attached to a PNG/TIF rendering
- Open localizations in PYMEVis
- Click
File > Save to OMERO > PNG
orFile > Save to OMERO > OME Tif
. - Select your rendering method/settings and enter the OMERO project/dataset names the image should be uploaded/linked to. The project/dataset will be created if they don't already exist.
- In the
Input Localization Attachments
table, click to open the table menu and add a localization attachment. You can attach multiple localization sets from the recipe to the image. Their filenames will be whatever you enter in theTable Name
box, defaulting to an.hdf
extension if you do not specify one. - Click OK.
- Load image from an OMERO server in dh5view
- From an open dh5view window, click
Modules > omero_io
. - Click
OMERO > Open
, - Copy the
Link to this image
from e.g. OMERO.web into the text box - Click OK.
- From an open dh5view window, click
- Upload image from dh5view window to an OMERO server
- From an open dh5view window, click
Modules > omero_io
. - Click
OMERO > Save to OMERO
. - Enter the project name (optional) and dataset name the image should be uploaded/linnked to. The project/dataset will be created if they don't already exist.
- Click OK.
- From an open dh5view window, click
- Upload images/localizations from a recipe run on a PYME cluster or in the PYME bakeshop
- create a recipe using any of the upload modules in the
omero_upload
section of theAdd Module
menu in the recipe GUI.
- create a recipe using any of the upload modules in the
- install PYME
- install omero-py
- clone this repository
git clone https://github.com/python-microscopy/pyme-omero
- run
python pyme-omero/setup.py develop
- Note - mac users installing to conda environments will need to run
setup.py
using a 'framework build', accomplished by runningor similar depending on your conda install location./opt/miniconda3/envs/myenv/python.app/Contents/MacOS/python pyme-omero/setup.py develop
- Note - mac users installing to conda environments will need to run
- In the GUI dialog, enter your OMERO server information/credentials, which will be stored in the PYME config directory (typically
.PYME
folder in your user directory).
You can manually edit the configuration file, .PYME/plugins/config/pyme-omero
which should contain the OMERO server information in yaml format, e.g.
user: <your OMERO user name>
password: <your OMERO password>
address: <OMERO server IP address>
port: <OMERO server port>
noting that port is optional if your OMERO server uses the default port (4064).