GABrowse URL formatΒΆ

The genome browser code supports direct linking to specific backends, readsets, and genomic positions.

These parameters are set using the hash. The format is very simple with only 3 supported key value pairs separated by & and then =:

  • backend

    The backend to use for API calls. example: GOOGLE or NCBI

  • readsetId

    The ID of the readset that should be loaded. See Important constants and links for more information.

  • location

    The genomic position to display at. Takes the form of <chromosome>:<base pair position>. example: 14:25419886 This can also be an RS ID or a string that will be searched on snpedia.

As you navigate in the browser (either locally or at http://gabrowse.appspot.com), the hash will automatically populate to include these parameters. But you can also manually create a direct link without having to go through the UI.

Putting all the pieces together, here is what a valid url looks like:

http://gabrowse.appspot.com/#backend=GOOGLE&readsetId=CPHG3MzoCRDY5IrcqZq8hMIB&location=14:25419886

Have feedback or corrections? All improvements to these docs are welcome! You can click on the “Edit on GitHub” link at the top right corner of this page or file an issue.

Need more help? Please see https://cloud.google.com/genomics/support.