This is a test version of Biostars. For the public version, visit https://www.biostars.org.
I am trying to generate Haplotype using shapeit but everytime it says shapeit command not found ..why ?

I am trying to generate Haplotype using shapeit but everytime it says shapeit command not found ..why

haplotype

Have you added the executable file shapeit to your /bin/ directory?

1 answer

Based on what you write, shapeit is not in $PATH (the location in which your shell will look for executables) Where did you install it? An easy solution is to put a shortlink in your bin folder, e.g.: (or to any other folder listed in $PATH, check with

ln -s /path/to/where/you/extracted/shapeit ~/bin/

or to any other folder listed in $PATH, check with:

echo $PATH

Log in to answer this question.