Skip to content

ncats/translator-workflows

Repository files navigation

Binder

cq-notebooks

Notebooks for answering competency questions

Our goal here is to create a catalog of working examples that demonstrate how to access, transform, integrate and visualize the diverse data sources we intend to use for projects like Translator.

We are currently using Jupyter notebooks as our means of documenting, prototyping, and sharing code. As some of these experiments mature into working prototype pipelines, we intend to extract this functionality from the notebooks and migrate it into a production pipeline.

Workplan

Orange team queries are initially collected in the spreadsheet here, with tabs for different collections of notebooks (e.g. demonstrator-driven queries, general benchmarking queries). From this staging area, select queries are implemented in Jupyter or Zeppelin notebooks. A detailed overview of spreadsheet contents and the workflow for CQ development can be found in the documents here and here.

Notebooks under active development each have an associated directory in this repo that includes the notebook itself, a descriptive README, and any associated code or data. For each notebook, a Github ticket is also created and tagged with a notebook-status label to track its status, ownership, and outcomes. These tickets enable a dashboard-like overview of progress notebooks to be generated here.

Running Locally

One-time Setup

You will need Python (e.g., Python 3.5.2). If you do not have pip installed, you can install it with following command:

sudo easy_install pip

Once you have pip, run the following commands for first time setup

virtualenv env
source env/bin/activate
pip install jupyter ipython pandas requests

Running

After the initial setup, you only need to execute the commands below to bring up the notebooks

source env/bin/activate
jupyter notebook

APIs

API development guidelines

TODO: we should aim to drive this list from Smart API registry

Live

Next

Hackathon

  • Disease prediction (Grey)

Translator TIDBITS Workflows

This is where the TIDBITS Workflows can be stored and edited.

In particular, you can use this git repository to track issues related to a given workflow.

One-time Setup

Upon git cloneing the project, you need to configure the mvp-modules-library git submodule:

$ git submodule init

Every time you git pull an update of the system, you may wish to also:

$ git submodule update