blastx
Translated nucleotide-to-protein sequence search
TLDR
Search translated nucleotide against protein database
SYNOPSIS
blastx [-query file] [-db database] [-out file] [options]
DESCRIPTION
blastx translates a nucleotide query sequence in all six reading frames and searches it against a protein database. It is part of the NCBI BLAST+ suite for sequence similarity searching.
This tool is useful for identifying protein homologs of nucleotide sequences, annotating genes, and finding coding regions in DNA sequences.
PARAMETERS
-query file
Input nucleotide sequence file (FASTA format)-db name
Protein database to search against (e.g., nr, swissprot)-out file
Output file for results-outfmt format
Output format: 0=pairwise, 5=XML, 6=tabular, 7=tabular with comments-evalue value
E-value threshold for reporting hits (default: 10)-max_target_seqs n
Maximum number of aligned sequences to keep-num_threads n
Number of threads/CPUs to use-word_size n
Word size for initial match-matrix name
Scoring matrix (e.g., BLOSUM62, PAM250)-query_gencode n
Genetic code for query translation (default: 1)
CAVEATS
Requires pre-formatted BLAST databases; use makeblastdb to create them. Large databases like nr require significant disk space and memory. Translation in six frames increases computational time compared to blastn.
HISTORY
BLAST (Basic Local Alignment Search Tool) was originally developed at NCBI by Stephen Altschul and colleagues in 1990. The BLAST+ suite, including blastx, was released in 2009 with improved performance and new features.
SEE ALSO
blastn(1), blastp(1), tblastn(1), makeblastdb(1), blastdbcmd(1)
