Diamond Python bindings for sequence alignment
Project description
diamond4py
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/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
pip install diamond4py
Usage
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"
)
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 Distribution
diamond4py-0.0.2rc1.tar.gz
(1.5 MB
view hashes)
Built Distributions
Close
Hashes for diamond4py-0.0.2rc1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ed47673f44ffded133f917c324fbded3c5bce0669a1a7a8fe36faabe791bd2 |
|
MD5 | b7192d068024e01e5380f141f80fa84f |
|
BLAKE2b-256 | 24d0c8bfc08cf0ce3d3180d691ac0043e82a49e4a26d2f055b2dcf83f749e5e8 |
Close
Hashes for diamond4py-0.0.2rc1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3874cf669d7e0420d3bef317f4dc6317acb41d74774591c2b122ca95a27129b |
|
MD5 | ebbfbf760f3c12d6f9b723622171276e |
|
BLAKE2b-256 | 24d9ba57c5a368065add1294c988a9206fa4f9c63d88063a0022927e292021e8 |
Close
Hashes for diamond4py-0.0.2rc1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d6af7b301e6415d638df22b5d0136c28ee083e03a77ace0f52b9f631dd63964 |
|
MD5 | 80d1eabe96db58c27fffb245f2b92efd |
|
BLAKE2b-256 | 46745318ce2927949b3aa0cfd9a5e171e965491b4cd0059525a16afc74dfbb0b |
Close
Hashes for diamond4py-0.0.2rc1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 094758633c60ef8e4eb40355fbc0fe06abf0d6b0af2b1aab8a5c105239e66f5f |
|
MD5 | 3c63197817f92449ecb5329776ddc7b4 |
|
BLAKE2b-256 | d774a78d892dfa27c7fbb2dfa5b2eab0e641ae3508bf23c4cfe945b3f297a155 |