跳转到主要内容

基于C的Python序列比对

项目描述

uta-align 提供了基于C(Cython)的Needleman-Wunsch和Smith-Waterman比对算法

build_status pypi_badge

原作者: Kevin Jacobs

重要:目前仅支持Python 3.7(欢迎提交PR!)

安装

  • 从源代码安装

    $ python setup.py install

用于开发

  • 安装开发环境

    $ make devready

    或者

    $ python3 -m venv myvenv
    $ source myvenv/bin/activate
    $ make setup
  • 激活环境

    $ source venv/3.7/bin/activate

    (或适合您系统的其他Python版本)

  • 在开发过程中,您需要重新编译任何对.pyx文件的修改,例如

    $ pip install -e .
  • 测试它(在当前Python环境中)

    $ make test
    ======================================== test session starts ========================================
    platform linux -- Python 3.7.5, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    rootdir: /home/reece/projects/biocommons/uta-align, inifile: setup.cfg, testpaths: tests
    collected 5 items
    tests/test_align_algorithms.py .                                                              [ 20%]
    tests/test_align_gap_open.py ..                                                               [ 60%]
    tests/test_cigar_utils.py .                                                                   [ 80%]
    tests/test_nw.py .                                                                            [100%]
    ========================================= 5 passed in 0.12s =========================================
  • 在多个环境中进行毒性测试

    $ make tox
    
    GLOB sdist-make: /home/reece/projects/biocommons/uta-align/setup.py
    py37 inst-nodeps: /home/reece/projects/biocommons/uta-align/.tox/.tmp/package/...
    ...
    py37: commands succeeded
    congratulations :)

项目详情


下载文件

下载适用于您平台的应用文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

uta-align-0.3.0.tar.gz (340.1 kB 查看散列值)

上传时间

由以下机构支持