Skip to main content

Simple application of sequence alignment algorithms

Project description

AlignmentUtilis

AlignmentUtilis is a collection utilities of sequence alignment algorithms,

  • Needleman-Wunsch and Smith-Watermen algorithms to conduct sequence alignment with affine gap penalty
  • Naive exact matching to conduct reads alignment problem
  • ...

How to get it?

pip install AlignmentUtilis

How to use it?

# 1. PairwiseSequenceAlignment
from AlignmentUtilis import *
# Test
seq1 = "TCGTAGACGA"
seq2 = "ATAGAATGCGG"
# Run Global Alignment
Runalignment(seq1, seq2, 1, -1, -2, -1, local=False)
# Run Local Alignment
Runalignment(seq1, seq2, 1, -1, -2, -1, local=True)

# 2. Naive exact matching
from sequencealignment import Naive, runCMD, getExampleDatasets

License

MIT License Copyright (c) 2022 Youpu Chen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

AlignmentUtilis-0.0.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

AlignmentUtilis-0.0.4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file AlignmentUtilis-0.0.4.tar.gz.

File metadata

  • Download URL: AlignmentUtilis-0.0.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for AlignmentUtilis-0.0.4.tar.gz
Algorithm Hash digest
SHA256 35dae13446bb118a813c86a121a132b4840ef76882d9dae703debd4a17131a06
MD5 000cf1d4a20ef85056e87cbc0b5a824d
BLAKE2b-256 e802eefa1a2dbdf1ffff11b69926876f53e68e44f7cc61927e6f31d786c5c4ee

See more details on using hashes here.

File details

Details for the file AlignmentUtilis-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for AlignmentUtilis-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4938f40b4aba30a35827c9d2d8d2ffbc0ddd0e37dfc93504dd8741f3124c14be
MD5 8cb676b553bc4ede8ebce09bc9cd707a
BLAKE2b-256 c9bbd9f9d7c6d2ecfb5b114547746951b97cd9c0ed1b9ec7bcb70d2f14576766

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