5151 plus the name you want to give your results\n " ,
5252 metavar = "basefile" )
5353parser .add_argument ("-c" , dest = "configFile" , nargs = 1 ,
54- help = "Provide the full path to your configuration file. If \
55- none is provided, the program will look in the current \
54+ help = "Provide the full path to your configuration file. \
55+ If none is provided, the program will look in the current \
5656 working directory and then in ~/.config/4Pipe4rc (in this\
5757 order) for one. If none is found the program will stop\n " ,
5858 metavar = "configfile" )
5959parser .add_argument ("-s" , dest = "run_list" , nargs = "?" ,
60- default = "1 2 3 4 5 6 7 8 9" , help = "Specify the numbers\
60+ default = "1 2 3 4 5 6 7 8 9" , help = "Specify the numbers \
6161 corresponding to the pipeline steps that will be run. The \
6262 string after -s must be given inside quotation marks, and \
63- numbers can be joined together or separated by any symbol. \
64- The numbers are the pipeline steps that should be run. \
65- This is an optional argument and it's omission will run \
66- all steps by default. The numbers, from 1 to 9 represent \
67- the following steps:\n \t 1 - SFF extraction\n \t 2 - \
68- SeqClean\n \t 3 - Mira\n \t 4 - DiscoveryTCS\n \t 5 - \
63+ numbers can be joined together or separated by any \
64+ symbol. The numbers are the pipeline steps that should be \
65+ run. This is an optional argument and it's omission will \
66+ run all steps by default. The numbers, from 1 to 9 \
67+ represent the following steps:\n \t 1 - SFF extraction\n \t 2 \
68+ - SeqClean\n \t 3 - Mira\n \t 4 - DiscoveryTCS\n \t 5 - \
6969 SNP grabber\n \t 6 - ORF finder\n \t 7 - Blast2go\n \t 8 - SSR \
7070 finder\n \t 9 - 7zip the report" )
7171arg = parser .parse_args ()
@@ -97,7 +97,7 @@ def StartUp():
9797 rcfile = os .path .abspath (os .path .expanduser ('~/.config/4Pipe4rc' ))
9898 print ("No config file provided, falling back to ~/.config/4Pipe4rc" )
9999 else :
100- print ("\n ERROR:No config file provided nor found in the standard\
100+ print ("\n ERROR:No config file provided nor found in the standard \
101101 locations.\n " )
102102 quit ("Please run 4Pipe4.py -h for help with running the pipeline." )
103103 try :
@@ -112,7 +112,7 @@ def StartUp():
112112def SysPrep (basefile ):
113113 '''Function for prepairing the system for the pipeline.'''
114114 if os .path .isdir (basefile ):
115- print ("\n The path used for the basefile points to a directory!\
115+ print ("\n The path used for the basefile points to a directory! \
116116 Please use a file.\n " )
117117 quit ("Please run 4Pipe4.py -h for help with running the pipeline." )
118118 basepath = os .path .split (basefile )
@@ -136,7 +136,7 @@ def RunProgram(cli, requires_output):
136136 print (lines )
137137 program_stdout .append (lines )
138138 except :
139- quit ("\n ERROR:Program not found... exiting. Check your configuration\
139+ quit ("\n ERROR:Program not found... exiting. Check your configuration \
140140 file.\n " )
141141 if requires_output == 1 :
142142 return program_stdout
@@ -164,7 +164,7 @@ def SffExtract(sff, clip):
164164 number = number + letters
165165 return number
166166 else :
167- print ("The found value seems acceptable. If this message is displayed\
167+ print ("The found value seems acceptable. If this message is displayed \
168168 twice in a row you have found your min_left_clip.\n " )
169169 return "OK"
170170
0 commit comments