Help installing Bioawk
1
1
Entering edit mode
2.5 years ago
01de ▴ 10

Hello

I've been trying to install bioawk on my ubuntu system however I've come into a few issues.

in my user/bin directory which I've cloned the directory into

sudo git clone https://github.com/lh3/bioawk.git
cd bioawk/
sudo make
./bioawk

./bioawk returns

usage: ./bioawk [-F fs] [-v var=value] [-c fmt] [-tH] [-f progfile | 'prog'] [file ...]

However trying bioawk just returns command not found

I'm aware i may be missing something , this is my first attempt at installing something without a package manager

ubuntu bioawk installation • 1.6k views
ADD COMMENT
1
Entering edit mode

I just wanted to point out that in this case you don't need sudo to execute git clone and make. In general, it's better to use the super-user powers only when needed.

this is my first attempt at installing something without a package manager

I think installing things yourself is a good exercise but I would suggest getting familiar with conda and bioconda as they take away a lot of headaches. (I assume that by package manager you mean Ubuntu's apt).

ADD REPLY
2
Entering edit mode
2.5 years ago
GenoMax 141k

You are not missing anything. This is the classic problem of not having the directory which contains the bioawk executable in your system $PATH (a set of directories that are automatically searched when you try to run a program. You can add the directory containing the bioawk executable to $PATH by doing following (for bash shell)

export PATH=$PATH:/path_to_dir_w_bioawk
ADD COMMENT
0
Entering edit mode

Thank you ! I don't think I'd have been able to work that out on my own.

It seems to be working as expected now.

ADD REPLY

Login before adding your answer.

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