bioawk installation issue "command not found"
3
1
Entering edit mode
8.6 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 • 7.9k 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
8.6 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
8.6 years ago
ChillarAnand ▴ 70

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.2 years ago
MSRS ▴ 580

Anaconda/Miniconda mignt reduce this installation process.

conda install -c bioconda bioawk
ADD COMMENT

Login before adding your answer.

Traffic: 2655 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