Skip to content

Commit

Permalink
Add database_directory to getTaxid() call site
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Jun 20, 2023
1 parent 74a4f35 commit 5a5e8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mob_suite/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def hostrange(replion_types, relaxase_types, mob_cluster_id, ncbi, lit, ETE3DBTA
# move host-range prediction up to family when it is at genus or species level
if host_range_predictions['predicted_host_range_overall_rank'] == 'genus' or host_range_predictions[
'predicted_host_range_overall_rank'] == 'species':
taxid = getTaxid(host_range_predictions['predicted_host_range_overall_name'],ETE3DBTAXAFILE)
taxid = getTaxid(host_range_predictions['predicted_host_range_overall_name'],ETE3DBTAXAFILE,database_directory)
heir = getHeirarchy(taxid,ETE3DBTAXAFILE,database_directory)
names = heir['names']
ranks = heir['ranks']
Expand Down

0 comments on commit 5a5e8af

Please sign in to comment.