> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/getting-started/pgs-catalog.md).

# 在 Duaer 里查 PGS 多基因评分

在 Duaer 里：PGS Catalog 中针对某疾病或性状已发表的多基因风险评分：评分编号、报告性状、变异数、文献与评分文件下载。一次成功查询用 1 额度。
## 能拿到什么

Duaer 数据市场里的「PGS 多基因评分」：PGS Catalog 中针对某疾病或性状已发表的多基因风险评分：评分编号、报告性状、变异数、文献与评分文件下载。查到结果时用 1 额度，结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → PGS 多基因评分，或打开 [数据市场](/zh/getting-started/data-market.md)。相关：[gwas](/zh/getting-started/gwas.md)、[variants](/zh/getting-started/variants.md)、[diseases](/zh/getting-started/diseases.md)。

## 适合做什么

- 在建立风险模型前查找某疾病已有的多基因评分。
- 获取论文中引用的某评分编号对应的评分文件与文献。

## 在画布里检索

1. 打开节点创建器，选 Duaer 数据 → PGS Catalog。
2. 填 Trait（疾病或性状，如 type 2 diabetes）或 PGS ID（如 PGS000014）。
3. Limit 默认 10，最大 20。执行。

查到结果才扣 1 额度；没有结果、输入有误或上游失败都不扣。

## 用 API 调用

- GET https://api.duaer.com/v1/data/pgs-catalog?trait=type%202%20diabetes&limit=10
- Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能，含参数、示例与返回字段。

## 调用技能（英文）

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

```
---
name: duaer-pgs-catalog
description: >-
  Duaer PGS Catalog. Published polygenic risk scores for a disease or trait from the PGS Catalog: score id, reported trait, variant count, publication, and scoring-file link.
  One successful search uses 1 Duaer credit.
---

# Duaer PGS Catalog

Duaer PGS Catalog finds polygenic scores. With `trait`, Duaer matches catalog traits (including child traits) and returns their scores; with `id` it returns those scores directly.

## When to use

- Find existing polygenic scores for a disease before building a risk model.
- Get the scoring file and publication of a score id cited in a paper.

## When not to use

- Single-variant associations. Use https://skills.duaer.com/gwas.md.
- Clinical risk decisions for a person. Scores are research tools.

## Call

`GET https://api.duaer.com/v1/data/pgs-catalog?trait=type%202%20diabetes&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

Provide `trait` or `id`.

- `trait` — Trait or disease words, such as type 2 diabetes.
- `id` — Optional. One or more score ids joined by commas, such as PGS000014.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/pgs-catalog?trait=type%202%20diabetes&limit=10` — scores for type 2 diabetes.
- `GET https://api.duaer.com/v1/data/pgs-catalog?id=PGS000014,PGS000018` — two scores by id.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `pgsId`, `name` — score id and name.
- `traitReported`, `traits` — reported trait and mapped ontology traits.
- `variants`, `weightType` — number of variants and weight type.
- `firstAuthor`, `journal`, `published`, `doi`, `pmid` — source publication.
- `scoringFile` — download link of the scoring file.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/gwas.md
- https://skills.duaer.com/variants.md
- https://skills.duaer.com/diseases.md

```
## Questions

### Duaer 的PGS 多基因评分检索扣多少额度？

查到结果时扣 1 额度；没有结果或出错不扣。

### Duaer PGS 评分能直接用于病人吗？

不能。Duaer 返回的多基因评分是科研工具，临床使用需针对人群与场景验证。

## 相关

- [在 Duaer 里检索 GWAS](https://doc.duaer.com/zh/getting-started/gwas.md)
- [在 Duaer 里检索变异](https://doc.duaer.com/zh/getting-started/variants.md)
- [在 Duaer 里检索疾病](https://doc.duaer.com/zh/getting-started/diseases.md)

