Minimal Browser Installation: Difference between revisions

From genomewiki
Jump to navigationJump to search
No edit summary
Line 7: Line 7:
a subset of data can be downloaded.
a subset of data can be downloaded.


At a minimum you will need the .2bit file or the nib files for the assembly.  This is either:<BR><pre>
A minimal browser database needs five tables:
<UL>
<LI>grp</LI>
<LI>chromInfo</LI>
<LI>trackDb</LI>
<LI>hgFindSpec</LI>
<LI>any other table, for example gap</LI>
</UL>
 
The gateway page needs the hgcentral database to function.  The hgcentral database can by copied as the three MySQL data files from the ftp server ftp://hgdownload.cse.ucsc.edu/mysql/hgcentral or loaded from the SQL text file at http://hgdownload.cse.ucsc.edu/admin/hgcentral.sql
 
Currently (August 2006) the gateway page expects the human hg18 database to exist in order to function without difficulty.  This concept of the default genome needs to be a configuration item in the '''cgi-bin/hg.conf''' file to avoid this dependency.  This needs to be fixed in '''src/hg/lib/hdb.c'''.
 
For the /gbdb/ data area, at a minimum you will need the .2bit file or the nib files for the assembly.  This is either:<BR><pre>
/gbdb/<database>/<database>.2bit
/gbdb/<database>/<database>.2bit
or
or

Revision as of 21:51, 15 August 2006

Minimal Browser Installation

Usually a browser installation wants to be a subset of genomes compared to the entire UCSC Genome Browser

Instead of the entire rsync of everything mentioned in the Mirror Instructions, a subset of data can be downloaded.

A minimal browser database needs five tables:

  • grp
  • chromInfo
  • trackDb
  • hgFindSpec
  • any other table, for example gap

The gateway page needs the hgcentral database to function. The hgcentral database can by copied as the three MySQL data files from the ftp server ftp://hgdownload.cse.ucsc.edu/mysql/hgcentral or loaded from the SQL text file at http://hgdownload.cse.ucsc.edu/admin/hgcentral.sql

Currently (August 2006) the gateway page expects the human hg18 database to exist in order to function without difficulty. This concept of the default genome needs to be a configuration item in the cgi-bin/hg.conf file to avoid this dependency. This needs to be fixed in src/hg/lib/hdb.c.

For the /gbdb/ data area, at a minimum you will need the .2bit file or the nib files for the assembly. This is either:

/gbdb/<database>/<database>.2bit
or
/gbdb/<database>/nib/*.nib

Various tracks use other files in this directory. If you don't care about all the tracks, you won't need other files here.

For the genbank sequences, you can check the gbExtFile table for your database to see exactly which files are used by that assembly in /gbdb/genbank/
Extract the "path" column from that table and use that list in a --files-from specification for your rsync.