Skip to main content

Sequence Alignment with different penalties for opening gaps and extending them.

Project description

gotoh

pypi badge testing badge

To install, run:

pip install gotoh

This package performs a global sequence alignment (Needleman-Wunsch) with affine gap penalties (Gotoh). It returns a tuple with the number of characters that match, mismatch, open gaps and extend gaps. The scores/penalties are given as arguments and the defaults correspond to the basic Levenshtein distance.

It can also produce a multiple sequence alignment.

Documentation and code clean up to come.

Credits

Robert Turnbull

Based on Brent Pedersen’s nwalign which was originally posted at https://bitbucket.org/brentp/biostuff/ but now has disappeared.

For more information, see Robert Turnbull’s book Codex Sinaiticus Arabicus and Its Family.

Project details


Download files

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

Source Distribution

gotoh-0.2.0.tar.gz (134.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gotoh-0.2.0-cp311-cp311-macosx_26_0_arm64.whl (200.4 kB view details)

Uploaded CPython 3.11macOS 26.0+ ARM64

File details

Details for the file gotoh-0.2.0.tar.gz.

File metadata

  • Download URL: gotoh-0.2.0.tar.gz
  • Upload date:
  • Size: 134.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Darwin/25.4.0

File hashes

Hashes for gotoh-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2966e8cb48a2c5dfb34327027feeaf32f95a7ba36a3ca4784534fb91772795a2
MD5 cb535c64958583a91a07222a9406d2e4
BLAKE2b-256 ac34e5f603bd458112c336561e464311870ef63c2914b81221a9edbb77f7b807

See more details on using hashes here.

File details

Details for the file gotoh-0.2.0-cp311-cp311-macosx_26_0_arm64.whl.

File metadata

  • Download URL: gotoh-0.2.0-cp311-cp311-macosx_26_0_arm64.whl
  • Upload date:
  • Size: 200.4 kB
  • Tags: CPython 3.11, macOS 26.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Darwin/25.4.0

File hashes

Hashes for gotoh-0.2.0-cp311-cp311-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 26a93e70b12179c7f60171cf22bbf1777353363932ab7f03ea5c90dd4ee348ff
MD5 58961ebe11e597eecdfeb0e7fc656c3a
BLAKE2b-256 5c9f7cc423a19c9fb526b67822fdc1621bd3066273f0d65f916e9b485a2404fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page