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

Quast 5.0.2: BUSCO DBs download fail #124

Closed
ptrebert opened this issue Jan 24, 2020 · 4 comments
Closed

Quast 5.0.2: BUSCO DBs download fail #124

ptrebert opened this issue Jan 24, 2020 · 4 comments

Comments

@ptrebert
Copy link

Hi,
in a fresh Conda environment with only quast=5.0.2, busco=4.0.2 and augustus=3.3.3, running the command quast-download-busco downloads only the Augustus database successfully. The BUSCO databases fail with the message "HTTP Error 301: Moved Permanently", which seems to be a known/re-occurring problem (see #65). A simple wget call with the given URL works fine, and shows that the domain changed from busco.ezlab.org/ to busco-archive.ezlab.org.

Apart from the above, it would be helpful if quast-download-busco would exit with a non-zero code if the database download fails; this would simplify unsupervised and automatic environment setups.

Best,
Peter

@javijevi
Copy link

I have the same error. I'd say that it's due to QUAST trying to download the odb9 version of the BUSCO database, whereas I think the BUSCO guys have upgraded to odb10 and eliminated the odb9 links which QUAST tries (e.g., https://busco.ezlab.org/v2/datasets/bacteria_odb9.tar.gz).

Any workaround to this?

Cheers,
Javier.

@alexeigurevich
Copy link
Contributor

The workaround is to use the latest pre-release Quast 5.1.0rc1 -- the BUSCO issue is fixed there. As soon as we will release a mature version 5.1.0, we will add it to conda as well.

@splaisan
Copy link

splaisan commented Jun 30, 2022

quast 5.0.2

Hi,
I have the same while installing metaWrap and do not dare to upgrade busco risking to break metawrap.
if @ptrebert is right, would it please be possible to change the code of quast-download-busco to point to the right URL.
I see that the url in not hardcoded in that script and do not know where to edit myself.
thanks in advance

I find these potential locations with grep

/opt/miniconda3/envs/metawrap/opt/quast-5.0.2 $ grep -Rwn . -e 'busco.ezlab.org'
Binary file ./quast_libs/run_busco.pyc matches
./quast_libs/busco/busco.py:13:And visit our website `<http://busco.ezlab.org/>`_
./quast_libs/busco/busco.py:81:             'Visit http://busco.ezlab.org for available lineages.')
Binary file ./quast_libs/busco/busco.pyc matches
./quast_libs/run_busco.py:25:bacteria_db_url = 'https://busco.ezlab.org/v2/datasets/bacteria_odb9.tar.gz'
./quast_libs/run_busco.py:26:fungi_db_url = 'https://busco.ezlab.org/v2/datasets/fungi_odb9.tar.gz'
./quast_libs/run_busco.py:27:eukaryota_db_url = 'https://busco.ezlab.org/v2/datasets/eukaryota_odb9.tar.gz'

@splaisan
Copy link

splaisan commented Jun 30, 2022

quast 5.0.2

OK, it was easy after all!
I edited the three lines in of run_busco.py in my quast conda env and replaced busco.ezlab.org by busco-archive.ezlab.org after what the command quast-download-busco ran perfectly
(thanks @ptrebert for the hint!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants