Closed evanbiederstedt closed 5 years ago
Apologies, I see a related issue here I missed: https://github.com/tseemann/prokka/issues/435
Yes I am trying to get the fixed Prokka into brew, but it is failing the blast steps for some reason.
Quickest solution until then:
brew switch blast 2.9.0
Or edit $(which prokka)
and change MINVER => "2.8",
to MINVER => "2.1",
The bug is that 2.10 => 2.1 which is less than 2.8 :-)
Hi @tseemann
Ah, I see. Yes, I think I will have to manually install it, as brew switch
seems not to access older versions.
$ brew switch blast 2.9.0
Error: blast does not have a version "2.9.0" in the Cellar.
blast installed versions: 2.10.0
$
$ brew switch blast@2.9.0
Error: blast@2.9.0 not found in the Cellar.
Thank you for the help on this; I'll give it a shot.
Yes.... you must have run brew cleanup
unfortunately, or it ran automatically.
Installing old version in brew is not easy, requires manual digging into github... sorry
Please just edit your prokka
script.
Please just edit your prokka script.
Yes, this seems far more sensible. Do let me know when the brew installation is stable though! It's a dream to update/install via brew (for somewhat irrational reasons, I admit).
Thank you for the help here, @tseemann
@evanbiederstedt it seems NCBI has pulled/removed 2.10.0 from their web site. We found other problems with it, so NCBI must have noticed.
Yes, it appears there are problems with the binaries, e.g. shared libraries not statically linked properly. I'm informally told that there will be a fix very soon for version 2.10.0
Thank you again for the help
@evanbiederstedt 2.10.0 was withdrawn from brew 2 days ago.
brew uninstall --force blast
brew update
brew reinstall prokka
Hi @tseemann
Yep, I totally understand.
To reduce any confusion, what I meant to say is: after looking into why 2.10.0 was withdrawn from brew and the NCBI website, the bug was improperly linked shared libraries. It should be a quick fix on their part, and it will be back up soon-ish (I suspect). In the meantime, your advised commands are perfect.
Thanks!
EDIT: Future users should try
brew uninstall --ignore-dependencies blast
brew update
brew reinstall prokka
Otherwise, users will get the error:
Error: Refusing to uninstall /usr/local/Cellar/blast/2.10.0
because it is required by prokka, which is currently installed.
@evanbiederstedt no worries! i will wait until i get an official email announcement from the blast mailing list before I package it this time. lesson learnt!
Hi @tseemann
It looks like the blast v2.10 is up in running, causing the brew install issues once more. Naturally, the fixes discussed in this issue should work for the time being, but I suspect there will be more 2.10 errors for brew users.
Arguably not a massive issue---thanks!
Hi @tseemann
This issue appears to be unique. My problem is that the errors do not really make sense, so I'm not sure how to debug. The brew package may need to be tweaked somewhat.
Here are the errors:
and
Naturally, I'll try re-installing outside of brew....but this is something to investigate.
Here are my commands and outputs:
I tried using
prokka
on my macbook with flags--gcode
,--kingdom Bacteria
,--outdir
, and--prefix
.I got the following error:
Darn.
So I tried re-installing with
brew
:That was odd. So I tried:
Thanks, Evan