zoukankan      html  css  js  c++  java
  • 安装生物信息学软件-Biopython

    其实好多东西装过好多次,然而每次都要翻文档,经常掉进前面掉进过的坑。。。所以这里重新写一份指南,以防下次再装又忘了(魂淡我并不想再装了啊不要立flag)

    1. 安装biopython

    1.1 因为biopython目前支持的是python2,所以我先把python调到2

    1.2 安装numpy (http://www.numpy.org/)

    NumPy is the fundamental package for scientific computing with Python. It contains among other things:

    • a powerful N-dimensional array object
    • sophisticated (broadcasting) functions
    • tools for integrating C/C++ and Fortran code
    • useful linear algebra, Fourier transform, and random number capabilities

    下载,解压,安装:

    cd numpy-1.11.2

    好吧,问题来了。现在需要1.3

    1.3 安装setuptools

    sudo apt-get install python-setuptools

    sudo apt-get install python-pip(顺手装了pip)

    1.4 然而我会报错

    RuntimeError: Running cythonize failed!

    所以。。。换用这个命令:sudo apt-get install python-numpy

    显示安装成功。

    1.5 安装Biopython

    $ sudo easy_install -f http://biopython.org/DIST/ biopython

    1.6 检验

  • 相关阅读:
    原创 动态卷积
    BZOJ1565 植物大战僵尸
    BZOJ1143 [CTSC2008] 祭祀river
    BZOJ3438 小M的作物
    BZOJ3144 [HNOI2013]切糕
    BZOJ2039 [2009国家集训队]employ人员雇佣
    BZOJ1066[SCOI2007]蜥蜴
    BZOJ3874 codevs3361 宅男计划
    Codeforces Round #343 (Div. 2)
    [转]后缀自动机(SAM)
  • 原文地址:https://www.cnblogs.com/pxy7896/p/5989074.html
Copyright © 2011-2022 走看看