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.3.tar.gz
(1.5 MB
view hashes)
Built Distributions
Close
Hashes for diamond4py-0.0.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df5ccef5adb113076e7fb624639bd1464192b0fe761ed7a388280048996b8c06 |
|
MD5 | e0eb37cb08b4eac76b0c348f5b1432b5 |
|
BLAKE2b-256 | a1146af33534f2b89c3667c5d6d74abe41cd7d2bd410250f651f7e3df12fd811 |
Close
Hashes for diamond4py-0.0.3-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd4199a9a12cd132cce8e050ce107e2318ce21ef845204282c3a0fbdeda553c |
|
MD5 | 7778338669e0517c01042ec07327cda8 |
|
BLAKE2b-256 | 7ce8e38ec2f21ab5cce2146dbd5f6a70a318224558b3b838f8c43314be6f45c8 |
Close
Hashes for diamond4py-0.0.3-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78514bdf989d6741c9cf395a4ac82326557f76a43b6f04d95748923d5e31cdd0 |
|
MD5 | 867f2ab01f7081ca516c5a8def5c00dc |
|
BLAKE2b-256 | 62c86f89b9d642d34cac66b18508cb06655082c7f4acf8f9ddb3c4022acb4b4f |
Close
Hashes for diamond4py-0.0.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6462018ccbfebc08fa113211cd3ba35aa0310c6497a2bcc208df5d7fefea9b6d |
|
MD5 | 80a106f10b5d355c8d8e916dafd1f4c8 |
|
BLAKE2b-256 | a1c76d9ea95d4689a565bf6ab9eca74c82b9de429f60e55b92cfe1e45dbc4825 |
Close
Hashes for diamond4py-0.0.3-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d022206d592a9e297076c2e7a642b25d53b03f2ebb1b943b9a0d2edba7265a |
|
MD5 | 5bf84ce882e6fadcbfb141bcaa045ab1 |
|
BLAKE2b-256 | 000990cb3802e26c59c7236509efcd4ad0b551f97194aa6a1ef22e76ba5f2784 |
Close
Hashes for diamond4py-0.0.3-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb94ea62cc732fd6707ba24b8bbce48beb8e5d26756a9a0b1a4fcfa81bdf89ed |
|
MD5 | 303f540e8c8f5b502c37d75a89d925f3 |
|
BLAKE2b-256 | e5fe72472026c34226f15bf67e61de38186dd3c2ad3be2c89b0331012df43b8b |
Close
Hashes for diamond4py-0.0.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a881634f09df8ded583ba39977c57624cfd26962a6e381723f320be23651f80 |
|
MD5 | 8a36561fa2499b9437c15b26eed5b39e |
|
BLAKE2b-256 | 72aad8ada626e07d5b37510bf624cbf3455e137134c754c2ee5f313ae988a9ef |
Close
Hashes for diamond4py-0.0.3-cp38-cp38-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98aa899acb6e182cc7888fd162012f51d3be99d35efc81d74ce795460705ade9 |
|
MD5 | 8a2238c73bbbc80683a513c5ad57b6e6 |
|
BLAKE2b-256 | 0cc9f41abdce8d93e79333687a6b2c4b8bb019478ded9c30273727a8dbc24063 |
Close
Hashes for diamond4py-0.0.3-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0848200cd4b411831925ad65ae5f653bd4b058dd8f22e0c831f081eaa4c12831 |
|
MD5 | 40ec2caa16eb9e33ce6e19b955145ea7 |
|
BLAKE2b-256 | d16f575e6873519bf3d96e97acc957397c0235ebff0975188f9573249848185f |
Close
Hashes for diamond4py-0.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed8373a7765d8c1343cf90f34525278293bce1caa7ca715ede6fa18729067db6 |
|
MD5 | 10d88ec2c793d4beb870a604cf3fce72 |
|
BLAKE2b-256 | 1c57caf2bf2c1729038610a00c1b30438627690e5ee69507bd577df5e0016e80 |
Close
Hashes for diamond4py-0.0.3-cp37-cp37m-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | befe635d5b2da149a477f4435b517e2a21dde8e28c401933b5b4f0920dff7383 |
|
MD5 | 7bdc6c901908f9d4ab10aebeb1bd50b0 |
|
BLAKE2b-256 | bb49c2dbe29248ccae249e4efa7fd4aff1a3b70852ff17f082b8372f06537eee |
Close
Hashes for diamond4py-0.0.3-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5106a4196d2734d021194b409ac0933b90bd113d96238f42d991aeecc0da4430 |
|
MD5 | 7dd940ef9c1cacb64191ec040c38cdce |
|
BLAKE2b-256 | 8bd5667a2d0cd615c611dd20c71091e18ed1a769c21c9110bc308ce933770687 |