find_motif
Search DNA, RNA, or protein sequences for a motif pattern, returning all positions and count of occurrences, with optional overlapping matches.
Instructions
Find all occurrences of a motif in a sequence.
Args: sequence: DNA, RNA, or protein sequence to search motif: Motif pattern to find overlapping: Allow overlapping matches (default: True)
Returns: Dictionary containing motif positions and count
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": {
"sequence": "<sequence>",
"motif": "<motif>"
},
"name": "find_motif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | Yes | ||
| motif | Yes | ||
| overlapping | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||