mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 01:00:27 +08:00
Update trees.py
This commit is contained in:
parent
1d7d8b9e91
commit
ff249d7973
@ -44,9 +44,9 @@ def run(params):
|
|||||||
|
|
||||||
#Run IQ-Tree
|
#Run IQ-Tree
|
||||||
if params.tree_method == 'iqtree':
|
if params.tree_method == 'iqtree':
|
||||||
os.system('iqtree2 -s ' + guidance_path + '/' + file + ' -m LG+G -T 10 --prefix ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree')
|
os.system(' /usr/local/bin/iqtree2 -s ' + guidance_path + '/' + file + ' -m LG+G -T 10 --prefix ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree')
|
||||||
elif params.tree_method == 'iqtree_fast':
|
elif params.tree_method == 'iqtree_fast':
|
||||||
os.system('iqtree2 -s ' + guidance_path + '/' + file + ' -m LG+G -T 10 --fast --prefix ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree')
|
os.system('/usr/local/bin/iqtree2 -s ' + guidance_path + '/' + file + ' -m LG+G -T 10 --fast --prefix ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree')
|
||||||
|
|
||||||
#Copy over the final output
|
#Copy over the final output
|
||||||
if os.path.isfile(tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile'):
|
if os.path.isfile(tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile'):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user