Skip to content
Marjorie Jones edited this page Jun 5, 2017 · 18 revisions

Introduction to Rabix and Rabix Composer

About Rabix

Rabix (Reproducible Analyses for BIX) is an open-source development kit from Seven Bridges for creating and running computational workflows in the Common Workflow Language (CWL) on your local machine. Rabix consists of the Rabix Composer (Project Cottontail) and the Rabix Executor (Project Bunny).

Rabix Composer provides an intuitive, visual editor to view and edit CWL tools and workflows. Rabix Executor allows you to execute and test CWL tools and workflows from the command line. The Rabix suite aims to make it easier than ever to write and run CWL.

The Rabix suite supports both the older CWL version sbg:draft-2 (which includes extensions to CWL draft-2 that are specific to Seven Bridges) and the more recent CWL v1.0 (which includes most of the Seven Bridges extensions from CWL sbg:draft-2 as part of the standard specification).

Rabix Composer allows you to mix CWL 1.0 and CWL sbg:draft-2 components in the same workflow. Rabix Executor can execute these mixed workflows, but note that many other CWL executors don’t currently support mixed workflows.

About CWL

CWL is a specification for describing analysis tools and workflows in a way that makes them portable and scalable across a variety of software and hardware environments, from workstations to cluster, cloud, and high performance computing environments. CWL is designed to meet the needs of data-intensive science, such as bioinformatics, medical imaging, astronomy, physics, and chemistry.

CWL is developed by an informal, multi-vendor working group consisting of organizations and individuals aiming to enable scientists to share data analysis workflows. The CWL project is on GitHub and builds on technologies such as JSON-LD for data modeling and Docker for portable runtime environments. You can read more about CWL here.

About tools, workflows and apps

A tool is a CWL description of an individual command line utility, and its options, inputs and outputs. The CWL specification allows tools to be described in a standard and portable way.

Tools can be executed in isolation, or built into workflows, which are chains of one or more connected tools. As well as tools, workflows can contain other workflows. Workflows are also described in CWL.

Collectively, tools and workflows are often referred to as apps.

About Rabix Composer

Rabix Composer is the tool and workflow editor for Rabix. It allows you to browse and edit tools and workflows using a GUI graph view or the CWL code view.

Rabix Composer runs as an application on your local machine. You can use Rabix Composer to create and edit CWL tools and workflows (apps) locally and also to access and edit apps from the supported cloud platforms (the [Seven Bridges Platform](# About the Seven Bridges Platform), the [Cancer Genomics Cloud (CGC)](# About the CGC) and [Cavatica](# About Cavatica)).

Local apps can be uploaded to any of these platforms and executed there as usual, but they can also be executed and tested locally using the Rabix Executor or another suitable CWL executor, for example, CWL Tool. When you are developing and testing an app, this is a major advantage, as it is more efficient, and saves platform time and execution costs. Because you are working locally, you can store your apps safely in your source control system while you are developing them, then upload them to your platform when they are completed.

Another useful feature is the ability to switch between the GUI editor and the CWL code view. Changes made in one view are immediately reflected in the other view so you can use whichever view is most suitable, without needing to transfer files between separate visual and text editors.

Rabix Composer has a simple and intuitive navigation structure, which allows you to easily and simultaneously view local apps, public apps and apps from your platform projects. Unlike the standard tool and workflow editors on the platforms, Rabix Composer allows you to open multiple tools and workflows in different tabs, making it easier to develop complex workflows.

You do not need a platform account to use Rabix Composer, but if you connect a platform account you can: access public tools and workflows from the platform access, edit and run tools and workflows from your platform projects develop and test new tools and workflows locally, efficiently and without computation charges, then upload them to the platform to use in your platform projects when they are ready.

About Rabix Executor

Rabix Executor allows you to execute CWL apps locally from the command line. You can use Rabix Executor to test apps locally you have developed using Rabix Composer.

You can find more information about Rabix executor here.

About the Seven Bridges Platform

The Seven Bridges Platform is a cloud-based environment for analyzing genomics data. It provides cloud-based access to public genomics reference files and datasets, and to public tools and workflows. You can also add your own data, tools and workflows and use them to build new workflows in combination with the publicly available tools and data.

The Seven Bridges Platform brings the power, efficiency and security of cloud infrastructure to your bioinformatics analyses. You can share your tools, data and results with your colleagues, and analyses are repeatable and reproducible.

About the CGC

The Cancer Genomics Cloud (CGC) offers similar functionality to the Seven Bridges Platform, but for academic users. It is funded by the National Cancer Institute, and includes The Cancer Genomics Atlas (TGCA) data.

If you do not have a platform account, you can sign up for a free CGC account with a small amount of computational credit. You can connect your CGC account to Rabix Composer and use that to explore the platform integration features.

Note that CGC accounts are intended for academic users. If you like what you see, and want to continue using the functionality on the CGC platform for ongoing commercial purposes, you can contact Seven Bridges Genomics and discuss a paid-for account on the Seven Bridges platform.

About Cavatica

Cavatica also offers similar functionality to the Seven Bridges Platform, but is focussed on data analysis of pediatric cancers and rare diseases. It is accessible by licensed users only.

About CWL formats and versions

The Rabix Composer workflow editor and tool editor allow you to create either CWL v1.0 or CWL sbg:draft-2, in either JSON or YAML format. When choosing the CWL version and format, you should be aware that:

  • YAML is generally easier to view and edit if you want to work at the code level. *The platform always generates JSON format CWL. You can publish a locally-created YAML app to the platform, but it will be converted to JSON when it is published on the platform.
  • The platform only partially supports CWL 1.0 apps at present. You can run CWL 1.0 tools and workflows, but not edit them yet, although platform support for CWL 1.0 is coming soon. If you want to work interchangeably in Rabix Composer and on the platform, you should choose CWL sbg:draft-2 format for now.
  • A few features that are supported in the earlier CWL sbg:draft-2 have not been included in CWL 1.0. For example, CWL v1.0 does not allow [dynamic expressions](#About dynamic expressions) in base commands when wrapping tools, whereas CWL sbg:draft-2 does. If you would like to include a dynamic expression as part of a base command in CWL v1.0, you should put the dynamic expression in an [argument](# Arguments) instead as you can include dynamic expressions in arguments.
  • Subject to the restrictions above, both CWL V1.0 and CWL sbg:draft-2 workflows can include a mix of CWL V1.0 and CWL sbg:draft-2 apps, and mixed workflows can be edited in Rabix Composer, executed in Rabix Executor, and executed on the platform. Note that other CWL executors may not support mixed workflows.

If you are creating new tools or workflows, we recommend that you use CWL V1.0 if possible, as this is the current standard and your tools and workflows will execute reliably on all platforms.

Read more about the [differences between CWL sbg:draft-2 and CWL v1.0](#CWL sbg:draft-2 and CWL v1.0 differences)

CWL sbg:draft-2 and CWL v1.0 differences

Coming shortly.