mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 01:00:27 +08:00
Update contamination.py
This commit is contained in:
parent
95b26b1880
commit
7074a1e71a
@ -344,6 +344,7 @@ def cl_iqtree(params):
|
||||
#Copy over the final output
|
||||
if os.path.isfile(tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile'):
|
||||
os.system('cp ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile ' + params.output + '/Output/Trees/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.tree')
|
||||
os.system('rm -r ' + params.output + '/Output/Intermediate/IQTree/*')
|
||||
|
||||
|
||||
#Utility function to run Iqtree_fast in between iterations (if this is the chosen tree-building method)
|
||||
@ -358,6 +359,7 @@ def cl_iqtree_fast(params):
|
||||
#Copy over the final output
|
||||
if os.path.isfile(tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile'):
|
||||
os.system('cp ' + tax_iqtree_outdir + '/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.treefile ' + params.output + '/Output/Trees/' + file.split('.')[0].split('_preguidance')[0] + '.IQTree.tree')
|
||||
os.system('rm -r ' + params.output + '/Output/Intermediate/IQTree/*')
|
||||
|
||||
|
||||
#Wrapper script to manage parameters and iteration
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user