comparison rgToolFactory.py @ 22:2983106e1460 draft

Uploaded
author fubar
date Sun, 23 Mar 2014 08:17:32 -0400
parents abeec897b2d7
children f87139fe5e09
comparison
equal deleted inserted replaced
21:abeec897b2d7 22:2983106e1460
320 xdict['help'] = open(self.opts.help_text,'r').readlines() 320 xdict['help'] = open(self.opts.help_text,'r').readlines()
321 xdict['help'] = ''.join([x.lstrip(x) for x in xdict['help']]) 321 xdict['help'] = ''.join([x.lstrip(x) for x in xdict['help']])
322 else: 322 else:
323 xdict['help'] = 'Please ask the tool author for help as none was supplied at tool generation\n' 323 xdict['help'] = 'Please ask the tool author for help as none was supplied at tool generation\n'
324 coda = ['**Script**','Pressing execute will run the following code over your input file and generate some outputs in your history::'] 324 coda = ['**Script**','Pressing execute will run the following code over your input file and generate some outputs in your history::']
325 coda.append('\n')
325 coda.append(self.indentedScript) 326 coda.append(self.indentedScript)
326 coda.append('\n**Attribution**\nThis Galaxy tool was created by %s at %s\nusing the Galaxy Tool Factory.\n' % (self.opts.user_email,timenow())) 327 coda.append('\n**Attribution**\nThis Galaxy tool was created by %s at %s\nusing the Galaxy Tool Factory.\n' % (self.opts.user_email,timenow()))
327 coda.append('See %s for details of that project' % (toolFactoryURL)) 328 coda.append('See %s for details of that project' % (toolFactoryURL))
328 coda.append('Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. ') 329 coda.append('Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. ')
329 coda.append('Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573\n') 330 coda.append('Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573\n')