Skip to main content

Needleman-Wunsch global sequence alignment

Project description

This module provides a python module and a command-line interface to do global- sequence alignment using the Needleman-Wunsch algorithm. It uses cython and numpy for speed.

Example Command-Line Usage

the nwalign executable is installed to the PATH by setuptools:

$ nwalign alphabet alpet
alphabet
alp---et

specify an alignment scoring matrix

$ nwalign --matrix /usr/share/ncbi/data/BLOSUM62 EEAEE EEEEG
EEAEE-
EE-EEG

Usage as a python module

>>> import nwalign as nw
>>> nw.global_align("CEELECANTH", "PELICAN", matrix='PAM250')
('CEELECANTH', '-PELICA--N')

the matrix is specified as the full path to an scoring matrix as is distributed with the NCBI toolset.

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

nwalign-0.1.1.tar.gz (37.9 kB view details)

Uploaded Source

File details

Details for the file nwalign-0.1.1.tar.gz.

File metadata

  • Download URL: nwalign-0.1.1.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nwalign-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6fad7673d67932c0c670f564f8d9c8c7af264c7300c8038a245014a9d62b50dd
MD5 5f6233c13c573a904a51fcc92c9954dd
BLAKE2b-256 a1c81e9a68782c95d700d695c8b1f3a8934e1072e8ed60491e430896b834f961

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