通过集成 Benchling 研发平台自动执行实验室工作流程和管理生物数据。通过 Python SDK 或 REST API 访问 DNA 序列、蛋白质数据、库存和电子实验记录本。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“benchling-integration”。 How do I set up authentication with Benchling using environment variables?
预期结果:
- Use os.environ to retrieve credentials from environment variables for secure authentication.
- Recommended approach: Store your API key in BENCHLING_API_KEY and tenant URL in BENCHLING_TENANT_URL.
- Example: api_key = os.environ.get('BENCHLING_API_KEY')
- This keeps credentials out of your source code and supports secure deployment practices.
正在使用“benchling-integration”。 Show me how to create a DNA sequence and register it in the Benchling registry
预期结果:
- Use DnaSequenceCreate with entity_registry_id parameter to register upon creation.
- Example: Set naming_strategy='NEW_IDS' for automatic registry ID generation.
- Link to notebook entries using benchling.entry_links.create() with entry_id and entity_id.
- The SDK handles pagination automatically with generator-based iteration.
安全审计
安全This is a documentation-only skill containing reference materials for the Benchling R&D platform API. Static analysis flagged 476 patterns in markdown files, but ALL findings are FALSE POSITIVES. The scanner detected markdown code formatting (backticks), example URLs, and placeholder credentials in documentation examples - not actual executable code with security implications.
风险因素
🌐 网络访问 (43)
🔑 环境变量 (46)
⚙️ 外部命令 (336)
📁 文件系统访问 (1)
质量评分
你能构建什么
自动化序列注册
将 DNA 和蛋白质序列从 FASTA 文件批量导入 Benchling 注册表,并带有正确的命名和自定义字段。
库存跟踪
监控样品位置,跟踪容器转移,并审核冷冻柜位置和存储单元的库存变化。
研究分析
从数据仓库导出实验数据,用于合规报告和与外部 BI 工具的集成。
试试这些提示
向我展示如何使用 API 密钥与 Benchling 进行身份验证并创建到我的租户的连接。
如何创建新的 DNA 序列,将其注册到注册表,并链接到实验记录本条目?
创建在位置之间转移容器并跟踪移动历史记录的工作流程。
编写一个脚本来查找所有具有特定模式的序列,并将其名称、碱基和创建日期导出到 CSV。
最佳实践
- 将 API 凭证存储在环境变量或密钥管理器中,切勿在脚本中硬编码
- 对所有 API 连接使用 HTTPS - Benchling 要求安全通信
- 对速率限制和临时故障实施适当的错误处理和重试逻辑
避免
- 不要将 API 密钥或凭证提交到版本控制系统
- 避免在未检查速率限制或未实施退避策略的情况下发出请求
- 不要硬编码租户 URL - 使用配置文件或环境变量代替