Skip to main content

C-based sequence alignment for Python

Project description

uta-align provides C-based (Cython) Needleman-Wunsch and Smith-Waterman alignment algorithms

build_status pypi_badge

Original author: Kevin Jacobs

Installation

From source:

$ python setup.py install

For Development

  • Install developer environment:

    $ make devready
  • Activate the environment:

    $ source venv/3.7/bin/activate

    (or other python version as appropriate for your system)

  • During development, you’ll need to recompile any code changes to the .pyx files, like this:

    $ pip install -e .
  • Test it (in current Python environment):

    $ 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 =========================================
  • Tox test it (in multiple environments:

    $ 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/1/uta-align-1.1.13a2.dev7+g98b7cc9.d20200303.zip
    ...
    py37: commands succeeded
    congratulations :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uta-align-0.2.0a3.tar.gz (267.9 kB view details)

Uploaded Source

File details

Details for the file uta-align-0.2.0a3.tar.gz.

File metadata

  • Download URL: uta-align-0.2.0a3.tar.gz
  • Upload date:
  • Size: 267.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for uta-align-0.2.0a3.tar.gz
Algorithm Hash digest
SHA256 2e6585863d7168b76393fabc2fea093bcdde40b94d0783280fb5093819656a4c
MD5 f6c3fd39653331dffc6e6899dbb2571a
BLAKE2b-256 d64ec15fb32400d949bcfd2078c9a7ad9944c8f59603e2504e40b6f2a7c79980

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page