Fetch Data


fetchChromSizes <db> > <db>.chrom.sizes


This tool is part of UCSC Genome Browser's utilities.

Required arguments

  • <db>:  name of UCSC database, e.g.: hg38, hg19, hg18, mm10, mm9, etc ...

This script expects to find one of the following commands: wget, mysql, or ftp in order to fetch information from UCSC.

Route the output to the file .chrom.sizes as indicated above.


The following command will export chromosome sizes for human reference genome (hg38) to a file hg38.chrom.sizes

fetchChromSizes hg38 > hg38.chrom.sizes


Share your experience or ask a question