Hi,
I installed a program called BWA and another called SAMTOOLS.
If I echo $PATH I can see it in the path.
If I run: which bwa - I see it in /usr/local/bin/
However, it is not present in /home/bin/ - which as I understand is equal to $HOME
Do i need to add it to the .bash_profile file tool?
Adding a program to bash path
Re: Adding a program to bash path
There's no such thing as /home/bin (unless you have a user called 'bin').
What is the actual problem?
What is the actual problem?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 3
- Joined: 2018/03/12 15:38:39
Re: Adding a program to bash path
Yeah I meant /home/random_user/bin
The problem is that when I run a program called seqsero it returns:
sh: bwa: command not found
sh: bwa: command not found
sh: samtools: command not found
sh: samtools: command not found
sh: bwa: command not found
sh: bwa: command not found
sh: samtools: command not found
sh: samtools: command not found
So I assume that bwa and samtools are not in the bash path, or am I wrong?
The problem is that when I run a program called seqsero it returns:
sh: bwa: command not found
sh: bwa: command not found
sh: samtools: command not found
sh: samtools: command not found
sh: bwa: command not found
sh: bwa: command not found
sh: samtools: command not found
sh: samtools: command not found
So I assume that bwa and samtools are not in the bash path, or am I wrong?
Re: Adding a program to bash path
Are you running this from a terminal session or from e.g. crontab?
Yes, that looks like you don't have the directory containing those executables in your PATH. Perhaps something is resetting it for you.
Yes, that looks like you don't have the directory containing those executables in your PATH. Perhaps something is resetting it for you.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke