06886baf58cbcece09362bbcf55ab91b18077f69 max Tue Mar 21 02:27:55 2023 -0700 tiny docs change, refs #30316 diff --git src/utils/bigGuessDb/bigGuessDb src/utils/bigGuessDb/bigGuessDb index 6d9a58e..c57f76e 100755 --- src/utils/bigGuessDb/bigGuessDb +++ src/utils/bigGuessDb/bigGuessDb @@ -10,31 +10,31 @@ # ==== functions ===== def parseArgs(): " setup logging, parse command line arguments and options. -h shows auto-generated help page " parser = optparse.OptionParser("usage: %prog [options] filename - given a bigBed or "\ "bigWig file, " \ "guess the assembly based on the chrom sizes") parser.add_option("-d", "--debug", dest="debug", action="store_true", \ help="show debug messages") parser.add_option("", "--index", dest="index", action="store_true", \ help="go /hive/data/genomes and build an index file with all chromSizes") parser.add_option("-b", "--best", dest="best", action="store_true", \ help="only print a single string, the best matching assembly, or 'emptyFile' or 'notFound'. ") parser.add_option("", "--indexFile", dest="indexFname", action="store", \ - help="Use specified index file, default is %default", default="~/.guessAssembly.txt.gz") + help="Use specified index file, default is %default. Use --index to create this file.", default="~/.guessAssembly.txt.gz") (options, args) = parser.parse_args() if args==[] and not options.index: parser.print_help() exit(1) if options.debug: logging.basicConfig(level=logging.DEBUG) logging.getLogger().setLevel(logging.DEBUG) else: logging.basicConfig(level=logging.INFO) logging.getLogger().setLevel(logging.INFO) return args, options