This directory contains a dump of the UCSC genome annotation database for the Feb. 2009 assembly of the human genome (hg19, GRCh37 Genome Reference Consortium Human Reference 37 (GCA_000001405.1)). The annotations were generated by UCSC and collaborators worldwide. The Feb. 2009 human reference sequence (GRCh37) was produced by the Genome Reference Consortium: http://www.ncbi.nlm.nih.gov/projects/genome/assembly/grc/ Note on chrM: Since the release of the UCSC hg19 assembly, the Homo sapiens mitochondrion sequence (represented as "chrM" in the Genome Browser) has been replaced in GenBank with the record NC_012920. We have not replaced the original sequence, NC_001807, in the hg19 Genome Browser. We plan to use the Revised Cambridge Reference Sequence (rCRS, http://mitomap.org/bin/view.pl/MITOMAP/HumanMitoSeq) in the next human assembly release. Files included in this directory (updated nightly): - *.sql files: the MySQL commands used to create the tables - *.txt.gz files: the database tables in a tab-delimited format compressed with gzip. To see descriptions of the tables underlying Genome Browser annotation tracks, select the table in the Table Browser: http://genome.ucsc.edu/cgi-bin/hgTables?db=hg19 and click the "describe table schema" button. There is also a "view table schema" link on the configuration page for each track. --------------------------------------------------------------- If you plan to download a large file or multiple files from this directory, we recommend you use ftp rather than downloading the files via our website. To do so, ftp to hgdownload.cse.ucsc.edu, then go to the directory goldenPath/hg19/database/. To download multiple files, use the "mget" command: mget ... - or - mget -a (to download all the files in the directory) Alternate methods to ftp access. Using an rsync command to download the entire directory: rsync -avzP rsync://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/ . For a single file, e.g. gc5Base.txt.gz rsync -avzP rsync://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/gc5Base.txt.gz . Or with wget, all files: wget --timestamping 'ftp://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/*' With wget, a single file: wget --timestamping 'ftp://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/gc5Base.txt.gz' -O gc5Base.txt.gz To uncompress the *.txt.gz files: gunzip .txt.gz The tables can be loaded directly from the .txt.gz compressed file. It is not necessary to uncompress them to load into a database, as shown in the example below. To load one of the tables directly into your local mirror database, for example the table chromInfo: ## create table from the sql definition $ hgsql hg19 < chromInfo.sql ## load data from the txt.gz file $ zcat chromInfo.txt.gz | hgsql hg19 --local-infile=1 -e 'LOAD DATA LOCAL INFILE "/dev/stdin" INTO TABLE chromInfo;' All the files and tables in this directory are freely usable for any purpose.