RNASEQ分析入门笔记1-软件安装

RNASEQ的基本软件包括:sra-tools, fastqc, hisat2, samtools, htseq, r, rstudio,建议使用conda命令安装软件,降低出错概率,conda is a tool for managing and deploying applications, environments and packages.

miniconda3

在官网下载相应的版本,安装即可,https://conda.io/miniconda.html

安装完成后,需要创建频道,命令如下:

1
2
3
4
conda config --add channels conda-forge
conda config --add channels defaults
conda config --add channels r
conda config --add channels bioconda

如果使用iTerm2作为终端,conda可能无法执行:command not found: conda

原因:终端是 iTerm2,安装了 zsh 和 oh-my-zsh,因此,打开终端时不再执行~/.bash_profile。

若使该文件有效,需要修改 zsh 的配置文件,方法如下:

编辑~/.zshrc,在文件末尾加入一行:

source ~/.bash_profile

注意: .zshrc是一个位于根目录下的隐藏文件,如果要显示隐藏文件,请在终端中输入:

defaults write com.apple.finder AppleShowAllFiles -bool true;
KillAll Finder

sra-tools

1
conda install -c bioconda sra-tools=2.8.1

fastqc

1
conda install fastqc

hisat2

1
conda install hisat2

samtools

1
conda install samtools

htseq

1
conda install -c bioconda htseq

R

1
conda install r

Rstudio

1
conda install rstudio

wget

另外,下载NCBI上的原始数据(SRA文件),还需要用到wget,安装语法为:

1
conda install wget
  • 本文作者:括囊无誉
  • 本文链接: RNASEQ/RNASEQ软件安装/
  • 版权声明: 本博客所有文章均为原创作品,转载请注明出处!
------ 本文结束 ------
坚持原创文章分享,您的支持将鼓励我继续创作!