tblastn-vdb
Quick Start
- Command:
tblastn_vdb -query proteins.fa -db <SRA_or_WGS_name> [options] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/tblastn_vdb - Full reference: See references/help.md
When To Use This Tool
- Search protein queries against translated nucleotide content exposed through SRA or WGS-backed VDB sources.
- Run
tblastn-style searches without first building a local translated BLAST database. - Control whether you search unaligned reads, aligned reference sequences, or both via
-sra_mode. - Reuse BLAST protein-query controls such as
-matrix,-evalue,-comp_based_stats, or-in_pssm.
Common Patterns
# 1) Search unaligned reads only with tabular output
tblastn_vdb \
-query proteins.fa \
-db SRR123456 \
-sra_mode 0 \
-outfmt 6 \
-evalue 1e-6 \
-num_threads 8
# 2) Search aligned reference sequences only
tblastn_vdb \
-query proteins.fa \
-db SRR123456 \
-sra_mode 1 \
-out aligned_refs.txt
# 3) Include filtered reads and search from a PSI-BLAST checkpoint
tblastn_vdb \
-in_pssm profile.chk \
-db SRR123456 \
-sra_mode 2 \
-include_filtered_reads \
-outfmt "6 qaccver saccver pident length evalue bitscore"
Recommended Workflow
- Confirm the target is an SRA or WGS-backed VDB source and not an ordinary local BLAST database.
- Decide whether you want unaligned reads, aligned reference sequences, or both, then set
-sra_modeexplicitly. - Choose reproducible search settings up front:
-outfmt,-evalue,-matrix,-comp_based_stats, and-num_threads. - Start with a small query or accession subset before scaling the search across larger read-backed databases.
Guardrails
-dbhere means an SRA or WGS database name; it is not a standard local BLAST DB path.- This build uses BLAST+ single-dash conventions such as
-helpand-version; autogenerated--helpor--versioncaptures are wrong for the live binary. - Bare invocation fails with
Must specify at least one SRA/WGS database, so missing-dbis the first thing to check. -sra_mode 0searches unaligned reads only,1searches aligned reference sequences only, and2searches both; record that choice in reproducible workflows.-queryand-in_pssmare mutually exclusive, and-db_gencodematters if the subject database needs a non-standard translation table.