Duaer

入门

在 Duaer 里用 MASST 搜谱图

在 Duaer 里用 GNPS2 MASST 查 MS/MS 谱图出现在哪些公开代谢组数据中。一次成功查询用 1 额度。

能拿到什么

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

一次调用最多等 45 秒;超时不扣额度。

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

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → MASST。
  2. 填 USI,或 Peaks 加 Precursor m/z(可选 Charge)。
  3. 选 Library:Public Datasets(默认)、GNPS Data 或 GNPS Reference Library;可选 Cosine threshold。
  4. Limit 默认 10,最大 20。执行。

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

用 API 调用

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

下方是与「复制技能」相同的英文技能。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-masst
description: >-
  Find where an MS/MS spectrum appears in public metabolomics data with GNPS2 MASST through Duaer.
  One successful search uses 1 Duaer credit.
---

# Duaer MASST

Search an MS/MS spectrum across public metabolomics datasets or the GNPS library with GNPS2 fast MASST through Duaer with a Duaer key.
The call waits up to 45 seconds for the search to finish.

## Call

`GET https://api.duaer.com/v1/data/masst?usi=mzspec:GNPS:GNPS-LIBRARY:accession:CCMSLIB00005435737&library=public&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

Provide `usi`, or `peaks` with `precursorMz`.

- `usi` — spectrum to search, such as a https://skills.duaer.com/spectrum.md result.
- `peaks` — MS/MS peaks as `mz:intensity` pairs separated by spaces, used when `usi` is empty.
- `precursorMz` — precursor m/z, required with `peaks`.
- `charge` — optional. Precursor charge. Default 1.
- `library` — optional. `public` (public datasets, default), `gnpsData` (GNPS and MassIVE data), or `gnpsLibrary` (GNPS reference library).
- `cosine` — optional. Minimum cosine similarity from 0 to 1. Default 0.7.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url` (spectrum viewer), `summary`, `usi`, `dataset`, `libraryAccession` (GNPS library matches), `cosine`, `matchingPeaks`, and `deltaMass`.
Datasets tell you in which studies, samples, or organisms the unknown spectrum was seen.
A search that does not finish in 45 seconds returns 503 and uses 0 credits.
To work an unannotated feature step by step, follow https://skills.duaer.com/metabolic-dark-matter.md.

## Credits

One successful search uses 1 credit, including a search that finds no match.
Empty input, a failed source, or no remaining credits uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

常见问题

Duaer 的 MASST 检索扣多少额度?

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

同组