Skip to content

A public collection of Python reference examples for the Benchling platform

License

Notifications You must be signed in to change notification settings

james-leinas/benchling-examples-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchling App Python Examples

The examples/ directory contains Benchling App samples written by Benchling.

Custom Code in Automation Designer

This project contains example snippets of code that can be utilized in a Custom Code step of the Benchling Automation Designer with Benchling Analysis.

image info

Overview

These examples demonstrate how to extend Benchling's native capabilities using Python scripts within the Automation Designer context. They cover common use cases such as data visualization, file handling, and complex data transformations.

Key Capabilities

The code examples included in this directory cover the following functionalities:

  • Visualizations: Create custom charts, graphs, and annotations (e.g., chromatograms).

  • File Parsing: Logic to read and parse various file formats.

  • File Creation: Generate new files, such as instruction lists for laboratory instruments.

  • Data Transformation: Apply transformations, merge/join datasets, and perform complex calculations on data.

Dependencies

See requirements.txt for the specific library versions used in these examples.

chem-sync-local-flask

Demonstrates creating a custom UI in Benchling allowing users to search for molecules from PubChem and sync them into Benchling.

Uses Cloudflare-tunnel and Docker to receive webhooks in a local development environment running Flask with the Benchling SDK.

image info

Code Includes:

About

A public collection of Python reference examples for the Benchling platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published