ataserinyelMSA
Python ile yazılmış, MAFFT'tan ilham alan bir Çoklu Dizi Hizalama (MSA) aracı.
Algoritma
Bu araç, MAFFT FFT-NS-1 pipeline'ının basitleştirilmiş bir versiyonunu uygular:
- FASTA Okuma/Yazma — Standart FASTA formatında dosya okuma ve yazma
- FFT Tabanlı Mesafe Matrisi — Nükleotid vektörlerinin (4 kanallı, tek sıcak kodlama) çapraz korelasyonu ile ikili dizi benzerlik tahmini
- Rehber Ağaç — Mesafe matrisine UPGMA kümeleme uygulaması
- Aşamalı Hizalama — Rehber ağaç sırasına göre uygulanan Needleman-Wunsch global hizalaması; birleştirilen gruplar her adımda konsensüs dizi ile temsil edilir
Puanlama
| Çift | Puan |
|---|---|
| Eşleşme (A=A, T=T, G=G, C=C, U=U) | +1 |
| T / U (biyolojik olarak eşdeğer) | +1 |
| Uyuşmazlık | -1 |
| Boşluk (Gap) | -1 |
Orijinal MAFFT'tan Farklar
- Gelişmiş yer değiştirme matrisleri yerine basit +1/−1 nükleotid puanlaması kullanır
- Afin boşluk cezası yok (açma ve uzatma ayrımı yok)
- Yinelemeli iyileştirme yok (FFT-NS-2 / FFT-NS-i)
- Küçük DNA/RNA veri setleri için uygundur
Proje Yapısı
ataserinyelMSA/
├── main.py # Komut satırı giriş noktası
├── src/ataserinyelMSA/
│ ├── fasta.py # FASTA okuma/yazma
│ ├── scoring.py # Nükleotid puanlama matrisi
│ ├── fft_utils.py # FFT tabanlı mesafe hesabı
│ ├── alignment.py # Needleman-Wunsch, aşamalı hizalama
│ └── tree.py # UPGMA rehber ağaç
└── test/
├── test.fasta # Örnek girdi
├── test_scoring.py
├── test_alignment.py
├── test_fasta.py
├── test_distance.py
├── test_tree.py
├── test_progressive_alignment.py
└── test_pipline.py
Kullanım
python main.py girdi.fasta cikti.fasta
Örnek
Girdi (test/test.fasta):
>seq1
GATTACA
>seq2
GCATGCU
>seq3
AGCTAGC
Çıktı (test/output.fasta):
>seq1
-GAT-TACA
>seq2
-GC-ATGCU
>seq3
AGCTA-GC-
Kurulum
pip install ataserinyelMSA
Testleri Çalıştırma
python -m pytest test/ -v
Yazar
Ata Serinyel
Metadata
Release files for ataserinyelMSA 0.4.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 |
|---|---|---|---|---|
| ataserinyelmsa-0.4.0.tar.gz | 13.4 kB | Without provenance | Details for ataserinyelmsa-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ataserinyelmsa-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for ataserinyelmsa-0.4.0-py3-none-any.whl |
Total release size: 25.6 kB
Release files / ataserinyelmsa-0.4.0.tar.gz
| Download URL | ataserinyelmsa-0.4.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61fafe5c4b028a70c92a7036165d066de1404b6f5b58390c7b265d0f860a288e
|
|
BLAKE2b-256 checksum How to use checksums |
9cd94d2fdce11cfa2a1365b6c0253cba1d98c6e9c3f6ef4698c6c84d069eb48f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / ataserinyelmsa-0.4.0-py3-none-any.whl
| Download URL | ataserinyelmsa-0.4.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f861cb9f65b9064c990fda0df215fd55c0eb5dfef2a998c691b449ab03e4ad38
|
|
BLAKE2b-256 checksum How to use checksums |
8186b9313ae0b5aeb414e3c4d1e156e07b0e44c84e815c000819e313cfce7a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Security for ataserinyelMSA 0.4.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.