?wget -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh
bash Miniconda3-4.5.11-Linux-x86_64.sh
export PATH=/root/miniconda3/bin:$PATH? ? ?//no
source ~/miniconda3/bin/activate
添加頻道:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
查看配置環(huán)境:
vim ~/.condarc
conda search bwa
conda install bwa -y
conda install samtools=1.8 -y
調(diào)用軟件:
當前環(huán)境直接輸軟件名
echo $PATH
source deactivate
ln -s ~/miniconda3/bin/bwa /usr/local/sbin
用conda建立互不干擾的環(huán)境:
source ~/miniconda3/bin/activate
conda info --envs
conda create -n python2 python=2
conda activate python2
conda install macs2
刪除一個環(huán)境
conda remove -n python2 --all
conda install fastqc trimmomatic
conda activate python2
conda install htseq //htseq-count
source deactivate?
conda install hisat2?