📜
人类可读
基于 YAML 的声明式语法,科学家无需编程即可编写精确的实验协议。格式自然的字段命名让协议如论文方法学般易读。
format: "eyai/1.0"
schema: "https://schemas.eyai.top/core/v1.0"
metadata:
id: "pcr-dna-extraction"
title: "DNA 提取 — PCR 实验"
version: "1.0.0"
language: "zh-CN"
author: "Erian"
variables:
- name: "sample_count"
value: 24
- name: "annealing_temp"
value: 55
unit: "°C"
workflow:
- type: "measurement"
id: "start"
parameters:
value: "$sample_count"
title: "样品计数"
- type: "temperature"
id: "denaturation"
parameters:
target: 95
duration: "30s"
title: "变性"
- type: "temperature"
id: "annealing"
parameters:
target: "$annealing_temp"
duration: "30s"
title: "退火"
- type: "if"
id: "quality_check"
condition: "$annealing.result.ok != true"
do:
- type: "log"
id: "warning"
parameters:
level: "warn"
message: "退火温度异常"