cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
147 stars 50 forks source link

carveme_init: HTTP Error 404: Not Found #92

Closed silvtal closed 3 years ago

silvtal commented 3 years ago

Hi, I'm trying CarveMe for the first time to try and understand how it works. I tried to use carveme_init to fix the "Database was built with an older/different version of Diamond and is incompatible" error.

However, it fails because it tries to download non-existent files: Downloading data/input/bigg_proteins.faa Downloading data/input/equilibrator_compounds.tsv.gz Downloading data/input/refseq_release_92.tsv.gz Traceback (most recent call last): File "/home/urihs/.local/bin/carveme_init", line 36, in urllib.request.urlretrieve(inputfile, outputfile) File "/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(args) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(args) File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

The carveme_init needs to be modified so it doesn't try to download the 'data/input/genbank_release_230.tsv.gz' or the 92 refseq release (it should be downloading the 201 release).

cdanielmachado commented 3 years ago

Sorry, I am currently doing major changes and those links got broken.

Can you please do:

pip uninstall carveme
pip install https://github.com/cdanielmachado/carveme/archive/master.zip

And let me know if it is working ?

silvtal commented 3 years ago

Yes, it works. It didn't seem to work for me when reinstalling with pip install carveme, but now it does work. Thank you!