This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Samtools: Command Not Found

I recently installed samtools made "make" the folder and got the samtools unix executable file I place it my /Users/josemaldonado/bin how do i specify that path so that I can execute the command from any directory. Thanks

samtools unix

2 answers

See the following:

cuffmerge: command not found

1) vi ~/.bashrc

2) Add export PATH=$PATH:/Users/josemaldonado/bin/samtools-0.1.19 (Add the directory that has the executables)

3) Type :wq (to save it)

Now you should be able to type samtools anywhere and it should work.

Log in to answer this question.