This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Help downloading and executing VCFLIB

Hello,

I am having trouble executing the program VCFLIB. I followed all instructions from the website [https://github.com/vcflib/vcflib][1], to download and make the program, and all the executables appear to be in the bin file as expected after I typed the command make.

However, I can't run any of the executables. When I cd to the bin folder where all the executables are, I can see all of them but when I type the name of any function (for example, vcfcombine) I get the following error: "command not found".

Are there dependencies that I need to install? Any other ideas for what I am doing wrong and why I can't run any of the executables?

Thank you for any help you can provide, Betsy

vcflib

Hello betsy.s.collins!

We believe that this post does not fit the main topic of this site.

you just have to update your PATH : https://www.cyberciti.biz/faq/unix-linux-adding-path/ or specify a relative/full path `./dir1/dir2/program` . I'm closing this as it is a basic linux problem.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

on a sidenote, you can also get around this issue by specifying the full path to the executable, e.g. /path/to/vcfcombine, or if its in the current directory, just ./vcfcombine

1 answer

You need to make sure those executables are in your operating systems $PATH. Check your PATH using echo $PATH which will tell you all location in which your operating systems "searches" for executables. The easiest is probably to create symlinks from your newly installed binaries to a directory (e.g. ~/bin).

Log in to answer this question.