Introduction

This page documents the various endpoints used to convert IGB Quickloads to a UCSC track hub.

Converter UI

URL - https://translate.bioviz.org/

Get Requests

There are 3 get requests with different file paths /hub.txt, /genomes.txt, trackDb.txt.

  1. /hub.txt

        • hub – Generated from quickLoadUrl + /contents.txt. The contents.txt file contains the available genome assemblies and their titles. The first genome name in contents.txt is considered the hub name and is prefixed with "IGB" to make it unique.
        • shortLabel – Same as hub. It is displayed as the Hub name when a track hub URL is added in Connected Hubs in UCSC Track Data Hubs.
        • longLabel – Displays the first genome name and the count of the other available genomes. It appears as the description in UCSC Track Data Hubs.
        • genomesFile – Always set to genomes.txt.
        • email – Always set to igbhelper@gmail.com.
  1. /genomes.txt

  2. /trackDb.txt

          1. genomic_extensions = {
                        'bigWig': ['bw', 'bigwig'],
                        'bigBed 12': ['bb', 'bigbed'],
                        'bigGenePred': ['bb'],
                        'bigChain': ['bigchain'],
                        'bigNarrowPeak': ['bb'],
                        'bigBarChart': ['bb'],
                        'bigInteract': ['bb'],
                        'bigPsl': ['bb'],
                        'bigMaf': ['bb'],
                        'hic': ['hic'],
                        'bam': ['bam', 'cram'],
                        'HAL': ['hal'],
                        'vcfTabix': ['vcf', 'vcf.gz']
                    }
          2. Get the extension of bigDataUrl.
          3. If the extension is present in genomic_extensions and equals "bb", check whether the word before .bb matches a key in genomic_extensions. If yes, return that key (e.g., bigGenePred).
          4. Example: GSE63189_Catalog_of_lncRNAs_in_MCF-7cells.bigGenePred.bb → bigGenePred.
          5. Otherwise, if the extension matches a value in genomic_extensions, return the corresponding key.
          6. If the extension is just .bb, return bigBed 12.
        1. visibility – Always set to "dense".

Head Request

Generate UCSC Synonyms.txt