Skip to main content

No project description provided

Project description

GitHub CI build status https://coveralls.io/repos/github/Edinburgh-Genome-Foundry/bioprinter/badge.svg?branch=master

Bioprinter (webpage here) is a Python package for producing living art. It transforms an image into files that a liquid dispenser can use to print the image to a plate using pigmented yeast or bacteria.

Here are two examples of bio-art:

https://raw.githubusercontent.com/Edinburgh-Genome-Foundry/bioprinter/master/docs/_static/images/bioprint_dolly.jpeg

Dolly drawn with baker yeast (white), violacein-producing yeast (black), and carotene-producing yeast (orange).

https://raw.githubusercontent.com/Edinburgh-Genome-Foundry/bioprinter/master/docs/_static/images/bioprint_england.jpeg

British flag drawn with 3 different strains of the bacterium E. coli.

These bio-prints (and many others!) were presented at the University of Edinburgh’s SynthSys Open days 2016 (strain selection and acoustic printing by Paulina Kanigowska).

Bioprinter is released on Github under the MIT licence (Copyright 2015 Edinburgh Genome Foundry), everyone is welcome to contribute!

Bioprinter was written at the Edinburgh Genome Foundry by Zulko after an original idea and Matlab code by Mike Shen (project on Github).

Installation

If you have PIP installed:

pip install ez_setup bioprinter

Or unzip the source code in a directory and type in a terminal:

python setup.py install

Usage

The image file to be printed can have any resolution, but note that the width/height ratio of the plate the image is printed on is 1.5. Ensure that a specific color is used to mark the un-pigmented background of the image, here we use blue:

https://raw.githubusercontent.com/Edinburgh-Genome-Foundry/bioprinter/master/docs/_static/images/dolly.jpeg

Run the following code in Python or save in dolly.py:

from bioprinter import bioprint

bioprint(
    image_filename="/path/to/image/dolly.jpeg",
    output_filename="dolly.csv",
    bg_color=[0, 0, 255],  # blue background represents empty wells
    pigments_wells={"A1": [0, 0, 0],        # black yeast in source well A1
                    "A2": [250, 120, 10],   # orange yeast in well A2
                    "A3": [255, 255, 255]}, # white yeast in well A3
    quantified_image_filename="dolly_preview.jpeg"
)

The saved script can be executed in a terminal with python dolly.py. This will produce a dolly.csv file as well as a preview image of the final printing (so that you can check if the image looks good at this low resolution).

Prepare a source plate with the right pigmented yeasts in wells A1, A2, A3, use an agar plate as the destination plate, and feed dolly.csv to the Labcyte Echo Acoustic Liquid Handler (tested with Labcyte Echo 555 Series). Once the printing is finished, incubate 2 days at 30C (it would be one day at 37C for bacteria). Enjoy the result!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bioprinter-0.1.5.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

bioprinter-0.1.5-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file bioprinter-0.1.5.tar.gz.

File metadata

  • Download URL: bioprinter-0.1.5.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for bioprinter-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2246e17bda4afca07ed3aa23cb1b6667fa939aa6341fb863f98d5455176fb697
MD5 e8f83321c991820ad70a6f5841174e39
BLAKE2b-256 b4b306b4421548530fb60bffd4468df69ff6ebf6b8314eab797725449be69d15

See more details on using hashes here.

File details

Details for the file bioprinter-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: bioprinter-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for bioprinter-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 48a87b8651d0cae332a0c1f1865de4b09a4fbfe167f6ac431c0a00374a67c9d7
MD5 1c144cf5277016529d842580cee39b73
BLAKE2b-256 caa4048320cd258cbe12f1d9efaff966e9aacf406a406b0a9251fe501a01e74b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page