Ensembl Links: Difference between revisions

From genomewiki
Jump to navigationJump to search
Line 15: Line 15:
   ensArchive aug2007
   ensArchive aug2007


* A trackDb dataVersion setting line should be added to show which Ensembl Release was used to create the track
* Add the Ensembl Release number to the trackDb longLabel
   dataVersion Ensembl Release 46
 
* A trackDb dataVersion setting line should be added to show the date of the Ensembl Release was used to create the track
   dataVersion August 2007


* Add the release number to the longLabel setting for the track.
* Add the release number to the longLabel setting for the track.
  longLabel Ensembl v46 Gene Predictions (Protein-Coding Genes)
For this track, only protein-coding genes were added to this is reflected in the label.


* NOTE: URLs are constructed by the hgc.c code by the printEnsemblUrl() function that is called by doEnsemblGene().
* NOTE: URLs are constructed by the hgc.c code by the printEnsemblUrl() function that is called by doEnsemblGene().
* IMPORTANT: Make sure that there is an entry in the appropriate make doc with the Ensembl Release number and the release date for that release. An entry should be added even in the track was created using Robert Baertsch's automated Ensembl track build program, hgLoadEnsembl.


[[Category:Browser QA]]
[[Category:Browser QA]]

Revision as of 16:47, 14 January 2008

Creating URL Links to Ensembl

  • On the Ensembl details pages, there are links to the Ensembl Transcript ID and Ensembl Protein ID details pages.

e.g.

 Ensembl Gene Link: ENST00000370314
 Ensembl Protein: ENSP00000359337

where the IDs are the links to Ensembl (http://www.ensembl.org) pages.

  • Ensembl is updated every 2 months and the older versions are archived. Check Ensembl [1] for the date of the correct Ensembl release for the track.
  • In order to make sure that the URLs constructed for the links are pointing to the correct archive, an ensArchive trackDb setting is added to the assembly level trackDb.ra with the Ensembl release date e.g. for zebrafish danRer5:
 hgwdev> cd ~/kent/src/hg/makeDb/trackDb/zebrafish/danRer5
 hgwdev> vi trackDb.ra

Edit and add a trackDb setting line like this to the ensGene track:

 ensArchive aug2007
  • Add the Ensembl Release number to the trackDb longLabel
  • A trackDb dataVersion setting line should be added to show the date of the Ensembl Release was used to create the track
 dataVersion August 2007
  • Add the release number to the longLabel setting for the track.
 longLabel Ensembl v46 Gene Predictions (Protein-Coding Genes)

For this track, only protein-coding genes were added to this is reflected in the label.

  • NOTE: URLs are constructed by the hgc.c code by the printEnsemblUrl() function that is called by doEnsemblGene().
  • IMPORTANT: Make sure that there is an entry in the appropriate make doc with the Ensembl Release number and the release date for that release. An entry should be added even in the track was created using Robert Baertsch's automated Ensembl track build program, hgLoadEnsembl.