Skip to content

vimalinx/bio-agent / .claude/skills/tblastn-vdb

tblastn-vdb

Verified

Use when searching protein queries against translated SRA or WGS-backed VDB databases with BLAST.

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

  1. Confirm the target is an SRA or WGS-backed VDB source and not an ordinary local BLAST database.
  2. Decide whether you want unaligned reads, aligned reference sequences, or both, then set -sra_mode explicitly.
  3. Choose reproducible search settings up front: -outfmt, -evalue, -matrix, -comp_based_stats, and -num_threads.
  4. Start with a small query or accession subset before scaling the search across larger read-backed databases.

Guardrails

  • -db here 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 -help and -version; autogenerated --help or --version captures are wrong for the live binary.
  • Bare invocation fails with Must specify at least one SRA/WGS database, so missing -db is the first thing to check.
  • -sra_mode 0 searches unaligned reads only, 1 searches aligned reference sequences only, and 2 searches both; record that choice in reproducible workflows.
  • -query and -in_pssm are mutually exclusive, and -db_gencode matters if the subject database needs a non-standard translation table.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall