def run_fast(aligned, threads, cluster, node):
tree = '<STR_LIT>' % (aligned.rsplit('<STR_LIT:.>', <NUM_LIT:1>)[<NUM_LIT:0>])<EOL>if check(tree) is False:<EOL><INDENT>if '<STR_LIT>' in os.environ:<EOL><INDENT>ft = os.environ['<STR_LIT>']<EOL>os.environ['<STR_LIT>'] = str(threads)<EOL><DEDENT>else:<EOL><INDENT>ft = '<STR_LIT>'<EOL>os.environ['<STR_LIT>'] = str(threads)<EOL><DEDENT>if check_type(aligned) == '<STR_LIT>':<EOL><INDENT>type = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>type = '<STR_LIT>'<EOL><DEDENT>dir = os.getcwd()<EOL>command = '<STR_LIT>' %(dir, aligned, ft, dir, tree, type, dir, tree, dir, tree)<EOL>if cluster is False:<EOL><INDENT>p = Popen(command, shell = True)<EOL><DEDENT>else:<EOL><INDENT>if int(threads) > <NUM_LIT>:<EOL><INDENT>ppn = <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>ppn = threads<EOL><DEDENT>re_call = '<STR_LIT>' % (dir.rsplit('<STR_LIT:/>', <NUM_LIT:1>)[<NUM_LIT:0>], '<STR_LIT:U+0020>'.join(sys.argv))<EOL>if node is False:<EOL><INDENT>node = '<STR_LIT:1>'<EOL><DEDENT>qsub = '<STR_LIT>' % (node, ppn)<EOL>p = Popen('<STR_LIT>' % (command, re_call, qsub), shell = True)<EOL><DEDENT>p.communicate()<EOL><DEDENT>return tree<EOL>
run FastTree