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.5.tar.gz
(1.8 MB
view hashes)
Built Distributions
Close
Hashes for diamond4py-0.0.5-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 120c19ce699de424fa56a2a29375f46918afd53bc5b95c582fe48dcfdb515601 |
|
MD5 | 26f65d735d6e93fef2a3e3b6e9210691 |
|
BLAKE2b-256 | 183bb3ce0b280e784965da667f1677dc9d43d87889941d0f1abe498c3cfb0268 |
Close
Hashes for diamond4py-0.0.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d78edd8f100e1b388b7a5efd7c9fb2b5ec20010912c8bccea88ee74236b2b1 |
|
MD5 | 604b02262f6cb66046190419b38de719 |
|
BLAKE2b-256 | cc149ba22bc7694b98c0f535c584087fd6f1825e6d03a05064d1eef776bebc28 |
Close
Hashes for diamond4py-0.0.5-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31c659e0fb03f27c995de5eb55d2535aadaf9597fef6fbea49db668146165c7 |
|
MD5 | d2aa0465a9b138199607de3fe69f47df |
|
BLAKE2b-256 | 3558a6458e15dfdc7ec81b499bdd4be803104bc804df17657150fff04270e5bb |
Close
Hashes for diamond4py-0.0.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8404c349b1ff1824ce3631ade7f1a6aedf86fa50bd4a5aeb02a44b6e9a03ff4c |
|
MD5 | 97e2d202fd0b67915b976d76e7ec271c |
|
BLAKE2b-256 | 7cbfac01a0ab1376e8702cb3e3a0df5f285b7a565f076af5256fa5df72bbeaf9 |
Close
Hashes for diamond4py-0.0.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1e6a02dc917ef08392ae6cd060fdb17c5ed9b2713dcd8e1ee467acb1baffad8 |
|
MD5 | 3586c9efb9b7c881098400a753d24721 |
|
BLAKE2b-256 | 749b4bc22c4cfa6d72864883728a8750ce2ff614a2e0f3e0915574e73d2924f9 |
Close
Hashes for diamond4py-0.0.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c3e226a3e3b400c41d2844ffefa572f94fd335b867947fe797ff0e314f80f9 |
|
MD5 | 3591dbd50ba33eaab0915fb1119bec89 |
|
BLAKE2b-256 | d22490b67407bca669eb7e95b2123cc389f0aab7f325d60bd5bf568965c1ca16 |
Close
Hashes for diamond4py-0.0.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad49cc16b8f8a752245712a7305f6d25372e4cb2ffaac0693e3b1baa3cc33310 |
|
MD5 | 70c74249c91e2edc900135d62a4f8226 |
|
BLAKE2b-256 | 1e4dd7af8b4517a9d304da42dc7aab8760ce62212d19f4f66e301e627cd7babf |