Skip to main content

Manage users, tools and libraries in Galaxy

Project description

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.png?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
% sourc .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

  • list_installed_tools

  • install_tool

  • update_tool

  • uninstall_tool

  • search_toolshed

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.

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

nebulizer-0.6.0.tar.gz (39.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: nebulizer-0.6.0.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for nebulizer-0.6.0.tar.gz
Algorithm Hash digest
SHA256 94716648a3026379afac6e9b5a7732717ce588c634e6ee41dfa895efb931f21b
MD5 f97c74f2b20264e724fea299a342036a
BLAKE2b-256 c3abab312db0b02aac0dda65cdbfbc4065b0e94c4f9a999949b4a28290173705

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