opencobra / memote

memote – the genome-scale metabolic model test suite
https://memote.readthedocs.io/
Apache License 2.0
123 stars 26 forks source link

Convert json output to tsv? #740

Closed franciscozorrilla closed 1 year ago

franciscozorrilla commented 1 year ago

✅ Checklist

👶 n00b question

Is there an quick/easy way to get the contents of the results.json file in a flat tab separated file? I want to compare certain numeric metrics across multiple models/reports, but based on the helpfile/documentation there doesn't seem to be a flatfile/tsv flag or option anywhere that I can see. I tried using the jq command but having a hard time converting to tsv.

Midnighter commented 1 year ago

There isn't an easy way. There is code for that in the paper repo where we did this.

https://github.com/biosustain/memote-meta-study

I agree it would be a useful output option, though.

franciscozorrilla commented 1 year ago

thanks! forgot about the code from the other repo, exactly what I needed