安装miniconda及其配置
下载安装命令
wget -c https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
按照提示往下走就可以,最后source .bashrc
就可以了。
conda添加镜像命令
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
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
conda config --set show_channel_urls yes
conda config --show # 查看新增channels
其他conda常用命令
conda list # 查看conda中已经安装的软件
conda install diamond # conda安装软件,默认最新版
conda install hmmer2 hmmer diamond
conda install diamond=0.8.22 # conda安装指定版本的软件
conda install py-bio # conda安装python模块
conda create -n antismash
conda create -n python3.6 python=3.6 # 创建python3.6 conda环境
conda info --envs # 查看环境列表
conda activate env # 激活conda环境
conda deactivate env # 退出conda环境
conda remove -n env --all # 删除conda环境
conda config --show # 查看channel
大概就是一开始配置的所有步骤了。以后想到再加。