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.2rc3.tar.gz
(1.5 MB
view hashes)
Built Distributions
Close
Hashes for diamond4py-0.0.2rc3-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0d45e56dd4e9775ff028bcd7c3524b3ff77952ce4f389c15603879f1953c03b |
|
MD5 | 9e7590bbf0c3925c865e882bdcebe077 |
|
BLAKE2b-256 | dcc3953284e4c7be21b4ddc670b2dfa790f69fc5187ec01ce43624c07fdeabbd |
Close
Hashes for diamond4py-0.0.2rc3-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a3bb442dd2bb45e5daf528d7dad1bb595439318ab27d740c5c595b2b18cecc7 |
|
MD5 | e75796dda2c2104fbd443e43963b0c04 |
|
BLAKE2b-256 | 4f9340639d7481a5bad7c0e3947c57a1839c200177f9af36df8e25c58a5cddc7 |
Close
Hashes for diamond4py-0.0.2rc3-cp38-cp38-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed2ed1a21f6ae9b9c30002b959260a7503ded7d4f2813859fea43bc1bc791b59 |
|
MD5 | 6d1d043db6dad1657c0d87fee2de9bed |
|
BLAKE2b-256 | a1555ac900f5b4c8248c103f5e80fe29613fd0528072572717ce798d241758c5 |
Close
Hashes for diamond4py-0.0.2rc3-cp37-cp37m-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70eb8b9b5beb6445aa5bfa7894bb201f47d58fe4d0c99d2708cac6e32f9ec5e2 |
|
MD5 | 9107bcef384e9d220a7f92d7828520fd |
|
BLAKE2b-256 | 24893e0375c92a94c941931c69815943735608f0b00a299d1703d614f6a74e51 |