diff SeqSero.py @ 10:53efef402c51 draft

planemo upload commit a4fb57231f274270afbfebd47f67df05babffa4a-dirty
author charles_s_test
date Wed, 29 Nov 2017 08:34:19 -0500
parents 3d6680af0bec
children
line wrap: on
line diff
--- a/SeqSero.py	Tue Nov 28 21:16:36 2017 -0500
+++ b/SeqSero.py	Wed Nov 29 08:34:19 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__':