Conda安装与设置
准备开始
注意:Bioconda仅支持64位Linux和Mac OS。
1. Install conda
Bioconda要求安装Conda Package Manager。 如果您有Anaconda Python安装,则已拥有它。 否则,安装它的最佳方法是miniconda包。 建议使用Python 3版本。
MacOS系统上, 运行如下命令:
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh sh Miniconda3-latest-MacOSX-x86_64.sh
Linux系统上, 运行如下命令:
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.sh
Follow the instructions in the installer. If you encounter problems, refer to the Miniconda
documentation. You can also join our Gitter channel to ask other users for help.
See also
- What’s the difference between Anaconda, conda, and Miniconda?
- The conda FAQs explain how it’s easy to use with existing Python installations.
2. Set up channels
After installing conda you will need to add the bioconda channel as well as the other channels bioconda depends on. It is important to add them in this order so that the priority is set correctly (that is, conda-forge is highest priority).
The conda-forge channel contains many general-purpose packages not already found in the defaults
channel.
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
3. Install packages
Browse the packages to see what’s available.
Bioconda is now enabled, so any packages on the bioconda channel can be installed into the current conda environment:
conda install bwa
Or a new environment can be created:
conda create -n aligners bwa bowtie hisat star
4. Join the team
We invite all parties interested in adding/editing package recipes to join the bioconda team, so that their pull requests don’t require merging by the core team or other members. To do so, please fork our recipes have a read through the Conda documentation. If you ping @bioconda/core
in a pull request we will review it and then add you to the team, if you desire.
5. Spread the word
Consider adding a badge to your posters and presentations to promote that a tool can be easily installed from Bioconda.
请关注“恒诺新知”微信公众号,感谢“R语言“,”数据那些事儿“,”老俊俊的生信笔记“,”冷🈚️思“,“珞珈R”,“生信星球”的支持!