- Bioinformatics with Python Cookbook
- Tiago Antao
- 249字
- 2021-06-10 19:01:41
How to do it...
Take a look at the following steps to get started:
- Start by downloading the Anaconda distribution from https://www.anaconda.com/download. Choose Python version 3. In any case, this is not fundamental, because Anaconda will let you use Python 2 if you need it. You can accept all the installation defaults, but you may want to make sure that the conda binaries are in your path (do not forget to open a new window so that the path is updated). If you have another Python distribution, be careful with your PYTHONPATH and existing Python libraries. It's probably better to unset your PYTHONPATH. As much as possible, uninstall all other Python versions and installed Python libraries.
- Let's go ahead with the libraries. We will now create a new conda environment called bioinformatics with biopython=1.70, as shown in the following command:
conda create -n bioinformatics biopython biopython=1.70
- Let's activate the environment, as follows:
source activate bioinformatics
- Let's add the bioconda and conda-forge channel to our source list:
conda config --add channels bioconda
conda config --add conda-forge
Also, install the core packages:
conda install scipy matplotlib jupyter-notebook pip pandas cython numba scikit-learn seaborn pysam pyvcf simuPOP dendropy rpy2
Some of them will probably be installed with the core distribution anyway.
- We can even install R from conda:
conda install r-essentials r-gridextra
r-essentials installs a lot of R packages, including ggplot2, which we will use later. We also install r-gridextra, since we will be using it in the Notebook.
推薦閱讀
- Practical UX Design
- Python入門很簡單
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- Visual Basic程序設計教程
- PHP網絡編程學習筆記
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- C語言實驗指導及習題解析
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- C語言程序設計與應用(第2版)
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- 愛上C語言:C KISS
- Python Machine Learning Cookbook
- 高效使用Greenplum:入門、進階與數據中臺
- Python硬件編程實戰
- Test-Driven iOS Development with Swift