Skip to main content

pairwise_alignments_to_msa

License

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_MSA for converting tuple sequence alignments into MSA

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for pairwise_alignments_to_msa 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pairwise_alignments_to_msa 0.1.1
File Size Uploaded
pairwise_alignments_to_msa-0.1.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pairwise_alignments_to_msa 0.1.1
File Interpreter ABI Platform
pairwise_alignments_to_msa-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / pairwise_alignments_to_msa-0.1.1.tar.gz

Download URL pairwise_alignments_to_msa-0.1.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8c6a4434b1b8302bff2f72b2d974ee1c87b22d164e15ef385b00fc2fe72208
BLAKE2b-256 checksum
How to use checksums
aed849881392b53f2af4b3dad64c32cb19a8f97194b10cb4580242485ca56479
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.11 Darwin/23.3.0

Release files / pairwise_alignments_to_msa-0.1.1-py3-none-any.whl

Download URL pairwise_alignments_to_msa-0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4e4b14479702e6580536c74f803c5200d1177591f19c301d29ffedf9c36b154
BLAKE2b-256 checksum
How to use checksums
7a59ab5a4e11d3731a64d1d4fa4a9b32640af01fa9a8dbbc122006e89714f024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.11 Darwin/23.3.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page