예제 #1
0
    print "           @@@@@@@@ ;;;;;;; @@@@@@@@    "
    print "         @@@@@@@@@@# ;;;;; +@@@@@@@@@@  "
    print "        #@@@@@@`@@@@@ .;. @@@@@.@@@@@@@ "
    print "        .@@@@@    @@@@@@@@@@@    @@@@@: "
    print "         .@@@@`    @@@@@@@@@     @@@@,  "
    print "           '@@@@@@+ @@@@@@@ '@@@@@@+    "
    print "              ;@@@#  @@@@@. +@@@; inoTour read until routines.       "
    print "                   .;;;;;;;,            "
    print "                  ;;;.   .;;;`          "
    print "                  ;;       ;;`          "
    print "  Welcome to the .;;:     ,;;,          "
    print ""

    print "This script WILL implement read until.\nIf you proceed it is at your own risk.\n\n"
    if not query_yes_no(
            "Seriously - are you happy to proceed? Entering yes will make it your fault..."
    ):
        sys.exit()
    print "***********************************************************************************************"
    if args.skip is True:
        print "**** This version of the code will not process reads derived from even numbered channels.  ****"
    else:
        print "****        This version of the code will process reads regardless of channel.             ****"
    print "***********************************************************************************************"
    logging.basicConfig(format='%(levelname)s:%(message)s',
                        filename=args.logfile,
                        filemode='w',
                        level=logging.INFO)
    current_time = time.time()
    print current_time