e-learning

nb2workflow: Generating Galaxy Tools From Jupyter Notebooks

Abstract

With the advance of python and Jupyter Notebooks, many astronomers have started using them for their data analysis pipelines. In response, members of the astronomy and data science communities have developed nb2galaxy -- a module of the nb2workflow library -- that allows for a quick and easy conversion of Jupyter Notebooks into Galaxy tools. While originally motivated by astronomical use cases, the tool is broadly applicable. This tutorial is therefore aimed at developers and researchers across disciplines who are interested in Galaxy.

About This Material

This is a Hands-on Tutorial from the GTN which is usable either for individual self-study, or as a teaching material in a classroom.

Questions this will address

  • How can new-to-Galaxy developers convert functioning Jupyter Notebooks into Galaxy tools?
  • How are the inputs and outputs defined?
  • How are the tool dependencies provided?

Learning Objectives

  • Learn why you might want to use the nb2galaxy.
  • Install the package and explore the provided example notebooks.
  • Modify the examples and regenerate the tools to check the effects.
  • Create new Galaxy tools from your own Jupyter Notebooks.

Licence: Creative Commons Attribution 4.0 International

Keywords: Development in Galaxy

Target audience: Galaxy Administrators

Resource type: e-learning

Version: 1

Status: Active

Prerequisites:

  • A Short Introduction to Galaxy
  • A short introduction to Galaxy
  • Galaxy Basics for everyone
  • Tool development and integration into Galaxy

Learning objectives:

  • Learn why you might want to use the nb2galaxy.
  • Install the package and explore the provided example notebooks.
  • Modify the examples and regenerate the tools to check the effects.
  • Create new Galaxy tools from your own Jupyter Notebooks.

Date modified: 2025-12-04

Date published: 2025-12-04

Authors: Andrei Variu, Denys Savchenko

Contributors: Andrei Variu

Scientific topics: Software engineering


Activity log