Created
April 11, 2015 19:59
-
-
Save luisbebop/bac7b28f6991dfe8baa8 to your computer and use it in GitHub Desktop.
A early prototype describing how "program life" should be
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "openlife" | |
def add_pGLO(bacteria) | |
construct = GeneticCircuit.new(:assembly) | |
construct.add_selection_gene(:AmpR) | |
construct.add_promoter(:very_strong) | |
construct.add_rbs(:very_strong) | |
construct.add_gene(:GFP) | |
construct.add_terminator(:ter) | |
construct.replication_origin(:high) | |
bacteria.add_construct(construct) | |
end | |
bacteria = Bacteria.new(:e_coli) | |
add_pGLO(bacteria) | |
puts bacteria |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment