Duaer

入门

在 Duaer 里列出质量候选物

在 Duaer 里按观测 m/z 与加合离子列出 PubChem 候选化合物。一次成功查询用 1 额度。

能拿到什么

Duaer 数据里的「Mass candidates」一次成功查询 1 额度,查不到结果也算一次。

每个候选带 ppm 误差和 InChIKey;只凭质量不能定结构。

逐步处理未知特征见 用 Duaer 注释未知特征。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → Mass candidates。
  2. 填 m/z。
  3. 选 Adduct(默认 [M+H]+),可选 Tolerance (ppm),默认 5。
  4. Limit 默认 10,最大 20。执行。

成功扣 1 额度;输入为空或来源失败不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/mass-candidates?...
  • Authorization: Bearer <Duaer key>

下方是英文技能。

调用技能(英文)

调用这项数据的技能。

---
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 的 Mass candidates 检索扣多少额度?

一次成功扣 1 额度,查不到结果也算一次;输入为空或来源失败不扣。

同组