Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce bakta_io output file reconstruction #339

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Conversation

oschwengers
Copy link
Owner

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:

  • <prefix>.fna
  • <prefix>.faa
  • <prefix>.ffn
  • <prefix>.gff3
  • <prefix>.gbff
  • <prefix>.embl
  • <prefix>.hypotheticals.faa
  • <prefix>.hypotheticals.tsv
  • <prefix>.inference.tsv
  • <prefix>.png
  • <prefix>.svg
  • <prefix>.tsv
  • <prefix>.txt

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.

@oschwengers oschwengers added this to the v1.10.0 milestone Oct 16, 2024
@oschwengers oschwengers self-assigned this Oct 16, 2024
@oschwengers oschwengers linked an issue Oct 16, 2024 that may be closed by this pull request
@oschwengers oschwengers merged commit 4df8889 into main Oct 16, 2024
18 checks passed
@oschwengers oschwengers deleted the feature-output-files branch October 16, 2024 13:39
oschwengers added a commit that referenced this pull request Oct 30, 2024
oschwengers added a commit that referenced this pull request Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(Re-)Generating bakta outputs from the JSON only
1 participant