Duke-GCB/TrackHubGenerator

Name: TrackHubGenerator

Owner: Duke Center for Genomic and Computational Biology

Description: Python and Make tools for generating UCSC Track Hubs

Created: 2015-08-14 18:30:36.0

Updated: 2016-02-02 15:53:42.0

Pushed: 2017-03-02 19:08:07.0

Homepage: null

Size: 518

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TrackHubGenerator

Python, CWL and Make tools for generating UCSC Track Hubs. These can be added as custom data to both the UCSC Genome Browser and the Ensembl browser.

The trackhub data generated can be found on GCB's trackhub server.

Usage

This tool is designed to operate on directories of bed files, generated by SVR_models. The bed files generated will be specific to a TF (e.g. E2F1 or E2F4) and a genome assembly (e.g. hg19 or hg38).

First, the bigbed-workflow.cwl workflow should be used to combine and convert the bed files into bigbed (.bb) files. Doing so requires CWL. A JSON job order file like bigbed-workflow-test.json is recommended:

$ export PATH=$PATH:/path/to/TrackHubGenerator/cwl/bin
$ cwltool --outdir /path/to/datadir bigbed-workflow.cwl job.json

This workflow produces a bigbed files as prescribed by the JSON.

To build the track hub directory, run make, specifying the path to the data directory (where the .bb files were placed) as well as the desired track hub directory:

  make HUBROOT=/path/to/trackhub DATA=/path/to/datadir

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.