Skip to main content

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)

Metadata

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)

Source distribution for pyseq-align 1.0.2
File Size Uploaded Provenance
pyseq-align-1.0.2.tar.gz 272.3 kB Without provenance 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

Security for pyseq-align 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page