Skip to main content

A set of utilities for exporting a transfer packet from an OMERO server and importing it in a different server. Developed by the Research IT team at The Jackson Laboratory.

Project description

omero-cli-transfer

An OMERO CLI plugin for creating and using transfer packets between OMERO servers.

Transfer packets contain objects and annotations. This project creates a zip file from an object (Project/Dataset/Image) containing all original files necessary to create the images in that object, plus an XML file detailing the links between entities, annotations and ROIs thereof.

The CLI plugin add the subcommand transfer, which in its turn has two further subcommands omero transfer pack and omero transfer unpack. Both subcommands (pack and unpack) will use an existing OMERO session created via CLI or prompt the user for parameters to create one.

omero transfer pack

Creates a transfer packet for moving objects between OMERO server instances.

The syntax for specifying objects is: object:id where object can be Image, Project or Dataset. Project is assumed if object: is omitted. A file path needs to be provided; a zip file with the contents of the packet will be created at the specified path.

Currently, only MapAnnotations and Tags are packaged into the transfer pack, and only Point, Line, Ellipse, Rectangle and Polygon-type ROIs are packaged.

Examples:

omero transfer pack Image:123 transfer_pack.zip
omero transfer pack Dataset:1111 /home/user/new_folder/new_pack.zip
omero transfer pack 999 zipfile.zip  # equivalent to Project:999

omero transfer unpack

Unpacks an existing transfer packet, imports images as orphans and uses the XML contained in the transfer packet to re-create links, annotations and ROIs.

--ln_s forces imports to use the transfer=ln_s option, in-place importing files. Same restrictions of regular in-place imports apply.

--output allows for specifying an optional output folder where the packet will be unzipped.

Examples:

omero transfer unpack transfer_pack.zip
omero transfer unpack --output /home/user/optional_folder --ln_s

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

omero-cli-transfer-0.0.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

omero_cli_transfer-0.0.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file omero-cli-transfer-0.0.1.tar.gz.

File metadata

  • Download URL: omero-cli-transfer-0.0.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for omero-cli-transfer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0c21e08ec6e8e8028579e8d00eb10cfca27e96c8009e56ee0c77e9353cfae528
MD5 cc7c6293983672df025be7a9600cba97
BLAKE2b-256 69a65fa740685d6b63d5cc355dcc7f7fb9e744b43f16ecc29ff4c22fb7b2ca7e

See more details on using hashes here.

File details

Details for the file omero_cli_transfer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: omero_cli_transfer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for omero_cli_transfer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06eaab9456c2c604e3f4260a5672f338953b564e2c1852644ad4dd2c0d26b3d1
MD5 7c7b960abe1700ba876e42183e8ee7ef
BLAKE2b-256 43a62e9cf24454dac3adee7094ef0b97052ca57da5f7688f42ec6f0b5515851a

See more details on using hashes here.

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