- support to custom tabular output column
OutFormat.BLAST_TABULAR.with_extra_option(
"qseqid", "qstart",
"qend", "qlen", "sseqid"
) # it will change it globally
# call this will reset to default
OutFormat.BLAST_TABULAR.reset()
- support use
kwargs
to use unimplemented diamond options in blastp
diamond.blastp(
query="test_proteins.fasta",
out="test_blastp_output",
outfmt=OutFormat.BLAST_TABULAR,
sensitivity=Sensitivity.DEFAULT,
top=5 # `--top` option is not directly defined
block_size=2.0 # `--block-size` is not directly defined
)
- add new subcommand
blastx
diamond.blastx(
query="test_dna.fasta",
out="test_blastx_output",
outfmt=OutFormat.BLAST_TABULAR.reset().value,
max_target_seqs=10
)
- add subcommand dynamic wrapper for any other unimplemented subcomand,
# a dynamic wrapper the same as `diamond test` in cli
diamond.test()
diamond.help()