-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidate_annotation.json
More file actions
38 lines (38 loc) · 1.29 KB
/
validate_annotation.json
File metadata and controls
38 lines (38 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "validate_annotation",
"description": "Validate a cluster's cell type label by comparing its top DE markers against known marker databases. Returns confidence (high/medium/low), overlap ratio, matched markers, and alternative cell type suggestions.",
"parameters": {
"type": "object",
"properties": {
"cluster_markers": {
"type": "array",
"items": { "type": "string" },
"description": "Top DE genes for the cluster (from rank_genes_groups or similar)."
},
"label": {
"type": "string",
"description": "Proposed cell type label to validate, e.g. 'NK cells'."
},
"species": {
"type": "string",
"enum": ["human", "mouse"],
"default": "human",
"description": "Species."
},
"top_n": {
"type": "integer",
"default": 20,
"minimum": 5,
"maximum": 50,
"description": "How many known markers to compare against."
}
},
"required": ["cluster_markers", "label"]
},
"returns": {
"type": "object",
"description": "Object with label, confidence (high/medium/low), overlap_ratio, matched_markers, total_known, evidence, alternatives."
},
"category": "knowledge",
"callable": "scagent.tools.knowledge_tools.validate_annotation"
}