A tool to convert tuple sequence alignments to multi-sequence alignments.
Project description
pairwise_alignments_to_msa
Introduction
pairwise_alignments_to_msa is a Python package that converts pairwise tuple sequence alignments into a multi-sequence alignment (MSA).
This tool is useful in bioinformatics pipelines when you have aligned pairs of sequences (such as the output of progressive alignment algorithms or pairwise alignment steps) and want to generate a consistent multi-sequence alignment.
Installation
From PyPI
pip install pairwise_alignments_to_msa
From GitHub (development version)
git clone https://github.com/Cassiebastress/pairwise_alignments_to_msa.git
cd pairwise_alignments_to_msa
poetry install
Usage
Here is an example of how to use pairwise_alignments_to_msa:
from pairwise_alignments_to_msa.alignment import aligned_tuples_to_MSA
# Example list of aligned sequence pairs
tuple_alignments = [
["a-bcdef", "aAb----"],
["a-bcdef", "-Bbc-ef"],
["abcde-f-", "---deEfF"]
# Add more aligned pairs as needed
]
msa = aligned_tuples_to_MSA(tuple_alignments)
# Print the resulting MSA
for seq in msa:
print(seq)
Code of Conduct
This project adheres to the Contributor Covenant Code of Conduct.
Please review it before contributing.
History
0.1.0
- Initial release
- Core functionality:
aligned_tuples_to_MSAfor converting tuple sequence alignments into MSA
License
This project is licensed under the MIT License. See the LICENSE file for details.
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 pairwise_alignments_to_msa-0.1.1.tar.gz.
File metadata
- Download URL: pairwise_alignments_to_msa-0.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.11 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8c6a4434b1b8302bff2f72b2d974ee1c87b22d164e15ef385b00fc2fe72208
|
|
| MD5 |
63f731677272adbbd36ceef04ddf66a7
|
|
| BLAKE2b-256 |
aed849881392b53f2af4b3dad64c32cb19a8f97194b10cb4580242485ca56479
|
File details
Details for the file pairwise_alignments_to_msa-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pairwise_alignments_to_msa-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.11 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e4b14479702e6580536c74f803c5200d1177591f19c301d29ffedf9c36b154
|
|
| MD5 |
7de0d1271e837d929f389d4c7dfdfea9
|
|
| BLAKE2b-256 |
7a59ab5a4e11d3731a64d1d4fa4a9b32640af01fa9a8dbbc122006e89714f024
|