Closed uloeber closed 3 years ago
As far as I can tell you are doing nothing wrong, the same command you put there works fine for me:
Could you maybe try copy paste this command:
gunc download_db ./
Just to see what happens and maybe post a screen shot of exactly what the output is?
Dear @fullama , sure!
Is it version 1.0.1?
gunc -v
Installed via conda: gunc -v 0.1.2
Ah.. that version is no longer supported.. (I'll have to see if I can remove it) can you try force conda to install the latest version?
conda install -n gunc -c bioconda gunc=1.0.1
I'll update the Installation documentation to specify 1.0.1 also..
Thanks!
there seem to be a lot of conflicts. Is this due to the conda receipt? Tried to setup from scratch: conda create -n gunc -c bioconda gunc=1.0.1
May I need to specify all dependency versions on my own then?
Thanks for your quick help
Issue #5 was a very similar issue: in that case it was the order of the channels that fixed it maybe that might solve your issue here too?
https://github.com/grp-bork/gunc/issues/5#issuecomment-750512031
Tried to solve it as suggested in #5 , but failed
Then tried it with
conda create -n gunc -c bioconda diamond=2.0.4 prodigal python gunc=1.0.1
with the same result
Sorry I suddenly stopped answering.. I had to go hospital like 20 mins after my last comment.. did you check the channel order? Is it set up exactly as it is in the link? That's my current suspicion of what it could be?
Dear Anthony, I hope you are doing better. I checked the channel order and am still getting the same error. :(
Huh.. are you able to install just diamond by itself? Maybe try install one by one until only gunc is left and see if everything else will install before gunc at the end? It can be very hard to diagnose conda installation issues, maybe this might narrow it down..
pip3 instead of pip made it. thanks!
Well, unfortunately running into the next problem:
conda create -n gunc -c bioconda -c conda-forge diamond=2.0.4 prodigal python=3.9 gunc=1.0.1 libgcc-ng=9.1.0 libstdcxx-ng=9.3.0
works!
Still the db parameter seems to not be correctly recognized:
--db_file works!
Great that we finally got there..! The last error is my fault for forgetting to update that part of the documentation.. it was supposed to be -r (for reference) not -d anymore.. I've updated it now so hopefully no one else will get tripped up by that.. thanks for noticing that though!
Im not sure why conda wouldn't work nicely for you.. I'll look into it but at least it seems to be installed now for you?
Is it working ok for you now or is there anything else I can help with?
Maybe putting libgcc-ng=9.1.0 libstdcxx-ng=9.3.0 in the package metadata? Works, thanks!
ill have to have a look at what it might do on other systems if i also specify libgcc-ng=9.1.0 libstdcxx-ng=9.3.0
but ill take it into consideration for the next version..
Thanks for your help here!
Dear @fullama , I get the error
gunc download_db ./ usage: gunc [-h] -d (-i | -g ) [-p] [-t] [-o] [-s] [-v] gunc: error: the following arguments are required: -d/--database_file
In both cases, runninggunc download_db ./
orgunc --download_db ./
What am I doing wrong? Bests, Ulrike