Chuyển đến nội dung
Skillpedia
Học máy51k · #3581

tellurium

Skill này làm gì

Công cụ này mô phỏng cách các phản ứng hóa học diễn ra theo thời gian trong hệ sinh học. Nó dùng mô hình phản ứng (mô tả bằng các định dạng như SBML hoặc Antimony) để dự đoán nồng độ chất và kiểm tra đơn vị của mô hình có đúng không.

Khi nào nên dùng

  • ✓Khi muốn xem nồng độ các chất thay đổi ra sao trong một mạng phản ứng.
  • ✓Khi muốn kiểm tra thay đổi một tham số ảnh hưởng thế nào đến kết quả mô phỏng.
  • ✓Khi cần đảm bảo mô hình phản ứng hóa học nhất quán và đơn vị đúng.

Liên kết skill

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/tellurium/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/tellurium/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mô phỏng mô hình “my_model.xml” với các điều kiện trong “experiment.json” và lưu kết quả.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ đọc mô hình phản ứng của bạn, kiểm tra đơn vị và quy tắc, rồi chạy mô phỏng. Kết quả được lưu theo các định dạng chuẩn để có thể lặp lại và so sánh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Tellurium kinetic experiments

When to use

Use this skill for deterministic reaction-network trajectories and independent parameter conditions from a local model. The helper performs SBML consistency checks, CVODE integration and an actual COMBINE archive replay. It exports each condition's exact SBML and the SED-ML experiment rather than handing off an unrecorded notebook state.

Runtime

uv venv --python 3.11 kinetic-env
uv pip install --python kinetic-env/bin/python tellurium==2.2.13.1 libroadrunner==2.10.0 \
  antimony==3.2.0 python-libsbml==5.21.2 python-libsedml==2.0.34 python-libcombine==0.2.20

The full workflow ran with these packages on macOS ARM64. It constructs SED-ML with libSEDML and archives with Tellurium/libCombine; PhraSEDML is not required by this helper. Headless runs can set MPLBACKEND=Agg. No plotting window is opened by the helper.

The six pinned releases were rechecked against official PyPI metadata on 2026-10-01. RoadRunner's documentation site still displays an old version banner; the solver settings below were also checked against released 2.10.0 source and the installed native runtime.

Workflow

  1. Inspect the supplied model's compartments, species, initial conditions, boundary species, reactions, parameter definitions and rules/events. Identify the scientific question and distinguish a mechanistic kinetic model from a flux-balance reconstruction. Record the source model, version and any literature parameters; do not treat an example model as experimentally calibrated.
  2. Check units before interpreting a trajectory. SBML reaction rates have amount/time units; species may have concentration or amount semantics. In a fixed-volume first-order model, k*A*cell converts concentration dependence into amount/time. The helper checks SBML consistency and retains every warning, including undefined units. Undefined units are reported as empty/indeterminable, not silently assumed to mean SI.
  3. Select concentration outputs and an experiment in the JSON format described in references/experiments.md. Time values use the model's own time units. The tested helper outputs concentration for species with hasOnlySubstanceUnits=false; it rejects amount-only selections to avoid changing their meaning during SED-ML replay. Zero-dimensional compartments and rate-rule models are also rejected; the latter need a separate tolerance workflow because RoadRunner 2.10.0 can order scalar tolerances differently from states.
  4. Run baseline and desired constant-global-parameter changes. Every scenario starts from a fresh SBML model, so previous final concentrations cannot leak into the next condition. Changes to species initial values, compartment volume, assignment rules or time-varying inputs require explicit model changes and corresponding tests; they are not parameter mutations hidden in this helper.
  5. Examine finite outputs, signs, relevant conservation relations and timescales. Check solver sensitivity by repeating at stricter tolerances when the scientific interpretation depends on small differences. A smooth curve or zero archive-replay error does not establish model validity or parameter identifiability. Never clip negative concentrations to hide solver or model problems.
  6. Review the COMBINE replay comparison, model warnings and units in report.json. The helper replays the archive it generated and compares every selected value against the direct trajectories. Deliver the archive, report, source model, experiment config and CSV curves.

Run the executable reference

assets/first-order.ant defines the closed reaction A → B in a constant 1-L compartment, initially A=1 and B=0 mol/L, with k=0.2 per second. assets/experiment.json runs baseline and k=0.4 per second from 0 to 10 s. From the skill directory, point the interpreter to the environment created above:

MPLBACKEND=Agg kinetic-env/bin/python scripts/kinetic_experiment.py \
  --model assets/first-order.ant --format antimony --experiment assets/experiment.json \
  --output kinetic-reference

# The SBML branch was also exercised; replace these filenames with actual user inputs.
MPLBACKEND=Agg kinetic-env/bin/python scripts/kinetic_experiment.py \
  --model model.xml --format sbml --experiment experiment.json --output kinetic-analysis

…

Câu hỏi thường gặp

SBML và Antimony là gì?

Đó là các ngôn ngữ máy tính dùng để mô tả mô hình phản ứng sinh hóa theo cách chuẩn hóa.

COMBINE archive là gì?

Đó là gói tệp gộp mọi file cần thiết để tái tạo mô phỏng (mô hình, cài đặt thí nghiệm, v.v.) thành một file duy nhất.

Công cụ có tạo biểu đồ không?

Không, công cụ tập trung vào tạo dữ liệu mô phỏng và file cấu hình. Nó không trực tiếp tạo hình ảnh trực quan.

Chi tiết

Mô tả gốc của tác giả

Simulates biochemical kinetic models from SBML or Antimony with Tellurium and libRoadRunner, checks model units, compares deterministic parameter perturbations, and exports and replays SBML plus SED-ML COMBINE archives. Use for reaction-network time courses, kinetic parameters, concentration dynamics and reproducible simulation experiments; steady-state constraint-based metabolic flux analysis bel

repo: K-Dense-AI/scientific-agent-skills

Độ phổ biến

Sao GitHub
51k
Vị trí xếp hạng
#3581
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự