Monday, 5 May 2014

Installing bedtools on centOS

1. Download bedtools from

2. Save it to a local folder (eg: softwares folder)
3. Untar it using below command
# tar xvzf bedtools-2.19.1.tar.gz

4. You can find all the bedtools function in bedtools-2.19.1/bin folder
5. You have to set the PATH environmental variable for bedtools so that OS can locate the bedtools program,  even if it is not in the current directory

Setting PATH environmental variable for bedtools

1. Open /etc/profile.d
2. Create a document and name it as
3. Add the below line in
    export PATH = $PATH:/softwares/bedtools-2.19.1/bin
4. Save it and close
5. If you want to load the environment variables within without having to restart the machine, you can use the source command as in
     # source

No comments:

Post a Comment