Duaer

Skills

在 Duaer 里检索 GO 注释

在 Duaer 里查询基因产物的 GO 注释。一次成功查询用 1 额度。

能拿到什么

每条结果有编号、名称与描述。

密钥

调用前先获取 Duaer 密钥.

调用技能

下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。

---
name: duaer-goa
description: >-
  Duaer GO annotations. Look up GO annotations for a gene product.
  One successful search uses 1 Duaer credit.
---

# Duaer GO annotations

Look up GO annotations for a gene product. Data comes from GO annotations.

## When to use

- Look up GO annotations for a gene product.
- List the processes and functions of a protein.

## When not to use

- GO term search. Use https://skills.duaer.com/gene-ontology.md.

## Call

`GET https://api.duaer.com/v1/data/goa?words=BRCA1&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 `words` or `id`.

- `words` — gene symbol or UniProt accession, such as BRCA1.
- `id` — Optional. UniProt accession such as P38398.
- `limit` — Optional. From 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/goa?words=BRCA1&limit=10` — GO annotations of BRCA1.

## Result

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

- `goId`, `geneProductId`, `symbol`, `qualifier` — text.

Fields without a value are empty strings.

## Credits

A successful search uses 1 credit, even when it finds nothing.
If you send a gene that UniProt does not resolve, Duaer returns no items and uses 0.
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/gene-ontology.md — Duaer Gene Ontology
- https://skills.duaer.com/proteins.md — Duaer proteins
- https://skills.duaer.com/genes.md — Duaer genes

相关技能