quast icon indicating copy to clipboard operation
quast copied to clipboard

Error running QUAST with reads

Open fgvieira opened this issue 2 years ago • 6 comments

Installed quast from bioconda but, when running it with some pacbio reads, got an error because it could not compile bwa:

Running Reads analyzer...
Compiling BWA (details are in ~/conda/e6259dc85fe1040d962ac085bd6454c2/lib/python3.9/site-packages/quast_libs/bwa/make.log and make.err)
WARNING: Permission denied accessing ~/conda/e6259dc85fe1040d962ac085bd6454c2/lib/python3.9/site-packages/quast_libs/bwa. Did you forget sudo?
Failed reads analysis

If quast requires bwa/bedtools/gridss/..., wouldn't it be better to include them in the bioconda recipe?

Also, is it intended that quast uses bwa to map pacbio reads? Shouldn't it use minimap2?

fgvieira avatar Jul 20 '22 11:07 fgvieira

Did you find a way to run the tool anyway? I got the same error when updating the Galaxy tool for quast: installation of quast from conda and no rights to on /usr/ local/lib/python3.10/site-packages/quast_libs/bwa/make.log

bebatut avatar Aug 03 '22 15:08 bebatut

It seems QUAST checks if the binary exist before trying to install them, so I just manually installed all necessary programs in the conda environment. But it would make more sense to include them in the conda recipe.

fgvieira avatar Aug 03 '22 18:08 fgvieira

I thought the solution was more complex :smile: I created a PR on bioconda to update the package and add bwa and bedtools as run requirements

bebatut avatar Aug 04 '22 07:08 bebatut

Can you also add gridss? Not sure if QUAST needs other programs, but those three for sure.

Thanks!

fgvieira avatar Aug 04 '22 07:08 fgvieira

I just added gridss too. Let's see if it works :smile:

bebatut avatar Aug 04 '22 07:08 bebatut

For me, even after explicitly adding gridss to the environment I'm running QUAST (5.2.0 installed through mamba) in, it'll try to build its own. Is anyone else still having that issue, or is it just me having overlooked something?

KatSteinke avatar Oct 10 '22 09:10 KatSteinke