Use when searching nucleotide sequences against SRA/VDB databases using BLAST. Invokes blastn_vdb for nucleotide-nucleotide alignment with SRA accessions.
blastn_vdb -query query.fa -db <SRA_or_WGS_name> [options]/home/vimalinx/miniforge3/envs/bio/bin/blastn_vdbreferences/help.md-sra_mode.# 1) Search an accession's unaligned reads with tabular output
blastn_vdb \
-query query.fa \
-db SRR123456 \
-sra_mode 0 \
-outfmt 6 \
-evalue 1e-10 \
-num_threads 8
# 2) Search aligned reference sequences only
blastn_vdb \
-query query.fa \
-db SRR123456 \
-sra_mode 1 \
-out results.txt
# 3) Include filtered reads and cap hit count
blastn_vdb \
-query query.fa \
-db SRR123456 \
-include_filtered_reads \
-max_target_seqs 20 \
-outfmt "6 qaccver saccver pident length evalue bitscore"
-sra_mode deliberately: 0 for unaligned reads, 1 for aligned reference sequences, 2 for both.-outfmt, -evalue, and -max_target_seqs settings so results remain predictable across runs.-db here is an SRA or WGS source name, not a standard local BLAST database path.megablast; override -task if you need blastn-short, dc-megablast, or another mode.-help and -version; the usual --help pattern is wrong in this build.-num_descriptions and -num_alignments are incompatible with -max_target_seqs.-include_filtered_reads and -sra_mode can materially change the search universe, so record them in reproducible workflows.