Install and test bowtie and tophat
注意 /abs_path/filename
表示存放 filename
文件的绝对路径。
下载可执行程序:
1 2 3 4 5 6 7
| $ uname -a *x86_64*
$ wget http://vorboss.dl.sourceforge.net/project/bowtie-bio/bowtie2/2.2.5/bowtie2-2.2.5-linux-x86_64.zip $ wget http://ccb.jhu.edu/software/tophat/downloads/tophat-2.1.0.Linux_x86_64.tar.gz
|
修改环境变量
1 2 3 4 5 6 7 8 9 10 11
| $ vi ~/.bash_profile
export PATH=/abs_path/tophat-2.1.0.Linux_x86_64:/abs_path/bowtie2-2.2.5:$PATH
$ source ~/.bash_profile
chmod 755 tophat chmod 755 bowtie2
|
下载测试用数据,用 bowtie2 做 index,测试 tophat:
1 2 3 4 5
| $ wget http://ccb.jhu.edu/software/tophat/downloads/test_data.zip $ unzip test_data.zip $ cd test_data $ bowtie2-build /abs_path/test_ref.fa /abs_path/test_ref $ tophat /abs_path/test_ref test_reads.fq
|
Reference
Software