Skills
在 Duaer 里列出质量候选物
在 Duaer 里按观测 m/z 与加合离子列出 PubChem 候选化合物。一次成功查询用 1 额度。
能拿到什么
每个候选物有 PubChem CID、名称、分子式、单同位素质量、ppm 误差与 InChIKey。
密钥
调用前先获取 Duaer 密钥.
调用技能
下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。
---
name: duaer-mass-candidates
description: >-
Duaer mass candidates. List PubChem compounds that fit an observed m/z and adduct.
One successful search uses 1 Duaer credit.
---
# Duaer mass candidates
List PubChem compounds that fit an observed m/z and adduct. Data comes from PubChem.
## When to use
- List PubChem compounds that fit an observed m/z and adduct.
- Shortlist candidates for an unannotated feature.
## When not to use
- Spectrum matching. Use https://skills.duaer.com/massbank.md.
## Call
`GET https://api.duaer.com/v1/data/mass-candidates?mz=181.0707&adduct=%5BM%2BH%5D%2B&ppm=5&limit=10`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
- `mz` — observed m/z of the feature.
- `adduct` — Optional. `neutral`, `[M+H]+`, `[M+Na]+`, `[M+NH4]+`, `[M+K]+`, `[M+H-H2O]+`, `[M-H]-`, `[M+Cl]-`, or `[M+FA-H]-`. Default `[M+H]+`.
- `ppm` — Optional. Mass tolerance in ppm, up to 100. Default 5.
- `limit` — Optional. From 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/mass-candidates?mz=181.0707&adduct=%5BM%2BH%5D%2B&ppm=5&limit=10` — candidates for m/z 181.0707 as [M+H]+.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, `summary`, `cid`, `formula`, `monoisotopicMass`, `neutralMass`, `ppmError`, `inchikey`, and `iupacName`.
`mz` is required.
Candidates come in PubChem relevance order. Check a candidate's reference spectra with https://skills.duaer.com/mona.md or https://skills.duaer.com/massbank.md (`inchikey`).
To work an unannotated feature step by step, follow https://skills.duaer.com/metabolic-dark-matter.md.
Fields without a value are empty strings or left out.
## Credits
A successful search uses 1 credit, even when it finds nothing.
Wrong input or a missing search field returns 400 with a message and uses 0.
A failed upstream search returns 503 and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/metabolic-dark-matter.md — Duaer: annotate an unknown feature (metabolic dark matter)
- https://skills.duaer.com/mona.md — Duaer MoNA spectra
- https://skills.duaer.com/massbank.md — Duaer MassBank spectra
- https://skills.duaer.com/compounds.md — Duaer compounds
相关技能
指南
用 Duaer 注释未知特征(代谢暗物质)
在 Duaer 里逐步处理谱库认不出的质谱特征:谱库匹配、质量候选、参考谱图与 MASST,每步一次 Duaer Data 调用。
数据在 Duaer 里查 MoNA 参考谱图
在 Duaer 里按 InChIKey 或化合物名查 MoNA 参考 MS/MS 谱图。一次成功查询用 1 额度。
数据在 Duaer 里匹配 MassBank 谱图
在 Duaer 里用 MS/MS 峰、精确质量或 InChIKey 匹配 MassBank。一次成功查询用 1 额度。
数据在 Duaer 里检索化合物和药物
在 Duaer 里检索化合物和药物。一次成功查询用 1 额度。