Skip to main content

No project description provided

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl (268.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

File details

Details for the file seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for seq_aligner-0.1.5-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 23adaa96af14af36e9a92558a092a49bb8963113206dd8d843a489c7d954e34a
MD5 9a36b04f99f9efb6122a3192d6461d41
BLAKE2b-256 35784e32446c1f61aad19547ed79023009e40d9c6c270c539fb7856da38e56ea

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