Simple application of sequence alignment algorithms
Project description
SequenceAlignment
sequencealignment 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?
pip3 install Alignment-Utilis
How to use it?
# 1. PairwiseSequenceAlignment
from sequencealignment import PairwiseSequenceAlignment
# 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file AlignmentUtilis-0.0.2.tar.gz.
File metadata
- Download URL: AlignmentUtilis-0.0.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a238cd40313e665cb4cd4d836c6b01494526e625b55f7e80b3e77c150134ef3
|
|
| MD5 |
5d2f2d7db2f320593ccbb23b7d4c6634
|
|
| BLAKE2b-256 |
2866cdaefed288f14f26ebd5b1383bdf4f96c165f8f87bdc5a04af3a13007f18
|
File details
Details for the file AlignmentUtilis-0.0.2-py3-none-any.whl.
File metadata
- Download URL: AlignmentUtilis-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a82d7f0e9d09de81056a26a0dfc34bd46ee252fe92a6c41217af99699270b4d7
|
|
| MD5 |
5d5deb7bde2e8282182659b04356ecd6
|
|
| BLAKE2b-256 |
fee40e572310b1419fef7e30f68243af19e6a8de5e77b1f0f429b4dc8c7d778a
|