Mercurial > repos > pimarin > data_manager_bakta
comparison data_manager/bakta_build_database.py @ 10:9c65e5da43e2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bakta commit 20b67e8bc2fdd0b7923a2da9d6828eb4e06b6bd8-dirty
author | pimarin |
---|---|
date | Thu, 27 Oct 2022 15:56:22 +0000 |
parents | faae5d8ce0cb |
children | c50e8b4f74d7 |
comparison
equal
deleted
inserted
replaced
9:683b09c92299 | 10:9c65e5da43e2 |
---|---|
239 bakta_db = bakta_upload.fetch_db_versions( | 239 bakta_db = bakta_upload.fetch_db_versions( |
240 db_version=all_args.database_version) | 240 db_version=all_args.database_version) |
241 # update the path for galaxy | 241 # update the path for galaxy |
242 bakta_upload.db_dir = target_dir | 242 bakta_upload.db_dir = target_dir |
243 # download the database | 243 # download the database |
244 print(bakta_db) | |
244 bakta_upload.download() | 245 bakta_upload.download() |
245 # check md5 sum | 246 # check md5 sum |
246 bakta_upload.calc_md5_sum() | 247 bakta_upload.calc_md5_sum() |
247 # untar db | 248 # untar db |
248 bakta_extracted_path = bakta_upload.untar() | 249 bakta_extracted_path = bakta_upload.untar() |