Skip to main content

A simple partial order alignment implement.

Project description

POA

from poa import Graph, read_file

match = 2
mismatch = -1
gap = -2
g = Graph()

sequence, alignment = read_file('test.fa', 'fasta')
g.init_graph_by_seq(sequence[0])
for seq in sequence[1:]:
    g.add_seq_to_align(alignment(
        g, 
        seq, 
        match=match, 
        mismatch=mismatch, 
        gap=gap
    ))

g.to_msa(open('msa.txt', 'w'))

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

poa-0.0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file poa-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: poa-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.3

File hashes

Hashes for poa-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ced9c62bbc53edb31f58cdf424d82846068d055a33983ce97164bed13cfbfe4b
MD5 76fb8ea5a514b40f7113916b668e418d
BLAKE2b-256 12a296c5c5fdcdd3b82d9de1445ba8ca8842720dfdf697bf236154a9eccc5a1b

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