DIAMOND(1)
๐ DIAMOND(1) ๐
okay bestie, welcome to the DIAMOND(1) manual page โ this is literally the whole vibe for diamond, the accelerated BLAST compatible local sequence aligner. no cap, we're gonna go through every flag, every command, every lil keyword, and you're gonna understand it. periodt. ๐
โจ
โจ NAME โจ
diamondโ accelerated BLAST compatible local sequence aligner ๐ฆ
๐ DESCRIPTION ๐
so first things first, the version is diamond v2.0.13.151, and the copyright is (C) Max Planck Society for the Advancement of Science. Documentation, support and updates are available at http://www.diamondsearch.org. Please cite: http://dx.doi.org/10.1038/s41592-021-01101-x โ that's Nature Methods (2021). iconic. ๐โจ
Syntax:
diamond COMMAND [OPTIONS]
๐ Commands ๐
makedbโ Build DIAMOND database from a FASTA file ๐๏ธblastpโ Align amino acid query sequences against a protein reference database ๐งฌblastxโ Align DNA query sequences against a protein reference database ๐งฌviewโ View DIAMOND alignment archive (DAA) formatted file ๐helpโ Produce help message ๐versionโ Display version information ๐getseqโ Retrieve sequences from a DIAMOND database file ๐ฅdbinfoโ Print information about a DIAMOND database file โน๏ธtestโ Run regression tests ๐งชmakeidxโ Make database index ๐๏ธ
๐ธ General options ๐ธ
--threads(-p) โ number of CPU threads ๐งต--db(-d) โ database file ๐๏ธ--out(-o) โ output file ๐ค--outfmt(-f) โ output format ๐
output format values
0= BLAST pairwise5= BLAST XML6= BLAST tabular100= DIAMOND alignment archive (DAA)101= SAM
Value 6 may be followed by a space-separated list of these keywords:
qseqidmeans Query Seq - idqlenmeans Query sequence lengthsseqidmeans Subject Seq - idsallseqidmeans All subject Seq - id(s), separated by a;slenmeans Subject sequence lengthqstartmeans Start of alignment in queryqendmeans End of alignment in querysstartmeans Start of alignment in subjectsendmeans End of alignment in subjectqseqmeans Aligned part of query sequenceqseq_translatedmeans Aligned part of query sequence (translated)full_qseqmeans Query sequencefull_qseq_matemeans Query sequence of the matesseqmeans Aligned part of subject sequencefull_sseqmeans Subject sequenceevaluemeans Expect valuebitscoremeans Bit scorescoremeans Raw scorelengthmeans Alignment lengthpidentmeans Percentage of identical matchesnidentmeans Number of identical matchesmismatchmeans Number of mismatchespositivemeans Number of positive - scoring matchesgapopenmeans Number of gap openingsgapsmeans Total number of gapspposmeans Percentage of positive - scoring matchesqframemeans Query framebtopmeans Blast traceback operations(BTOP)cigarmeans CIGAR stringstaxidsmeans unique Subject Taxonomy ID(s), separated by a;(in numerical order)sscinamesmeans unique Subject Scientific Name(s), separated by a;sskingdomsmeans unique Subject Super Kingdom(s), separated by a;skingdomsmeans unique Subject Kingdom(s), separated by a;sphylumsmeans unique Subject Phylum(s), separated by a;stitlemeans Subject Titlesalltitlesmeans All Subject Title(s), separated by a<>qcovhspmeans Query Coverage Per HSPscovhspmeans Subject Coverage Per HSPqtitlemeans Query titleqqualmeans Query quality values for the aligned part of the queryfull_qqualmeans Query quality valuesqstrandmeans Query strand
Default: qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore
--verbose(-v) โ verbose console output ๐--logโ enable debug log ๐--quietโ disable console output ๐คซ--headerโ Write header lines to blast tabular format. ๐
๐๏ธ Makedb options ๐๏ธ
--inโ input reference file in FASTA format ๐ฅ--taxonmapโ protein accession to taxid mapping file ๐งฌ--taxonnodesโ taxonomynodes.dmpfrom NCBI ๐ณ--taxonnamesโ taxonomynames.dmpfrom NCBI ๐ณ
๐งฌ Aligner options ๐งฌ
--query(-q) โ input query file ๐ฅ--strandโ query strands to search (both/minus/plus) ๐งญ--unโ file for unaligned queries ๐--alโ file or aligned queries ๐--unfmtโ format of unaligned query file (fasta/fastq) ๐--alfmtโ format of aligned query file (fasta/fastq) ๐--unalโ report unaligned queries (0=no, 1=yes) ๐--max-target-seqs(-k) โ maximum number of target sequences to report alignments for (default=25) ๐ฏ--topโ report alignments within this percentage range of top alignment score (overrides--max-target-seqs) ๐--max-hspsโ maximum number of HSPs per target sequence to report for each query (default=1) ๐ข--range-cullingโ restrict hit culling to overlapping query ranges โ๏ธ--compressโ compression for output files (0=none, 1=gzip, zstd) ๐๏ธ--evalue(-e) โ maximum e-value to report alignments (default=0.001) ๐--min-scoreโ minimum bit score to report alignments (overrides e-value setting) ๐--idโ minimum identity% to report an alignment ๐--query-coverโ minimum query cover% to report an alignment ๐--subject-coverโ minimum subject cover% to report an alignment ๐--fastโ enable fast mode โก--mid-sensitiveโ enable mid-sensitive mode โ๏ธ--sensitiveโ enable sensitive mode ๐ฏ--more-sensitiveโ enable more sensitive mode ๐ฏ--very-sensitiveโ enable very sensitive mode ๐ฏ--ultra-sensitiveโ enable ultra sensitive mode ๐ฏ--iterateโ iterated search with increasing sensitivity ๐--global-ranking(-g) โ number of targets for global ranking ๐--block-size(-b) โ sequence block size in billions of letters (default=2.0) ๐งฑ--index-chunks(-c) โ number of chunks for index processing (default=4) ๐งฉ--tmpdir(-t) โ directory for temporary files ๐--parallel-tmpdirโ directory for temporary files used by multiprocessing ๐--gapopenโ gap open penalty โ๏ธ--gapextendโ gap extension penalty โ๏ธ--frameshift(-F) โ frame shift penalty (default=disabled) ๐ซ--long-readsโ short for--range-culling --top 10 -F 15๐--matrixโ score matrix for protein alignment (default=BLOSUM62) ๐งฎ--custom-matrixโ file containing custom scoring matrix ๐งฎ--comp-based-statsโ composition based statistics mode (0-4) ๐--maskingโ masking algorithm (none, seg, tantan=default) ๐ญ--query-gencodeโ genetic code to use to translate query (see user manual) ๐งฌ--salltitlesโ include full subject titles in DAA file ๐--sallseqidโ include all subject ids in DAA file ๐--no-self-hitsโ suppress reporting of identical self hits ๐ซ--taxonlistโ restrict search to list of taxon ids (comma-separated) ๐--taxon-excludeโ exclude list of taxon ids (comma-separated) ๐ซ--seqidlistโ filter the database by list of accessions ๐๏ธ--skip-missing-seqidsโ ignore accessions missing in the database ๐ซ
๐ฅ Advanced options ๐ฅ
--algoโ Seed search algorithm (0=double-indexed/1=query-indexed/ctg=contiguous-seed) ๐ง--binโ number of query bins for seed search ๐๏ธ--min-orf(-l) โ ignore translated sequences without an open reading frame of at least this length ๐--seed-cutโ cutoff for seed complexity โ๏ธ--freq-maskingโ mask seeds based on frequency ๐ญ--freq-sdโ number of standard deviations for ignoring frequent seeds ๐--motif-maskingโ softmask abundant motifs (0/1) ๐ญ--id2โ minimum number of identities for stage 1 hit ๐--xdrop(-x) โ xdrop for ungapped alignment ๐--gapped-filter-evalueโ E-value threshold for gapped filter (auto) ๐--bandโ band for dynamic programming computation ๐ต--shapes(-s) โ number of seed shapes (default=all available) ๐ท--shape-maskโ seed shapes ๐ท--multiprocessingโ enable distributed-memory parallel processing ๐ฅ๏ธ--mp-initโ initialize multiprocessing run ๐--mp-recoverโ enable continuation of interrupted multiprocessing run ๐--mp-query-chunkโ process only a single query chunk as specified ๐งฉ--ext-chunk-sizeโ chunk size for adaptive ranking (default=auto) ๐ฆ--no-rankingโ disable ranking heuristic ๐ซ--extโ Extension mode (banded-fast/banded-slow/full) ๐งช--culling-overlapโ minimum range overlap with higher scoring hit to delete a hit (default=50%) โ๏ธ--taxon-kโ maximum number of targets to report per species ๐งฌ--range-coverโ percentage of query range to be covered for range culling (default=50%) ๐--dbsizeโ effective database size (in letters) ๐๏ธ--no-auto-appendโ disable auto appending of DAA and DMND file extensions ๐ซ--xml-blord-formatโ Usegnl|BL_ORD_ID|style format in XML output ๐--stop-match-scoreโ Set the match score of stop codons against each other. ๐--tantan-minMaskProbโ minimum repeat probability for masking (default=0.9) ๐ญ--file-buffer-sizeโ file buffer size in bytes (default=67108864) ๐ฆ--memory-limit(-M) โ Memory limit for extension stage in GB ๐ง--no-unlinkโ Do not unlink temporary files. ๐ซ--target-indexedโ Enable target-indexed mode ๐ฏ--ignore-warningsโ Ignore warnings โ ๏ธ
๐ View options ๐
--daa(-a) โ DIAMOND alignment archive (DAA) file ๐ฆ--forwardonlyโ only show alignments of forward strand โก๏ธ
๐ฅ Getseq options ๐ฅ
--seqโ Space-separated list of sequence numbers to display. ๐ข
Online documentation at http://www.diamondsearch.org ๐
๐ AUTHOR ๐
This manpage was written by Nilesh Patra for the Debian distribution and can be used for any other usage of the program. slay. ๐
so yeah, that's the whole page. the footer says diamond 2.0.13, October 2021, DIAMOND(1) โ mwah ๐โจ
๐ฆ where this page comes from
- debian bookworm: diamond-aligner 2.1.3-1 ยท BSD-3-Clause
- debian trixie: diamond-aligner 2.1.11-2 ยท GPL-3.0-or-later
- ubuntu jammy: diamond-aligner 2.0.14-1 ยท BSD-3-Clause
- ubuntu noble: diamond-aligner 2.1.9-1 ยท BSD-3-Clause
- ubuntu questing: diamond-aligner 2.1.11-2
- ubuntu resolute: diamond-aligner 2.1.14-1 ยท GPL-3.0-or-later
- ubuntu stonking: diamond-aligner 2.2.5-2ubuntu1 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms