Showing posts with label FastQ. Show all posts
Showing posts with label FastQ. Show all posts

Monday 5 May 2014

Installing bedtools on centOS

1. Download bedtools from
https://github.com/arq5x/bedtools2/releases

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 bedtools.sh
3. Add the below line in bedtools.sh
    export PATH = $PATH:/softwares/bedtools-2.19.1/bin
4. Save it and close bedtools.sh
5. If you want to load the environment variables within bedtools.sh without having to restart the machine, you can use the source command as in
     # source bedtools.sh

Install SRA toolkit on CentOS

1. Download SRA toolkit from
http://eutils.ncbi.nih.gov/Traces/sra/?view=software

2. For centos 64 bit, we have to download sratoolkit.2.3.5-2-centos_linux64.tar.gz
3. Save it to a local folder (eg: softwares folder)
4. Untar it using below command
    
# tar xvzf sratoolkit.2.3.5-2-centos_linux64.tar.gz

5. You can find all the toolkit functions in the sratoolkit.2.3.5-2-centos_linux64/bin folder
6. You have to set the PATH environmental variable for toolkit so that OS can locate the fastq-dump program,  even if it is not in the current directory

Setting PATH environmental variable for SRA Toolkit

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