Skip to main content

Sequence alignment algorithm

Gotoh Local Alignment

Classical gotoh local algorithm

In [1]: import seq_aligner

In [2]: r=seq_aligner.gotoh_local_align("CCAGCT", "AGCCTA", 1,-1,-3,-1)

In [3]: seq_aligner.print_align_map(r[0],r[1][0])
3     AGC     5 Score:3
      |||      
1     AGC     3

Gotoh Semi-Global Alignment

Classical gotoh semi-global algorithm.
Initialize the top row and leftmost column to zero and terminate end at either the bottom row or rightmost column [ref].

In [4]: r=seq_aligner.gotoh_semi_global_align("CCAGCT", "AGCCTA", 1,-1,-3,-1)

In [5]: seq_aligner.print_align_map(r[0],r[1][0])
3     AGCT     6        Score:2
      |||*      
1     AGCC     4

Gotoh Local Global Alignment

Variants of the local and semi-global algorithms

In [6]: r=seq_aligner.gotoh_local_global_align("CCAGCT", "AGCCTA", 1,-1,-3,-1)

In [7]: seq_aligner.print_align_map(r[0],r[1][0])
3     AGC---     5      Score:-3
      |||         
1     AGCCTA     6

Metadata

Release files for seq-aligner 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for seq-aligner 0.1.5
File Interpreter ABI Platform
seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details

Release files / seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl
Size 268.0 kB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
23adaa96af14af36e9a92558a092a49bb8963113206dd8d843a489c7d954e34a
BLAKE2b-256 checksum
How to use checksums
35784e32446c1f61aad19547ed79023009e40d9c6c270c539fb7856da38e56ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.13.1

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.3

1 release file

0.1.2

2 release files

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