bioawk installation issue "command not found"
3
1
Entering edit mode
9.2 years ago
aremkho ▴ 10

Dear All

I have a problem that we can not solved for a while in installing bioawk. I follow the general pipeline to install bioawk on ubuntu server:

  • clone from git hub to the Download directory
  • make

After that it is where we are stuck:

When I run the command:

mv awk book

I got error awk does not exist! When I install gawk and try mv gawk from /usr/bin to home/arsalan/download/bioawk, it works but when I cp bioawk to usr/local/bin and try to run it if fails and since gawk has already moved from /usr/bin. By typing gawk I got the error it is not installed! and typing bioawk I got error command not found!

Many thanks in advance

bioawk • 8.3k views
ADD COMMENT
3
Entering edit mode

cross-posted on my professional email :-[

ADD REPLY
3
Entering edit mode

mine as well - I wish the OP put in as much effort towards fixing this very simple error as they did to track down our emails

ADD REPLY
0
Entering edit mode

When i click sudo make it shows make: yacc: Command not found make: * [Makefile:50: ytab.o] Error 127

ADD REPLY
0
Entering edit mode

Please do not use the answer field for questions, use ADD REPLY.

ADD REPLY
5
Entering edit mode
9.2 years ago

bioawk now compiles to the executable called bioawk and not awk

it used to compile to awk and some instructions may still refer to that and instruct you to rename it

ADD COMMENT
0
Entering edit mode

Thankful of both of you! Apologize I am an newcomer in the field. Still lot to learn!

ADD REPLY
5
Entering edit mode
9.2 years ago
ChillarAnand ▴ 80

Clone bioawk repo, run make and make bioawk executable

git clone https://github.com/lh3/bioawk.git
cd bioawk
sudo make
sudo chmod +x bioawk
./bioawk
ADD COMMENT
1
Entering edit mode

bioawk is standalone. It doesn't need awk/gawk preinstalled in principle, though pretty much every linux distro has awk/gawk installed by default.

ADD REPLY
3
Entering edit mode
3.8 years ago
MSRS ▴ 590

Anaconda/Miniconda mignt reduce this installation process.

conda install -c bioconda bioawk
ADD COMMENT

Login before adding your answer.

Traffic: 1844 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6