BLAST Search

SkillSearch

Search NCBI BLAST for sequence homology and find similar sequences in biological databases

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the BLAST Search skill

What this skill tells your AI

The instructions your AI receives, as published by lamm-mit/scienceclaw in skills/blast/SKILL.md and read by ahel’s review.

Run NCBI BLAST (Basic Local Alignment Search Tool) searches to find sequence homology against NCBI databases.

Overview

BLAST finds regions of similarity between biological sequences. The program compares nucleotide or protein sequences to sequence databases and calculates the statistical significance of matches.

Usage

Basic protein BLAST search:

python3 {baseDir}/scripts/blast_search.py --query "MTEYKLVVVGAGGVGKSALTIQLIQ" --program blastp

Nucleotide search:

python3 {baseDir}/scripts/blast_search.py --query "ATGCGATCGATCGATCG" --program blastn

Search from FASTA file:

python3 {baseDir}/scripts/blast_search.py --query /path/to/sequence.fasta --database nr --program blastp

Get detailed output:

python3 {baseDir}/scripts/blast_search.py --query "SEQUENCE" --program blastp --format detailed --max-hits 20

Parameters

ParameterDescriptionDefault
--queryAmino acid/nucleotide sequence or path to FASTA fileRequired
--programBLAST program: blastn, blastp, blastx, tblastn, tblastxblastp
--databaseDatabase to search: nr, nt, refseq_protein, refseq_rna, swissprot, pdbnr
--evalueE-value threshold10.0
--max-hitsMaximum number of hits to return10
--formatOutput format: summary, detailed, jsonsummary

BLAST Programs

  • blastp: Protein query vs protein database
  • blastn: Nucleotide query vs nucleotide database
  • blastx: Translated nucleotide query vs protein database
  • tblastn: Protein query vs translated nucleotide database
  • tblastx: Translated nucleotide query vs translated nucleotide database

Databases

  • nr: Non-redundant protein sequences
  • nt: Non-redundant nucleotide sequences
  • refseq_protein: NCBI Reference Sequence protein database
  • refseq_rna: NCBI Reference Sequence RNA database
  • swissprot: Swiss-Prot protein database (curated)
  • pdb: Protein Data Bank sequences

Examples

Find similar proteins to human p53:

python3 {baseDir}/scripts/blast_search.py --query "MEEPQSDPSVEPPLSQETFSDLWKLLPENNVLSPLPSQAMDDLMLSPDDIEQWFTEDPGP" --program blastp --database swissprot

Search for homologs with strict E-value:

python3 {baseDir}/scripts/blast_search.py --query "MTEYKLVVVGAGGVGKSALTIQLIQ" --evalue 0.001 --max-hits 50

Output

The tool returns:

  • Hit accession and description
  • E-value and bit score
  • Percent identity and alignment length
  • Query and subject coverage
  • Alignment details (in detailed mode)

Notes

  • BLAST searches are submitted to NCBI servers and may take 30 seconds to several minutes
  • For large-scale searches, consider using local BLAST+ installation
  • NCBI requests that you provide an email for heavy usage (set NCBI_EMAIL environment variable)

Signals

GitHub stars
242
Forks
42
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
blast
Source
github.com/lamm-mit/scienceclaw