I installed prokka following the instruction provided by the author that you can fin here.
I installed all the dependencies as nicely explained here
However when I type
prokka
for testing it, i get
manager@bl8vbox[Documents]prokka
zsh: command not found: prokka
These are my session information
manager@bl8vbox[Documents]ls
barrnap-0.5 barrnap-0.5.tar.gz hmmer-3.1b1 hmmer-3.1b1.tar.gz minced-master minced-master.zip prodigal.v2_50.tar.gz prodigal.v2_60.tar.gz prokka-1.10 prokka-1.10.tar.gz
manager@bl8vbox[Documents] uname -a
Linux bl8vbox 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Do you have any idea what I do wrong?
Hi,
Could you maybe give the output of
echo $PATH | tr ":" "\n" | grep -i "prokka"
please? Thank you!set the path variable for prokka bin directory using
export
@RamsRS, thanks very much for your comment.
This is the result:
Basically, nothing...
Thanks all for the reply and sorry for the late answer.
As you all got right the program is not in my PATH. But I guess I am to inexpert to fix this problem.
I added the followign directory to the file .bashrc:
I added the location above. Then I followed the isntruction here and I did the following:
Moreover if I quit the session and look for my avaialble path in a new session this is the result:
So prokka is not in.
Any suggestion how I can add permanently more PATH?
It looks like the shell prompt display line in your
~/.zshrc
has some problem. If you know how to find that line, comment it out. Else, paste your~/.zshrc
here and I'll help you out.It would seem that the new terminal session
PATH
holds a pointer toprokka
, though I wonder why you're running commands assudo
, especially the~/.zshrc
edit. You might wanna edit~/.zshrc
as a normal non super user.EDIT: Updated to reflect the fact that @dago seems to be on zsh and not bash.