dynamicMSA
Dinamik Programlama (Needleman-Wunsch + UPGMA) tabanlı Çoklu Dizi Hizalaması kütüphanesi.
Kurulum
pip install dynamicMSA
Hızlı Kullanım
from dynamicMSA import align
sequences = ["ACGTACGT", "ACGTTCGT", "ACGT-CGT"]
names = ["Dizi1", "Dizi2", "Dizi3"]
result = align(sequences, names=names, visualize=True)
print(result["aligned"]) # hizalanmış diziler
print(result["score"]) # toplam hizalama skoru
Özellikler
- Needleman-Wunsch ile global ikili hizalama
- UPGMA ile kılavuz ağaç oluşturma
- Progressive Alignment ile çoklu dizi hizalaması
- Matplotlib ile 3 farklı görselleştirme:
- DP matrisi ısı haritası (traceback yolu ile)
- UPGMA kılavuz ağacı (dendrogram)
- Renkli hizalama tablosu (korunmuş pozisyonlar vurgulanır)
Parametreler
| Parametre | Açıklama | Varsayılan |
|---|---|---|
match |
Eşleşme skoru | +1 |
mismatch |
Uyumsuzluk cezası | -1 |
gap |
Boşluk cezası | -2 |
visualize |
Grafikleri göster | True |
save_figures |
Grafikleri kaydet | False |
Algoritma
1. Her dizi çifti için Needleman-Wunsch → mesafe matrisi
2. UPGMA algoritması → kılavuz ağaç
3. Progressive Alignment → final MSA
Lisans
MIT
Metadata
Release files for dynamicMSA 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dynamicmsa-0.1.0.tar.gz | 18.6 kB | Without provenance | Details for dynamicmsa-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dynamicmsa-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dynamicmsa-0.1.0-py3-none-any.whl |
Total release size: 40.8 kB
Release files / dynamicmsa-0.1.0.tar.gz
| Download URL | dynamicmsa-0.1.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c87c54ed981c3ce3cc4933ec9980945ae7af8a8d73461c0c0a44167ca6f1780b
|
|
BLAKE2b-256 checksum How to use checksums |
ae6925420ef7f88de31e04bd23127a22077c5b94b93ce5bbad6541d9b8351f50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Release files / dynamicmsa-0.1.0-py3-none-any.whl
| Download URL | dynamicmsa-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1107566847e0cb79b906a9222f1e18e9f336bf2da2f4eadbacb0fe3f08f10dbc
|
|
BLAKE2b-256 checksum How to use checksums |
2709619b9e369b7dad6095feb887bff76fd6fc8c9e0ed5c0486caa8cc3140334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Security for dynamicMSA 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.