Education
计算 PCR 引物解链温度 Tm,同时给出两种方法:Wallace 规则 Tm = 2°C×(A+T) + 4°C×(G+C)(适用于 <14 nt 短链的快速估算,忽略序列上下文、浓度与盐)与 SantaLucia 1998 统一最近邻热力学法 Tm = 1000ΔH/(ΔS + R·ln(Ct/4) + 0.368(N−1)·ln[Na+]) − 273.15(含 16 种二核苷酸堆积参数、末端起始项与自互补对称校正,Primer3 同源方法,可设引物浓度与钠离子浓度)。另输出 GC 含量、碱基组成与推荐退火温度 Tm−5°C。来源:Wallace 1979、SantaLucia PNAS 1998、Breslauer 1986、Primer3 2012。仅供引物初筛,请以试剂商计算器复核。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/pcr-primer-tm' \
-H 'Content-Type: application/json' \
-d '{"sequence":"GTAAAACGACGGCCAGT","method":"nearest-neighbor","primerConcentrationNm":500,"sodiumConcentrationMm":50,"decimalPlaces":1}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/pcr-primer-tm| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| sequence | text | 是 | DNA primer sequence, A/C/G/T only (case-insensitive); 5–60 nt. |
| method | select | 是 | Wallace for a quick short-oligo estimate; nearest-neighbor is the standard for primer design. |
| primerConcentrationNm | number | 是 | Primer strand concentration (nearest-neighbor method only). |
| sodiumConcentrationMm | number | 是 | [Na+] of the reaction buffer (nearest-neighbor method only). |
| decimalPlaces | number | 否 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-pcr-primer-tm": {
"name": "pcr-primer-tm",
"description": "计算 PCR 引物解链温度 Tm,同时给出两种方法:Wallace 规则 Tm = 2°C×(A+T) + 4°C×(G+C)(适用于 <14 nt 短链的快速估算,忽略序列上下文、浓度与盐)与 SantaLucia 1998 统一最近邻热力学法 Tm = 1000ΔH/(ΔS + R·ln(Ct/4) + 0.368(N−1)·ln[Na+]) − 273.15(含 16 种二核苷酸堆积参数、末端起始项与自互补对称校正,Primer3 同源方法,可设引物浓度与钠离子浓度)。另输出 GC 含量、碱基组成与推荐退火温度 Tm−5°C。来源:Wallace 1979、SantaLucia PNAS 1998、Breslauer 1986、Primer3 2012。仅供引物初筛,请以试剂商计算器复核。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=pcr-primer-tm",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "pcr-primer-tm",
"arguments": {
"sequence": "GTAAAACGACGGCCAGT",
"method": "nearest-neighbor",
"primerConcentrationNm": 500,
"sodiumConcentrationMm": 50,
"decimalPlaces": 1
}
}
}有问题或反馈?请联系 [email protected]
| — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}