b9215df0d1df3b3e2a655c0fa506bcfc20f243d6 hiram Mon Mar 2 10:40:13 2020 -0800 correct one line header message in usage() no redmine diff --git src/utils/userApps/fetchChromSizes src/utils/userApps/fetchChromSizes index b24189d..ba15111 100755 --- src/utils/userApps/fetchChromSizes +++ src/utils/userApps/fetchChromSizes @@ -1,22 +1,22 @@ #!/bin/sh # fetchChromSizes - script to grab chrom.sizes from UCSC via either of: # mysql, wget or ftp usage() { - printf "usage: fetchChromSizes <db> > <db>.chrom.sizes + printf "fetchChromSizes - script to grab chrom.sizes from UCSC via either of: mysql, wget or ftp\n\nusage: fetchChromSizes <db> > <db>.chrom.sizes used to fetch chrom.sizes information from UCSC for the given <db> <db> - name of UCSC database, e.g.: hg38, hg18, 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 <db>.chrom.sizes as indicated above. This data is available at the URL: http://hgdownload.soe.ucsc.edu/goldenPath/<db>/bigZips/<db>.chrom.sizes Example: fetchChromSizes hg38 > hg38.chrom.sizes\n" 1>&2 exit 255 } DB=$1 export DB