Skip to content

Commit

Permalink
Adjusted readme and merged oxa fix branch into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxanne Wolthuis committed Feb 18, 2022
2 parents f19e879 + e47cce8 commit c652f7d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/python_scripts/download_dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def download_db_resfinder(resfinder_db_dir):
current_dir = os.getcwd()
os.chdir(resfinder_db_dir)
os.system(f"python3 INSTALL.py")
#Applying a change in the phenotypes.txt file of resfinder_db for gene OXA-244
oxa_cmd="sed -i 's/\(blaOXA-244_1_KP659189\)\(\tBeta-lactam\)\(\tUnknown Beta-lactam\)/\\1\\2\tAmoxicillin, Amoxicillin+Clavulanic acid, Ampcillin, Ampicillin+Clavulanic acid, Imipenem, Meropenem, Piperacillin, Piperacillin+Tazobactam/' phenotypes.txt"
os.system(oxa_cmd)
os.chdir(current_dir)
except (OSError, IOError) as err:
print("OS error: ", err)
Expand Down Expand Up @@ -124,4 +127,4 @@ def get_downloads_juno_amr(db_dir, current_dir, update_dbs):
return software_version

if __name__ == '__main__':
main()
main()

0 comments on commit c652f7d

Please sign in to comment.