diff SeqSero.py @ 7:3d6680af0bec draft

planemo upload commit a4fb57231f274270afbfebd47f67df05babffa4a-dirty
author charles_s_test
date Mon, 27 Nov 2017 16:30:27 -0500
parents 6895de35a263
children 53efef402c51
line wrap: on
line diff
--- a/SeqSero.py	Mon Nov 27 14:37:41 2017 -0500
+++ b/SeqSero.py	Mon Nov 27 16:30:27 2017 -0500
@@ -26,11 +26,11 @@
     mapping_mode=args.b
     dataset=args.i
     if mode_choice=="1":
-      print dataset[0]
+      print(dataset[0])
       os.system("cp "+dataset[0]+" "+make_dir)
       os.chdir(make_dir)
       os.system("python2.7 "+dirpath+"/libs/run_auto_All_for_web_multi_revise.py "+dataset[0].split("/")[-1]+" "+mapping_mode+" 1")
-      print "\n\n\nResult:\n"
+      print("\n\n\nResult:\n")
       os.system("cat Seqsero_result.txt")
       os.system("rm "+dataset[0].split("/")[-1])
     elif mode_choice=="2":
@@ -39,21 +39,21 @@
       fnameA=dataset[0].split("/")[-1]
       fnameB=dataset[1].split("/")[-1]
       os.chdir(make_dir)
-      print "check fastq id and make them in accordance with each other...please wait..."
+      print("check fastq id and make them in accordance with each other...please wait...")
       os.system("python2.7 "+dirpath+"/libs/run_auto_All_for_web_multi_revise.py "+fnameA+" "+mapping_mode+" "+fnameB+" 2")
-      print "\n\n\nResult:\n"
+      print("\n\n\nResult:\n")
       os.system("cat Seqsero_result.txt")
     elif mode_choice=="3":
       os.system("cp "+dataset[0]+" "+make_dir)
       os.chdir(make_dir)
       os.system("python2.7 "+dirpath+"/libs/run_auto_All_for_web_multi_revise.py "+dataset[0].split("/")[-1]+" "+mapping_mode+" 3")
-      print "\n\n\nResult:\n"
+      print("\n\n\nResult:\n")
       os.system("cat Seqsero_result.txt")
     elif mode_choice=="4":
       os.system("cp "+dataset[0]+" "+make_dir)
       os.chdir(make_dir)
       os.system("python2.7 "+dirpath+"/libs/run_auto_All_for_assemblies.py "+dataset[0].split("/")[-1])
-      print "\n\n\nResult:\n"
+      print("\n\n\nResult:\n")
       os.system("cat Seqsero_result.txt")
 
 if __name__ == '__main__':