Duaer

入门

在 Duaer 里检索 GWAS

在 Duaer 里用 Duaer Data 经 GWAS Catalog REST API v2 检索顶关联。一次成功查询 1 额度。本页含完整英文调用技能。

能拿到什么

Duaer 数据市场里的「GWAS」返回 GWAS Catalog 顶关联(位点、基因、性状、p 值)。一次成功查询 1 额度。

从节点创建器的 Duaer 数据分类 选「GWAS」,或打开 数据市场 复制技能。变异见 变异。

在画布里检索

  1. 打开节点创建器,点「Duaer 数据」,再选「GWAS」。
  2. 填 Words(新节点默认 TCF7L2),或 Gene / Rs id / Trait。
  3. Limit 默认 10,最大 20。点执行此步骤。

成功扣 1 额度。正式运行的交付进 数据池。

用 API 调用

  • GET https://api.duaer.com/v1/data/gwas?...
  • Authorization: Bearer <Duaer key>
  • 必须提供 words、gene、rsId 或 trait。

密钥见 Duaer 公开 API 的身份验证。下方是与「复制技能」相同的英文技能。

调用技能(英文)

与数据市场「复制技能」一致。正文保持英文。

---
name: duaer-gwas
description: >-
  Search GWAS Catalog associations through Duaer (REST API v2).
  One successful search uses 1 Duaer credit.
---

# Duaer GWAS

Search GWAS Catalog top associations through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/gwas?words=TCF7L2&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Provide `words`, `gene`, `rsId`, or `trait` (or combine).

- `words` — gene symbol or rs id (`rs…`).
- `gene` — optional. Mapped gene symbol.
- `rsId` — optional. Variant rs id (`rs7903146`).
- `trait` — optional. EFO trait text.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `associationId`, `rsId`, `mappedGenes`, `efoTraits`, `reportedTrait`, `pValue`, `beta`, `accessionId`, `pubmedId`, and `locations`.
Related variants: https://skills.duaer.com/variants.md.
Related genes: https://skills.duaer.com/genes.md.

## Credits

One successful search uses 1 credit.
An empty search, a failed search, a compound that matches nothing, or no remaining credits uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

常见问题

和 Variants 有什么区别?

GWAS 是文献策展的性状关联;Variants 走 MyVariant 注释型变异查询。

同组