- support sensitivity mode
- support ouput format
from diamond4py import Diamond, Sensitivity, OutFormat
# 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",
sensitivity = Sensitivity.DEFAULT,
outfmt=OutFormat.BLAST_TABULAR
)