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://travis-ci.org/pjbriggs/nebulizer.svg?branch=master

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.

Metadata

Release files for nebulizer 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nebulizer 0.7.0
File Size Uploaded
nebulizer-0.7.0.tar.gz 54.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nebulizer 0.7.0
File Interpreter ABI Platform
nebulizer-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 107.0 kB

Release files / nebulizer-0.7.0.tar.gz

Download URL nebulizer-0.7.0.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
29adc63d36da76a79115e77bc9e2126da5b5f949f4ac1df8243c53fbcca47384
BLAKE2b-256 checksum
How to use checksums
08f705ccfc2a959fe4f38840468c5aed7569e0ce6657bfd38d5f734bad23f628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release files / nebulizer-0.7.0-py3-none-any.whl

Download URL nebulizer-0.7.0-py3-none-any.whl
Size 52.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
602a693b2ef7216a72b1d28a258fb7dd401a46de624aa2dc53fba2a4535f5dd9
BLAKE2b-256 checksum
How to use checksums
bd5ec7362ad1a4eb570880d8a7719098cba9e7d483c7985ea54c9c9663667e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release history Release notifications | RSS feed

0.7.2

2 release files

0.7.1

2 release files

This release

0.7.0 This release

2 release files

0.6.0

1 release file

0.5.0

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page