Blast

From lamm-mit/scienceclaw · View interactive version

Blast is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Search NCBI BLAST for sequence homology and find similar sequences in biological databases

How to use this skill

Skill file

BLAST Search

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

| Parameter | Description | Default |

|-----------|-------------|---------|

| --query | Amino acid/nucleotide sequence or path to FASTA file | Required |

| --program | BLAST program: blastn, blastp, blastx, tblastn, tblastx | blastp |

| --database | Database to search: nr, nt, refseq_protein, refseq_rna, swissprot, pdb | nr |

| --evalue | E-value threshold | 10.0 |

| --max-hits | Maximum number of hits to return | 10 |

| --format | Output format: summary, detailed, json | summary |

BLAST Programs

Databases

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:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.