tblastn
Protein query to nucleotide database search
TLDR
Search a protein query against a nucleotide database
SYNOPSIS
tblastn [-query file] [-db database] [-out file] [options]
DESCRIPTION
tblastn is part of the NCBI BLAST+ suite for sequence alignment. It searches a protein query sequence against a nucleotide sequence database, translating the database sequences in all six reading frames at search time. This is useful for finding protein-coding regions in nucleotide sequences.
The algorithm compares each protein query against the translated nucleotide subjects and reports statistically significant alignments. Results can be formatted in various ways for downstream analysis, including tabular formats suitable for parsing.
PARAMETERS
-query file
Input file with protein query sequence(s) in FASTA format.-db database
Nucleotide database name or path to search against.-out file
Output file for results (default: stdout).-outfmt format
Output format: 0 (pairwise), 6 (tabular), 7 (tabular with comments), 10 (CSV), and others.-evalue value
E-value threshold for reporting matches (default: 10).-num_threads n
Number of threads for parallel execution.-task task
Task to execute: tblastn (standard) or tblastn-fast (faster, larger word size).-remote
Execute search against NCBI servers instead of local database.-max_target_seqs n
Maximum number of aligned sequences to keep.-word_size n
Word size for initial match.-matrix name
Scoring matrix (e.g., BLOSUM62, PAM30).-comp_based_stats mode
Composition-based statistics mode (0-3).-seg options
Filter query with SEG algorithm.-h
Print abbreviated help.-help
Print detailed help with all options.-version
Print version information.
CAVEATS
Searching against translated databases is computationally intensive since each subject sequence is translated in six frames. For large databases, use -num_threads to enable parallel execution. The tblastn-fast task provides faster but less sensitive searches. Local database searches require pre-built BLAST databases created with makeblastdb.
HISTORY
BLAST (Basic Local Alignment Search Tool) was developed at NCBI by Stephen Altschul and colleagues, with the original algorithm published in 1990. tblastn was part of the original BLAST suite for protein-to-translated-nucleotide searches. The BLAST+ command-line applications, a complete rewrite in C++, were released in 2009 and continue to be actively maintained by NCBI.
SEE ALSO
blastn(1), blastp(1), blastx(1), makeblastdb(1), tblastx(1)
