pairwise_align
Align two biological sequences using pairwise alignment. Supports global (Needleman-Wunsch) and local (Smith-Waterman) modes with customizable match, mismatch, and gap penalties to identify sequence similarity.
Instructions
Perform pairwise sequence alignment.
Args: seq1: First sequence seq2: Second sequence mode: Alignment mode - 'global' or 'local' (default: 'global') match_score: Score for matching residues (default: 2.0) mismatch_score: Score for mismatching residues (default: -1.0) gap_open: Gap opening penalty (default: -2.0) gap_extend: Gap extension penalty (default: -0.5)
Returns: Dictionary containing alignment results and statistics
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"seq1": "<seq1>",
"seq2": "<seq2>"
},
"name": "pairwise_align"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq1 | Yes | ||
| seq2 | Yes | ||
| mode | No | global | |
| match_score | No | ||
| mismatch_score | No | ||
| gap_open | No | ||
| gap_extend | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||