高速蛋白序列比对工具,常作为 BLASTP/BLASTX 的快速替代。Fast protein sequence aligner for large-scale homology search.
mamba install -c bioconda diamond
构建数据库:
diamond makedb --in proteins.fa -d proteins.dmnd
蛋白对蛋白搜索:
diamond blastp -d proteins.dmnd -q query_proteins.fa \
-o matches.tsv -f 6 qseqid sseqid pident length evalue bitscore \
--threads 8
核酸翻译搜索:
diamond blastx -d proteins.dmnd -q contigs.fa \
-o blastx.tsv -f 6 --threads 8 --evalue 1e-5
更敏感模式:
diamond blastp -d proteins.dmnd -q query.fa -o sensitive.tsv \
--sensitive --threads 8
makedb:构建 DIAMOND 数据库。blastp:蛋白 query 搜蛋白库。blastx:核酸 query 翻译后搜蛋白库。-f 6:BLAST tabular 输出。--sensitive / --very-sensitive:提高敏感性。--threads:线程数。