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 hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

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