Education
Convert recombination counts ↔ genetic distance with linear, Haldane (−½ln(1−2r)) and Kosambi (¼ln((1+2r)/(1−2r))) map functions, SE of r, and interval summation with predicted r. Derived from Sturtevant 1913, Haldane 1919, Kosambi 1944, Griffiths. Educational use only.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/recombination-frequency-map' \
-H 'Content-Type: application/json' \
-d '{"mode":"counts","recombinantCount":18,"totalProgeny":100,"intervalDistances":"","decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/recombination-frequency-map| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | Yes | From recombination counts, or from a list of map intervals. |
| recombinantCount | number | Yes | Recombinant offspring in a testcross (counts mode). |
| totalProgeny | number | Yes | Total offspring scored (counts mode). |
| intervalDistances | text | No | Comma-separated adjacent interval distances in centimorgans (intervals mode). |
| decimalPlaces | number |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-recombination-frequency-map": {
"name": "recombination-frequency-map",
"description": "Convert recombination counts ↔ genetic distance with linear, Haldane (−½ln(1−2r)) and Kosambi (¼ln((1+2r)/(1−2r))) map functions, SE of r, and interval summation with predicted r. Derived from Sturtevant 1913, Haldane 1919, Kosambi 1944, Griffiths. Educational use only.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=recombination-frequency-map",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "recombination-frequency-map",
"arguments": {
"mode": "counts",
"recombinantCount": 18,
"totalProgeny": 100,
"intervalDistances": "",
"decimalPlaces": 4
}
}
}| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]