oschwengers / bakta

Rapid & standardized annotation of bacterial genomes, MAGs & plasmids
GNU General Public License v3.0
448 stars 55 forks source link

introduce bakta_io output file reconstruction #339

Closed oschwengers closed 1 month ago

oschwengers commented 1 month ago

As requested in #300 and #304, this PR introduces the new bakta_io function to reconstruct all output files from the JSON result file (optionally gzipped).

bakta_io --output <output-path> result.json[.gz] is able to reconstruct the following output files:

And, in addition, it writes its own <prefix>.reconstruction.log file.

Hence, to backup and store all information, the original <prefix>.log file should be stored along with the <prefix>.json file, if required.