@@ -168,7 +168,7 @@ def starting(args):
168168 args .raxml , args .raxml_parameter ,
169169 args .fasttree , args .fasttree_parameter ,
170170 args .iqtree , args .iqtree_parameter ,
171- args .thread )
171+ args .thread , args . db )
172172
173173 # Reconstruct phylogenetic tree by extend highly conserved proteins.
174174 elif args .EHCP :
@@ -197,7 +197,8 @@ def starting(args):
197197 args .raxml , args .raxml_parameter ,
198198 args .fasttree , args .fasttree_parameter ,
199199 args .iqtree , args .iqtree_parameter ,
200- args .thread , args .extenddata )
200+ args .thread , args .extenddata ,
201+ args .db )
201202 # Reconstruct phylogenetic tree by highly conserved proteins.
202203 elif args .HCP :
203204 setlogdir (out_put )
@@ -270,11 +271,11 @@ def starting_srna(in_put, out_put,
270271 args_raxml , args_raxml_p ,
271272 args_fasttree , args_fasttree_p ,
272273 args_iqtree , args_iqtree_p ,
273- args_thread ):
274+ args_thread , args_db ):
274275 '''reconstruct phylogenetic tree by ssu rna method'''
275276 ssu_input , recovery_dic = checkSilvaOrganism (in_put )
276277 start = time .time ()
277- out_retrieve = retrieve16srna (ssu_input , out_put )
278+ out_retrieve = retrieve16srna (ssu_input , out_put , args_db )
278279 end = time .time ()
279280 auto_build_log .info ('Retrieving SSU rRNA sequences used time: {} Seconds' .format (end - start ))
280281 if not recovery_dic == []:
@@ -370,7 +371,6 @@ def starting_ehcp(in_put, out_put,
370371 end2 = time .time ()
371372 auto_build_log .info ('Constructing species tree used time: {} Seconds' .format (end2 - start2 ))
372373
373-
374374def starting_esrna (in_put , out_put ,
375375 args_muscle , args_muscle_p ,
376376 args_clustalw , args_clustalw_p ,
@@ -380,12 +380,13 @@ def starting_esrna(in_put, out_put,
380380 args_raxml , args_raxml_p ,
381381 args_fasttree , args_fasttree_p ,
382382 args_iqtree , args_iqtree_p ,
383- args_thread , args_extenddata ):
383+ args_thread , args_extenddata ,
384+ args_db ):
384385 '''reconstruct phylogenetic tree by ssu rna extend method'''
385386 extend_check = checkFile (args_extenddata )
386387 ssu_input , recovery_dic = checkSilvaOrganism (in_put )
387388 start = time .time ()
388- out_retrieve = retrieve16srna (ssu_input , out_put )
389+ out_retrieve = retrieve16srna (ssu_input , out_put , args_db )
389390 end = time .time ()
390391 auto_build_log .info ('Retrieving SSU rRNA sequences used time: {} Seconds' .format (end - start ))
391392 if not recovery_dic == {}:
0 commit comments