Skip to content

Examples of using Janis to translate Galaxy & CWL workflows to Nextflow

License

Notifications You must be signed in to change notification settings

PMCC-BioinformaticsCore/janis-translate-examples

Repository files navigation

Janis Translate Examples

This repository documents examples of using Janis to translate Galaxy & CWL workflows to Nextflow.

This markdown provides a brief background to workflow migration, setup instructions for the required software, and links to the individual tutorials.

For the Australian BioCommons Janis translate workshop (19th of June 2023) materials, please see Janis Translate Workshop 19/06/2023


Background

Bioinformatics workflows are critical for reproducibly transferring methodologies between research groups and for scaling between computational infrastructures. Research groups currently invest a lot of time and effort in creating and updating workflows; the ability to translate from one workflow language into another can make them easier to share, and maintain with minimal effort. For example, research groups that would like to run an existing Galaxy workflow on HPC, or extend it for their use, might find translating the workflow to Nextflow more suitable for their ongoing use-cases.

Janis is a framework that provides an abstraction layer for describing workflows, and a tool that can translate workflows between existing languages such as CWL, WDL, Galaxy and Nextflow. Janis aims to translate as much as it can, leaving the user to validate the workflow and make small manual adjustments where direct translations are not possible. Originating from the Portable Pipelines Project between Melbourne Bioinformatics, the Peter MacCallum Cancer Centre, and the Walter and Eliza Hall Institute of Medical Research, this tool is now available for everyone to use.


Setup

Software

Make sure you have the following installed:


IDE

Any IDE or a CLI text editor (VIM, nano) are sufficient for this material.

We recommend Visual Studio Code (VS Code) as it is lightweight and has rich support for extensions to add functionality.
Download Visual Studio Code for your system from here and follow the instructions for:

Once installed, open VS Code.

alt-text

VS Code can be customised using extensions.

The Nextflow extension provides syntax highlighting and quick shortcuts for common code snippets.
Click on the extensions button (four blocks) on the left side bar.
Search for "Nextflow" in the extensions search bar, then click on the "Install" next to the Nextflow extension.

alt-text


Source files & Sample data

The source tool / workflow files, as well as sample data can be downlaoded from the following link: [ZENODO LINK].

Once downloaded, uncompress the archive using the following command:

tar -xvf janis_translate_examples.tar.gz

Then change directory to the downloaded folder:

cd janis_translate_examples 

Tutorials

CWL to Nextflow

Galaxy to Nextflow

About

Examples of using Janis to translate Galaxy & CWL workflows to Nextflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published