Runs local NCBI BLAST+ 2.17.0 sequence searches (blastn/blastp/blastx/tblastn) with makeblastdb, tabular output, taxonomic scoping, and multithreading. Includes DIAMOND ultra-sensitive blastp for large protein searches.
Ships in alterlab-bioinformatics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run local NCBI BLAST+ 2.17.0 searches end-to-end: build a database with
makeblastdb, search it with blastn / blastp / blastx / tblastn, emit
machine-parseable tabular output, and scope by taxonomy. For very large protein
searches, hand off to DIAMOND blastp --ultra-sensitive (100x–10,000x the
speed of BLAST, per the DIAMOND project). This is the CLI / local-database
skill; it is deliberately distinct from the Biopython web API and the gget
one-liner (see routing table below).
Bulk DB builds and large searches are CPU/IO-heavy and fully offline — good candidates to run on local compute rather than burning API calls.
Use this skill when the request involves any of:
-taxids / -negative_taxids)blastpblastdbcmd, requires -parse_seqids)Route adjacent requests to the right sibling skill instead of forcing BLAST+:
| The request is really about… | Route to |
|---|---|
The web BLAST API (Bio.Blast.NCBIWWW.qblast), or scripting BLAST inside a Python pipeline with Bio.Blast parsing | alterlab-biopython |
A quick one-liner BLAST/database lookup (gget blast, gene/structure/enrichment lookups) | alterlab-gget |
| Unified programmatic access to many bio web services (UniProt, KEGG, Ensembl REST, NCBI eUtils) | alterlab-bioservices |
| Building/searching a phylogenetic tree from sequences, not a similarity search | alterlab-phylogenetics |
| Read alignment to a reference genome (BWA/minimap2 → BAM) and SAM/BAM handling | alterlab-pysam |
| FASTQ→VCF variant calling pipeline | alterlab-nf-core-sarek |
| Transcript-level RNA-seq quantification (salmon/kallisto) | alterlab-rnaseq-quant |
| 16S/ITS amplicon classification (QIIME 2) | alterlab-qiime2-amplicon |
| Protein structure prediction / embeddings (ESM, AlphaFold) | alterlab-esm |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-biopython) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
If the user explicitly says "web BLAST", "NCBIWWW", or "without installing
anything", they want alterlab-biopython, not this skill.
# 1. Build a protein DB (‑parse_seqids enables blastdbcmd retrieval + DIAMOND reuse)
makeblastdb -in proteins.fasta -dbtype prot -parse_seqids -out mydb -title "my proteins"
# 2. Search, tabular output you can parse, std 12 columns
blastp -query query.faa -db mydb -outfmt 6 -evalue 1e-5 -out hits.tsv
# 3. QC / summarize the tabular output (stdlib only)
uv run python scripts/parse_blast_tab.py hits.tsv --best-hit
-outfmt 6 is the canonical machine-readable format; its default columns are
the std set: qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore. Use -outfmt 7 for the same columns plus comment lines.
| Query | Subject DB | Program |
|---|---|---|
| nucleotide | nucleotide | blastn |
| protein | protein | blastp |
| nucleotide (translated) | protein | blastx |
| protein | nucleotide (translated) | tblastn |
-dbtype for makeblastdb is nucl for nucleotide subjects, prot for protein.
-max_target_seqs is NOT a "top N best hits" filter. It is the number of
aligned sequences to keep, applied during the search as a heuristic cutoff;
ties are broken "by order of sequences in the database", not by score. Setting
-max_target_seqs 1 does not reliably return the single best hit. To get
the best hit, keep a generous value and pick the top row after sorting by
bitscore (see scripts/parse_blast_tab.py --best-hit). Default is 500.-task for blastn. megablast (default) is for highly similar
sequences; use blastn for cross-species / more divergent hits and
blastn-short for queries < ~30 nt (primers, sgRNAs). dc-megablast is the
discontiguous option for inter-species comparison.-parse_seqids at DB-build time. Without it you cannot pull
sequences back out with blastdbcmd -entry, and DIAMOND cannot reuse the
sequence IDs cleanly. You cannot add it later without rebuilding.-outfmt custom column list for DIAMOND. BLAST+ wants the
spec quoted (-outfmt '6 qseqid sseqid pident evalue'); DIAMOND wants it
unquoted (--outfmt 6 qseqid sseqid pident evalue). Mixing these up is a
common silent error.-num_threads N. Since BLAST+ 2.15 the default
-mt_mode 0 means BLAST picks the split for you from query and database
size, which NCBI recommends leaving alone. Override only deliberately:
-mt_mode 1 = ThreadByQuery (many small queries), -mt_mode 2 =
ThreadByDatabase (few large queries, big DB).Full option reference, taxonomy scoping, and DB-prep details:
references/blast_cli.md.
Restrict a search to (or away from) clades by NCBI taxid:
blastn -query q.fna -db nt -taxids 9606 -outfmt 6 -out human_only.tsv
blastp -query q.faa -db nr -negative_taxids 2 -outfmt 6 -out no_bacteria.tsv
Scoping by taxid requires a taxonomy-aware database (one built/downloaded with
its *.taxid mapping, e.g. NCBI's pre-formatted nt / nr). See
references/blast_cli.md.
When blastp / blastx against millions of proteins is too slow, DIAMOND is a
drop-in for protein-space search:
diamond makedb --in nr.faa -d nr_diamond
diamond blastp -d nr_diamond -q query.faa -o hits.tsv \
--ultra-sensitive --outfmt 6 qseqid sseqid pident length evalue bitscore
Sensitivity ladder (fast → most sensitive): --fast, --mid-sensitive,
--sensitive, --more-sensitive, --very-sensitive, --ultra-sensitive. With no
sensitivity flag DIAMOND runs its default mode, which sits between --fast and
--mid-sensitive. Use --ultra-sensitive when you need BLAST-comparable recall. DIAMOND's --outfmt 6 is compatible with the
BLAST+ tabular parser below. Details and tradeoffs:
references/diamond.md.
makeblastdb -parse_seqids (or download a pre-formatted
NCBI DB). For >~1M proteins, build a DIAMOND DB instead.-outfmt 6, an explicit -evalue threshold, the right
-task (blastn), and -num_threads. Add -taxids if scoping.scripts/parse_blast_tab.py — it sorts by bitscore,
extracts best-hit-per-query, applies identity/coverage/e-value filters, and
flags the -max_target_seqs pitfall if the column count looks truncated.blastdbcmd -db mydb -entry <id> (needs -parse_seqids).blastn -version / diamond version actually ran — never report hits
you did not produce.-task, -evalue, and DB used; results are meaningless
without them.-max_target_seqs, confirm best-hit selection was done by
post-hoc bitscore sort, not by trusting the keep-count as a top-N.references/blast_cli.md — full BLAST+ 2.17.0 option
reference: programs, makeblastdb, -outfmt columns, -task, taxonomy
scoping, -mt_mode, blastdbcmd retrieval, and the -max_target_seqs caveat.references/diamond.md — DIAMOND DB build, sensitivity
modes, output formats, and when to choose it over BLAST+.Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
blast, sequence-search, bioinformatics, diamond, local-blast
/alterlab-bioinformatics:alterlab-blastfrom alterlab-bioinformatics
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-bioinformatics38 skills in this plugin
/alterlab-alphafoldPredict protein 3D structures with AlphaFold2 via ColabFold — MMseqs2-accelerated MSAs, monomer and AlphaFold2-Multimer complex folding, and confidence-based validation (pLDDT, pTM/ipTM, PAE). Use when folding a protein sequence or complex from FASTA, generating a predicted structure with confidence metrics, ranking models, or checking self-consistency of a design. For co-folding a protein WITH a small-molecule ligand or predicting binding affinity prefer alterlab-boltz; for antibody–antigen or one-FASTA multi-entity complexes prefer alterlab-chai; to LOOK UP an already-computed structure prefer alterlab-alphafold-db; for ESM embeddings or inverse folding prefer alterlab-esm. Part of the AlterLab Academic Skills suite./alterlab-anndataBuild, slice, concatenate, read, and write AnnData annotated data matrices (obs, var, X, layers, obsm, uns) — the scverse data STRUCTURE, not an analysis pipeline. Use when creating or wrangling .h5ad/zarr files, managing cell and gene annotations, concatenating batches, or handling layers/obsm/backed-mode; for the QC, normalization, clustering, UMAP, and differential-expression analysis pipeline prefer alterlab-scanpy instead, and for RNA velocity from spliced/unspliced layers prefer alterlab-scvelo instead. Part of the AlterLab Academic Skills suite./alterlab-arboretoInfer gene regulatory networks (GRNs) from expression matrices using arboreto's scalable GRNBoost2 and GENIE3 tree-ensemble algorithms with Dask-distributed computation. Use when analyzing bulk or single-cell RNA-seq transcriptomics to map transcription-factor-to-target-gene regulatory interactions, build adjacency networks, or run the GRN-inference step of a SCENIC pipeline on large datasets. Part of the AlterLab Academic Skills suite./alterlab-biopythonManipulate biological sequences, parse FASTA/GenBank/PDB files, run phylogenetics, and access NCBI/PubMed programmatically via Biopython (Bio.SeqIO, Bio.Entrez, Bio.PDB, Bio.Blast). Use when scripting custom bioinformatics pipelines, batch-processing sequence files, automating BLAST, or fetching records from Entrez — for quick one-off database lookups use gget, for unified multi-service integration use bioservices. Part of the AlterLab Academic Skills suite./alterlab-bioservicesQuery 40+ bioinformatics web services through one consistent Python API with bioservices (UniProt, KEGG, ChEMBL, Reactome, Ensembl, NCBI and more). Use when a workflow must hit multiple databases together, map identifiers across services, or run cross-database analyses — for quick single-database lookups use gget, for sequence and file manipulation use biopython. Part of the AlterLab Academic Skills suite./alterlab-boltzCo-fold biomolecular complexes with Boltz-2, an open AlphaFold3-style model — predict protein + ligand (SMILES/CCD), protein + nucleic-acid, and multi-chain structures in one pass, with binding-affinity prediction. Use when folding a protein together with a small-molecule ligand, predicting a holo (ligand-bound) complex or its binding affinity, or co-folding protein–DNA/RNA assemblies. For protein-only or protein–protein folding without ligands prefer alterlab-alphafold; for antibody–antigen complexes prefer alterlab-chai; to dock a ligand into a FIXED receptor structure prefer alterlab-diffdock; to look up an existing structure prefer alterlab-pdb. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job