Patricia Chan gave a lecture on setting up the UCSC Genome Browser. genomebrowsersetup.pdf
Written in C and JavaScript (JQuery)
To install or mirror a genome browser on a new server: http://genomewiki.ucsc.edu/index.php/Browser_Installation
/gbdb/<DB name>
centraldb
centraldb.dbDb stores the informationcentraldb.blatservers stores the info for two blat servers (one of DNA, one for protein sequences).hg.confTrack Info
trackDb table in each genome's MySQL database.trackDb.ra files as input source.trackDb.ra contains tracks that apply to multiple genomes.Kent Code Base
make utils in ~/kent/src~/bin/${MACHTYPE}Browser Configuration File
.hg.confcentraldb info, trackDb info./gbdb/newGenome directory for a new genome assemblyfaToTwoBit chr1.fa [chr2.fa …] /gbdb/newGenome/newGenome.2bithgsql “” -e “create database if not exists newGenome”hgsql is a wrapper for passing SQL commands. The first argument is the database name.cd ~/kent/src/hg/libhgsql newGenome < grp.sqlfaSize -detailed chr1.fa [chr2.fa …] > chrominfo.tabhgsql newGenome < ~/kent/src/hg/lib/ chromInfo.sqlhgsql newGenome -e 'load data local infile “chrominfo.tab” into table chromInfo;“hgsql newGenome -e 'update chromInfo set fileName = ”/gbdb/newGenome/newGenome.2bit“centraldb.dbDb tablecentraldb.defaultDb tablecentraldb.genomeClade tablecentraldb.clade table./gbdb/newGenome/html/description.html)~/kent/src/hg/makeDb/trackDb~/kent/src/hg/makeDb/trackDb/<DB name>hgFindSpec table is required for specifying search criteria.trackDb.ra.centraldb.blatServers table.rsync -v /gbdb/newGenome/newGenome.2bit blat_host:/gbdb/newGenomemake-browser.