Giter Site home page Giter Site logo

trackhubs's Introduction

trackhubs

1. Project Name: TrackHubs v1.0.0

2. Project repository: https://github.com/umms-hackathon/trackhubs.git

3. Team members:

4. Aim: Creating ucsc genome browser hubs using an intuitive UI.

5. Project description: Creating an hub usually time consuming and error prune due to the text parsers in track hubs section in ucsc genome browser. Here we are going to create a system to allow users to add their own tracks to the genome browser and publish them in a web accessible area.

Basically, we are going to create three files in a directory structure below.

Alt text

We will first ask the initial information to the user to create hub.txt file;

  • hub MyHubsNameWithoutSpaces
  • shortLabel My Hub's Name
  • longLabel Name up to 80 characters versus shortLabel limited to 17 characters
  • email myEmail@address (Other fields in hub can be predifined)

For genome.txt file;

  • genome assembly_database_1
  • trackDb assembly_1_path/trackDb.txt

For trackDb.txt file;

  • track uniqueNameNoSpacesOrDots
  • type track_type
  • bigDataUrl track_data_url
  • shortLabel label 17 chars
  • longLabel long label up to 80 chars

The trackDb.txt file uses stanzas for each track to inform the Browser of the name, type, location, and description of each binary file to display. The trackDb settings allow further display control such as by adding the line color255,0,0 to define a track's color. Each track type (bigBed, bigWig, bam, and vcfTabix) has further customizable trackDb settings. The bigDataUrl can be a relative path to a local file or a publicly-accessibly URL that accepts byte-ranges. The trackDb.txt also allows for advanced track grouping known as composites, superTracks and multiWigs.

And user should add all selected files and choose color to the track. Please check the example trackDb.txt file below;

track  bigWig1
bigDataUrl http://hgdownload.soe.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeCshlLongRnaSeq/wgEncodeCshlLongRnaSeqA549CellLongnonpolyaMinusRawSigRep1.bigWig
shortLabel bigWig example
longLabel This bigWig file is an example from the ENCODE RNA-seq CSHL Track
type bigWig
visibility dense

track bigBed1
bigDataUrl http://hgdownload.soe.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeCaltechRnaSeq/wgEncodeCaltechRnaSeqGm12891R2x75Il200JunctionsRep1V3.bigBed
shortLabel bigBed example
longLabel This bigBed file is an example from the ENCODE RNA-seq Caltech Track
type bigBed
visibility dense

track bam1
bigDataUrl http://hgdownload.soe.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeCshlLongRnaSeq/wgEncodeCshlLongRnaSeqK562CellTotalAlnRep2.bam
#Note: There is a corresponding fileName.bam.bai in the same above directory 
shortLabel BAM example
longLabel This BAM file is an example from the ENCODE RNA-seq CSHL Track
type bam
visibility dense

track vcf1
bigDataUrl http://hgdownload.cse.ucsc.edu/gbdb/hg19/1000Genomes/ALL.chr21.integrated_phase1_v3.20101123.snps_indels_svs.genotypes.vcf.gz
#Note: there is a corresponding fileName.vcf.gz.tbi in the same above directory
shortLabel chr21 VCF example
longLabel This chr21 VCF file is an example from the 1000 Genomes Phase 1 Integrated Variant Calls Track
type vcfTabix
visibility dense

6. Supporting material and links:

Supporting material. Sample files, external links.

https://genome.ucsc.edu/goldenpath/help/hgTrackHubHelp.html

trackhubs's People

Contributors

jackh726 avatar ummsbiocore avatar nephantes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.