Skip to main content
Nebulizer Logo

Command-line utilities to help with managing users, data libraries and tools in a Galaxy instance, using the Galaxy API via the Bioblend library.

https://readthedocs.org/projects/pip/badge/?version=latest https://badge.fury.io/py/nebulizer.svg https://github.com/pjbriggs/nebulizer/workflows/Python%20CI/badge.svg

Quick Start

This quick start gives some examples of using nebulizer commands to perform remote administration tasks on a Galaxy instance from the command line.

Getting Nebulizer

It is recommended to install Nebulizer via pip in a virtualenv, for example:

% virtualenv .venv
% source .venv/bin/activate
% pip install nebulizer

This will provide an executable called nebulizer with a number of subcommands for performing different tasks remotely on Galaxy instances.

Nebulizer Basics

Generally Nebulizer commands take the form:

nebulizer COMMAND GALAXY [OPTIONS]

To interact remotely with a Galaxy instance using Nebulizer requires at minimum the URL of the instance and then either an API key or a user login name.

For example to list the data libraries available on Galaxy Main:

nebulizer -k 9b376af2250818d14949b3c list_libraries https://usegalaxy.org

or

nebulizer -u USER@DOMAIN list_libraries https://usegalaxy.org

In this second case Nebulizer will prompt for the Galaxy password to authenticate the user login, unless it’s supplied via the -P option.

To store the Galaxy URL-API key pair against an alias main, to avoid needing full authentication details each time:

nebulizer add_key main https://usegalaxy.org 9b376af2250818d14949b3c

or alternatively get Nebulizer to fetch the API key itself by supplying the user login:

nebulizer -u USER@DOMAIN add_key main https://usegalaxy.org

More information on managing API keys in Nebulizer can found here.

The stored alias is then used in subsequent commands, for example to list the data libraries again it is now sufficient to do just:

nebulizer list_libraries main

The following sections contain examples of how Nebulizer might be used to perform various administrive tasks.

Nebulizer provides subcommands to perform various administrive tasks:

Managing users:

  • list_users

  • create_user

  • create_batch_users

  • create_users_from_file

  • delete_user

Managing data libraries:

  • list_libraries

  • create_library

  • create_library_folder

  • add_library_datasets

Managing tools:

  • list_tools

  • list_tool_panel

  • install_tool

  • update_tool

  • uninstall_tool

  • search_toolshed

Managing quotas:

  • quotas

  • quota_add

  • quota_mod

  • quota_del

Querying Galaxy instances:

  • ping (check if a Galaxy instance is alive)

  • config (fetch configuration for a Galaxy instance)

See the tutorial for a walkthrough some of these commands.

Contributors

Nebulizer has been developed by Peter Briggs @pjbriggs, with contributions from:

Thanks to Peter van Heuseden (@pvanheus) for porting Nebulizer into Bioconda.

Download files

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

Source Distribution

nebulizer-0.7.2.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

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

nebulizer-0.7.2-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file nebulizer-0.7.2.tar.gz.

File metadata

  • Download URL: nebulizer-0.7.2.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for nebulizer-0.7.2.tar.gz
Algorithm Hash digest
SHA256 8fddc028b9a127cfeb8bc8deced960e0b7fa9070521e472ac70ecea3704330cd
MD5 4a3412601205ef22dd1b0f2b3b260fb3
BLAKE2b-256 ef2a36759f0cf837aea4c87f82ddbe4f5bdd97d5413d4602ed4feda33c05b9f4

See more details on using hashes here.

File details

Details for the file nebulizer-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: nebulizer-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 52.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for nebulizer-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa04e3c127b40ef0bfea82f02919f2defe237ffda9d9970e4ced9f7d664897bd
MD5 850de85bff4a8106737145177ad550c4
BLAKE2b-256 f0a09acb61ede297cc6b1e9beddf9c4835b17bca230f099824627cdb83be984b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.2 This release

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

1 file

0.5.0

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page