pyseq-align
Python interface for the seq-align C library, written by Isaac Turner (@noporpoise).
Installation
pip install pyseq-align
To install directly from GitHub,
git clone https://github.com/Lioscro/pyseq-align.git --recursive
cd pyseq-align
pip install .
Usage
Two alignment algorithms are provided: Needleman-Wunsch and Smith-Waterman.
from pyseq_align import NeedlemanWunsch
nw = NeedlemanWunsch()
al = nw.align('ACGT', 'ACGTC')
print(al.result_a) # ACGT-
print(al.result_b) # ACGTC
print(al.score)
from pyseq_align import SmithWaterman
sw = SmithWaterman()
als = sw.align('ACGT', 'ACGTC') # unlike above, this is a list of Alignment's
for al in als:
print(al.result_a, al.pos_a) # ACGT, 0
print(al.result_b, al.pos_b) # ACGT, 0
print(al.score)
Release files for pyseq-align 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyseq-align-1.0.2.tar.gz | 272.3 kB | Details |
Release files / pyseq-align-1.0.2.tar.gz
| Download URL | pyseq-align-1.0.2.tar.gz |
|---|---|
| Size | 272.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9d450269d492c9a83ea9b795b14347140f12153ea93e2e5ed409606c5ac9e4d
|
|
BLAKE2b-256 checksum How to use checksums |
0acdf72c8b225c5af83b39583f6e719ef4078d7df178b014e9248881e4cf8c0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201005 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.3
|