lozuponelab / AMON

Annotation of Metabolite Origin via Networks: A tool for predicting putative metabolite origins for microbes or between microbes and host with or without metabolomics data
MIT License
21 stars 11 forks source link

Skip async download from kegg #17

Closed sterrettJD closed 7 months ago

sterrettJD commented 7 months ago

Downloading KEGG data from KEGG_parser in parallel has been causing issues, as KEGG has altered the allowed request rate (though it's hard to find info on exactly what this is). AMON now defaults to downloading data from KEGG sequentially, which unfortunately is much slower :(

An argument, --download_kegg_async, has been added. If this is passed, the parallel download will be attempted. Otherwise, it will not.

Maybe future updates should consider caching the parsed KEGG data?

Also bumped version to 1.0.1