5f58b8c336cffcaa1a7792363bbafa82a7d02e9e max Thu Oct 24 15:58:50 2013 -0700 fix typo in help message diff --git src/utils/mapViewerToGenePred/mapViewerToGenePred src/utils/mapViewerToGenePred/mapViewerToGenePred index 6bcb281..193cbaa 100755 --- src/utils/mapViewerToGenePred/mapViewerToGenePred +++ src/utils/mapViewerToGenePred/mapViewerToGenePred @@ -1,30 +1,30 @@ #!/usr/bin/env python # written by Max Haeussler, Aug 2013 # converts ncbi mapviewer .md files to gene pred import sys, gzip, operator, logging, optparse from collections import defaultdict # === COMMAND LINE INTERFACE, OPTIONS AND HELP === parser = optparse.OptionParser("""usage: %prog [options] inFileGzOK outFileStdOutOk - converts NCBI mapviewer files to UCSC genePred format NCBI provides mapviewer files at ftp://ftp.ncbi.nih.gov/genomes/MapView/ An example for Homo sapiens is seq_gene.md.gz """) parser.add_option("-d", "--debug", dest="debug", action="store_true", help="show debug messages") -parser.add_option("-a", "--assembly", dest="assembly", action="store", help="The assemly to use, default %default", default="Primary_Assembly") +parser.add_option("-a", "--assembly", dest="assembly", action="store", help="The assembly to use, default %default", default="Primary_Assembly") #parser.add_option("", "--test", dest="test", action="store_true", help="do something") (options, args) = parser.parse_args() if options.debug: logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.INFO) if args==[]: parser.print_help() exit(1) # ============== FUNCTIONS ================= def main(args, options): inFname, outFname = args