Diamond Python Bindings
Project description
diamondpy
This is python binding for diamond--a sequence alignment BLAST software implements in C++.
install
- from source code
git clone https://github.com/GCS-ZHN/diamondpy.git
cd diamondpy
conda create -n diamondpy python=3.8
# zlib is required by diamond.
conda install -c anaconda zlib
pip install -v .
- from pypi
pip install diamondpy
Usage
from diamondpy 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"
)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for diamond4py-0.0.1rc1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1635e8fa9d0b14692b91310fc7871933b1bd85e3376176e8401d08ccab7de3f |
|
MD5 | d099cdf4298f43b890c830f89abab0d4 |
|
BLAKE2b-256 | e5f0123c285d47886eb62eba9a6fc44eec86ca5d690d155c7f61a78465bca9df |