我爱编程

tophat安装(2018-05-28)

2018-05-28  本文已影响0人  简单点lili

1 tophat官方网址:http://ccb.jhu.edu/software/tophat/tutorial.shtml

2 安装bowtie2:https://sourceforge.net/projects/bowtie-bio/files/bowtie2/

3 安装tophat参考:http://blog.sina.com.cn/s/blog_751bd9440102v4lq.html

下载位置

Install quick-start

Download and extract the latest Bowtie 2 (orBowtie) releases.

Note that you can use either Bowtie 2 (the default) or Bowtie (--bowtie1)and you will need the following Bowtie 2 (or Bowtie) programs in your PATH:

bowtie2 (or bowtie)

bowtie2-build (or bowtie-build)

bowtie2-inspect (or bowtie-inspect

cd

tar xvfz tophat-2.0.0.Linux_x86_64.tar.gz

cd ~/bin

ln -s ~/tophat-2.0.0.Linux_x86_64/tophat2 .

Now you can start the new version of TopHat with thetophat2command, while the previous version, if present, can still be launched with the regular "tophat" command (assuming this is how you used it before).

安装过程遇到问题:

出现错误行

tophat2 --help

  File "/home/andengdi/lyr/app/tophat-2.1.1.Linux_x86_64/tophat", line 1003

    except getopt.error, msg:

                      ^

SyntaxError: invalid syntax

这种错误的解决方法参考:http://blog.sina.com.cn/s/blog_6c9eaa1501014x4z.html

vim tophat

解决方法:添加2.7,tophat的注释行改成 #!/usr/bin/python2.7(这个要看python2.7在哪里);

解决之后:

tophat2 --help
上一篇下一篇

猜你喜欢

热点阅读