diamond4py-0.0.5
توضیحات
Diamond Python bindings for sequence alignment
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | diamond4py-0.0.5 |
| نام | diamond4py |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | "Zhang.H.N" <zhang.h.n@foxmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/diamond4py/ |
| مجوز | GPLv3 |
# diamond4py
[](https://pypi.org/project/diamond4py/)


This is python binding for [diamond](https://github.com/bbuchfink/diamond)--a sequence alignment BLAST software implements in C++.
## install
- from source code
```bash
git clone https://github.com/GCS-ZHN/diamond4py.git
cd diamond4py
conda create -n diamond4py python=3.8
# zlib is required by diamond.
conda install -c anaconda zlib
pip install -v .
```
- from pypi
```bahs
pip install diamond4py
```
## Usage
```python
from diamond4py import Diamond
# create a object
diamond = Diamond(
database="database.dmnd",
n_threads=4
)
# make db if you don't create it or just download one from websites
diamond.makedb("database.fasta")
print(diamond.version)
# print database statistic info
diamond.dbinfo()
# run blast for proteins
diamond.blastp(
query="test_proteins.fasta",
out="test_output"
)
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl diamond4py-0.0.5:
pip install diamond4py-0.0.5.whl
نصب پکیج tar.gz diamond4py-0.0.5:
pip install diamond4py-0.0.5.tar.gz