由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址

Bioconda

1. Install

Location: link

  1. curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  2. sh Miniconda3-latest-Linux-x86_64.sh

2. Setup Channels

You may need to add the bin file in your environment

  1. conda config --add channels defaults
  2. conda config --add channels bioconda
  3. conda config --add channels conda-forge

Virtual Environment

  1. ## Create an environment
  2. conda create -n Biostation python=3.7
  3. ## Check the env list
  4. conda env list
  5. ## 激活工作环境,需要几十秒
  6. source activate Biostation
  7. ##or
  8. conda activate Biostation
  9. ## 关闭工作环境:不用时关闭,不然你其它程序可能会出错
  10. source deactivate
  11. ## Or
  12. conda deactivate

Common Software for Bioinformatics

  1. conda install fastqc
  2. conda install fastp
  3. conda install trimmomatic
  4. conda install bowtie
  5. conda install bowtie2
  6. conda install samtools

Error

  1. UnavailableInvalidChannel: The channel is not accessible or is invalid.
  2. channel name: miniconda/cloud/bioconda
  3. channel url: https://mirrors.bfsu.edu.cn/miniconda/cloud/bioconda
  4. error code: 404
  5. You will need to adjust your conda configuration to proceed.
  6. Use `conda config --show channels` to view your configuration's current state,
  7. and use `conda config --show-sources` to view config file locations

Soving his by run:
conda config --remove-key channels


Enjoy~

本文由Python腳本GitHub/語雀自動更新

由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址

GitHub: Karobben
Blog:Karobben
BiliBili:史上最不正經的生物狗