Jay Handfield — HTGAA Spring 2026

cover image cover image

About me

I am based in the Research Triangle area of North Carolina. My background is in math and programming, but I have always been fascinated by biology. I am hoping this course and my membership in the Triangle DIY Biology group and lab will allow me to learn enough to let me contribute to interesting applications of synthetic biology and bioengineering. I am especially interested in approaches that can reduce the expense of bioengineering at scale in order to unlock the potential of biotechnology to have beneficial impacts on the world.

Contact info

Homework

Labs

Projects

Subsections of Jay Handfield — HTGAA Spring 2026

Homework

Weekly homework submissions:

  • Week 1 HW: Principles and Practices

    Final Project Frugal Benchtop Bioreactors: Editing the DNA of an organsim is more accessible than ever. Basic lab equipment and plasmid services like GenScript mean that you can dream up your own sequence and express it in an host for around a hundred US dollars. However to unlock the real world impact of gene edits you usually need to be able to scale the production up. The next step in scaling beyond the shaker flask is a bench-top bioreactor where you figure out how to actively manage and optimize your organisms growth and characterstics. This expense of the benchtop stage makes it less accessible than the edit stage even though in many ways the technology involved is simpler. For example a new benchtop bioreactor typically costs tens of thousands of dollars or more. Even used bioreactors costs thousands of dollars.

  • Week 2 HW: DNA Read, Write, and Edit

    Homework Part 0: Basics Of Gel Electrophoresis Attended lecture and watched recitation video Part 1: Benchling & In-silico Gel Art Link to Benchling Project , not sure how can see this link I asked to join HTGAA group but doesn’t seem like my invite was accepted yet? My drawing of an “E Gel Person” and associated enzymes in each lane are also in screenshot below Part 2: Gel Art - Restriction Digests and Gel Electrophoresis I don’t have access to these enzymes and DNA in my local makerspace lab.

  • Week 3 HW: Lab Automation

    Opentron Python Script Art Basic Idea The limited pixel resolution and colors of the petri dish reminded me of the old school bitmap monitors like the IBM PC that I grew up with. Also I wasn’t looking forward to guessing/figuring out a lot of pixel locations by hand, so I took a retro route and wrote some code to provide a terminal like API that let’s you specify a cursor location to write text to using a specific bitmap font and color.

  • Week 4 HW: Protein Design Part I

    Part A: Conceptual Questions How many molecules of amino acids do you take with a piece of 500 grams of meat? (on average an amino acid is ~100 Daltons) Why do humans eat beef but do not become a cow, eat fish but do not become fish? Why are there only 20 natural amino acids? Can you make other non-natural amino acids? Design some new amino acids. Where did amino acids come from before enzymes that make them, and before life started? If you make an α-helix using D-amino acids, what handedness (right or left) would you expect? Can you discover additional helices in proteins? Why are most molecular helices right-handed? Why do β-sheets tend to aggregate? What is the driving force for β-sheet aggregation? Why do many amyloid diseases form β-sheets? Can you use amyloid β-sheets as materials? Design a β-sheet motif that forms a well-ordered structure. Okay I am going to take a first pass through here just going off the lecture, wikipedia, and background knowledge I already have and then go back and try with AI assistance for the ones I have no answer for.

  • Week 5 — Protein Design Part II

    Protein Design Part II (Pranam Chatterjee, Gabriele Corso)

  • Week 6 — Genetic Circuits Part I: Assembly Technologies

    Genetic Circuits Part I: Assembly Technologies (Doug Densmore, Traci Haddock)
    Lab: Gibson Assembly

  • Week 7 — Genetic Circuits Part II: Neuromorphic Circuits

    Genetic Circuits Part II: Neuromorphic Circuits (Ron Weiss, Evan Holbrook)
    Lab: Neuromorphic Circuits

  • Week 9 — Cell-Free Systems

    Cell-Free Systems (Kate Adamala, Peter Nguyen, Ally Huang)
    Lab: Cell-Free Systems

  • Week 10 — Advanced Imaging & Measurement Technology

    Advanced Imaging & Measurement Tech (Evan Daugharthy, Waters Corp.)
    Lab: Mass Spectrometry

  • Week 11 — Bioproduction & Cloud Labs

    Bioproduction & Cloud Labs (Reshma Shetty)
    Lab: Cloud Lab

Subsections of Homework

Week 1 HW: Principles and Practices

cover image cover image

Final Project

Frugal Benchtop Bioreactors:

Editing the DNA of an organsim is more accessible than ever. Basic lab equipment and plasmid services like GenScript mean that you can dream up your own sequence and express it in an host for around a hundred US dollars. However to unlock the real world impact of gene edits you usually need to be able to scale the production up. The next step in scaling beyond the shaker flask is a bench-top bioreactor where you figure out how to actively manage and optimize your organisms growth and characterstics. This expense of the benchtop stage makes it less accessible than the edit stage even though in many ways the technology involved is simpler. For example a new benchtop bioreactor typically costs tens of thousands of dollars or more. Even used bioreactors costs thousands of dollars.

Substantial progress has been made toward accessible and open bioreactors with efforts like BIO-SPEC: An open-source bench-top parallle bioreactor system, but the Bill Of Materials for a BIO-SPEC system is still over 2000 Euros. Another great project is the Pioreactor which is available as a kit for only $350 US dollars. However the max volume of a Pioreactor is 40mL and it only has a single tank, which limits the ability to do things like media optimization unless you buy multiple Pioeractors.

The goal of my final project would be able to take advantage of fabrication tools like 3d printing to design and build a simple benchtop bioreactor with a bill of materials of around a hundred US dollars, demonstrate the reactors works by scaling up and optimizing production for at least one simple engineered microbe, and then release the plans and software with an open license. The bioreactor should support at least up to 1L of total culture and have multiple reaction tanks to support environmental optimization. A key aspect of benchtop scale up in monitoring and optimizing both the biomass and level of expression, which can be difficult to monitor cheaply. To prove out the concept and provide a demo project for the system the project will also edit an organism like a microbe to express a colored protein so that monitoring and optimizing is easier using inexpensive technology like digital cameras. Eventually a library of scaffold organisms could be developed that allow uses to insert their edits into a the organism in a way that their protein will be co-expressed with the easy to monitor protein like color to enable inexpensive and cheap scale up.

Governance Policy and Actions

Equity And Automony

In line with the desire for to giving as many people as possible the opportunity to learn how to scale up thier bio-engineering projects the primary policy concern is promoting ongoing equity and autonomy.

Actions

  • The project can release all CAD designs, Documentation and, software is released with open licenses that allow people to use and extend. (Most Effective - 1 )
  • The project can ensure the bill of materials only includes items that are broadly available and/or have open licenses. (Minimally Effective - 3)
  • Fab labs and service manufactures can sign up to print and mail kits of 3d printed parts to people who don’t have access to 3d printers. (Minimally Effective - 3)
  • Schools and DIY labs can incorporate this into their curriculum or sponsor people to build them locally in order to expand the number of people who have experience with the process of scaling up synthetic organisms. (Mininimally Effective - 3)
  • An existing organization, like Neosynbio or Frugal Science Academy which support open and frugal biological tools, can sponsor the project and manage the licenses and copyrights. In addition to providing exposure, if the project is successful this allows the project to exist beyond a single person and prevents license and copyright changes that restrict access. (Most Effective - 1)

Biosafety

While a bench-top reactor does not introduce new biological risks it magnifies the ones that already exist in the bio-engineered organism, so a secondary policy goal needs to make be managing this magnified risk.

Actions

  • The project can provide documentation and training materials can reference existing training on bioethics and biosafety. (Moderately Effective - 2)
  • The project and labs can provide known safe demo projects that demonstrate the principles of scale up and optimization with minimal biological risk. (Minimally Effective - 3)
  • Schools and Labs can extend their existing bioethics and biosafety training to explictly discuss how to manage the magnified risk of scaling up a biological process. (Moderately Effective - 2)
  • Governments and regualtors can extend thier existing regulations and logging practices to cover specfic requirements around scaling up or just regulate edits with the assumption that scale up will happen (Moderately Effective - 2)

Homework Questions

Homework Questions from Professor Jacobson

  1. Nature’s machinery for copying DNA is called polymerase. What is the error rate of polymerase? How does this compare to the length of the human genome. How does biology deal with that discrepancy?

The error rate for polymerase is 1 in 10^6 according to slide #8. Slide #10 indicates the human genome is 3.2 Gbp, so a single copy of the genome is likely to have ~1000 errors which is pretty high especially for fast growing cells that replicate once a day, since errors will accumulate with each replication. Biology deals with this by having many layers of error correction and handling beyond the already excellent ones built into the polymerase. One example is the Lamers et al work on MutS from the slides which correct higher level structural errors in the DNA. Beyond error corrections, there are also mechanisms that cause cells with serious errors to self-destruct or be marked for destruction by other cells. This fail-safe removes cells with serious errors from the population so that don’t replicate more.

  1. How many different ways are there to code (DNA nucleotide code) for an average human protein? In practice what are some of the reasons that all of these different codes don’t work to code for the protein of interest?

Slide 6 indicates that the average human protein is about ~1000 base pairs and ~330 amino acids. While the exact number of alternate codings depends on the specific amino acid sequence of the protein, on average each amino acid has ~3 codons that map to it (64/21), so there ~3^330 alternate codings for an average human protein. In practice all of these encodings may not actually work because at the end of the day different codons are still physically and chemically different from other codons which can create differences in the structure of the DNA and translated RNA as indicated in later slides. For example structural differences in RNA chains can impact ribosome translational efficiency, which means a given DNA chain might code for the same protein but make too much or too little of that protein for the organism to survive.

Homework Questions from Dr. LeProust: [Lecture 2 slides]

  1. What’s the most commonly used method for oligo synthesis currently?

From the Jacobson slides and the timeline in the LeProust slides it appears that while the details of the chemistry, level of automation, and miniaturization has been massively improved over the years most olgio synthesis methods are variants of an open loop chemical synthesis with a protection group .

  1. Why is it difficult to make oligos longer than 200nt via direct synthesis?

Also from the Jacobson slides it the error rate for chemical synthesis is 1 in 100 base pairs. That error rate would make it very hard to go much beyond a couple hundred base pairs without getting an error.

  1. Why can’t you make a 2000bp gene via direct oligo synthesis?

    2000 base pairs is much too large for a 1 in 100 error rate. At 2000 bps, even if you sequence the the different olgios produced and then try fo find and amplify a good olgio you have an almost zero chance of getting a good sequence of that length in the first place.

Homework Questions from George Church

I looked at question #1

What are the 10 essential amino acids in all animals and how does this affect your view of the “Lysine Contingency”?

I had to google “What is the lysine contingency” because I had forgotten that part of Jurassic Park. Looking at Wikipedia - Essential Amino Acids it looks like there are 9 amino acids that animals absolute can’t synthesize and 6 more that can’t always be synthesized in sufficient amounts. I was not able to reconcile this vs the 10 amino acids in the question. Independent of that it is clear that the “Lysine Contigency” makes no sense as a form of bio-safety for animals, since all animals already suffer from the lysine contingency and do just fine getting Lysine from the food they eat. Even knocking out the ability to produce a non-essential amino acid like Alanine would not help containment unless the dinosaur species has such a narrow diet that it couldn’t survive any any modern wild plant or animal matter. In particular carnivorous dinosaurs that are happy to eat modern mammals (the ones you most want to contain) could get the full suite of amino acids from their prey. I used Google and their AI answer to verify that all amino acids survive stomach acid and digestion.

Extra Investigation for GRO:

While reading the George Church slides on Geneticially Recoded Organisms (GRO) and the fact that they are immune to viral infection “Swapped genetic code blocks viral infections and gene transfer”, I was driven to do some additional investigation into the risks using Google Gemini knowing how important viral infection is in microbial control in the wild. Some of the main prompts were:

  • “Isn’t immune to natural viruses a little dangerous since that is the main predator/cause of death of most microbes?”
  • “It seems like if they could escape and dump the auxotrophy gene they might have enough of a survival advantage (there are many slow growth bacteria in nature) that they could climb back up the fitness curve over time.”
  • “what is the pragmatic outcome advantage or technology that justifies this risk”

I need to do more investigation in this area, but my first impression is that the researchers involved are thinking deeply about the bio-safety risks and developing layered countermeasures. However many of those countermeasures are fundamentally dependent on responsible actors in a high trust world and it isn’t clear that in a low trust multi-polar world these safeguards will be sufficient? The same economic forces pushing in this direction (virus free bioreactors) may tempt people to bypass the fitness safe-guards for economic benefit. Once a virus immune GRO population becomes established in the wild it isn’t clear to me how you would eradicate them. Even if they are initially slow growing or not dominant in their niche, being immune to viruses is such an incredible fitness advantage that it seems likely GRO microbes will eventually climb the fitness curve and come to dominate all ecosystems. This might take thousands or even millions of years, but seems like a very bad outcome. I guess we would have to hope that natural virus evolution figures out how to bypass the GRO defense before then?

Week 2 HW: DNA Read, Write, and Edit

Homework

Part 0: Basics Of Gel Electrophoresis

Attended lecture and watched recitation video

Part 1: Benchling & In-silico Gel Art

  • Link to Benchling Project , not sure how can see this link I asked to join HTGAA group but doesn’t seem like my invite was accepted yet?
  • My drawing of an “E Gel Person” and associated enzymes in each lane are also in screenshot below
E Gel Person E Gel Person

Part 2: Gel Art - Restriction Digests and Gel Electrophoresis

I don’t have access to these enzymes and DNA in my local makerspace lab.

Part 3: DNA Design Challenge

Protein Choice

For the frugal bioreactor project I thought it would be ideal to have an organism and protein combination that are easily detected to help people (including myself) learn how to do yield optimization experiments. To that end I am choosing a protein that has a easily visible color, so intensity of color can be used to judge protein expression. To find a list of proteins I

  • Asked Gemini “Are there proteins that have visible color and can be expressed by e coli?”.
  • Selected EforRed from the list, since it will probably be easiest to measure intentisity of primary colors
  • Found EforRead in FPBase though common alias is apparently eforCP. There is spectrum data on FPBase also which could be useful for calibration and detection.
1 MSVIKQVMKT KLHLEGTVNG HDFTIEGKGE GKPYEGLQHM KMTVTKGAPL PFSVHILTPS HMYGSKPFNK YPADIPDYHK 
81 QSFPEGMSWE RSMIFEDGGV CTASNHSSIN LQENCFIYDV KFHGVNLPPD GPVMQKTIAG WEPSVETLYV RDGMLKSDTA 
161 MVFKLKGGGH HRVDFKTTYK AKKPVKLPEF HFVEHRLELT KHDKDFTTWD QQEAAEGHFS PLPKALP

Reverse Translate

Encdoe the protein as a DNA string. There are lots of tools to this, but for fun I just wrote python code using a mapping from RNA to Amino Acids I took out of some old Rosalind code that mapped RNA to proteins.

# Want to find a DNA encoding of a protein
# This is RNA to DNA mapping from Rosalind
prot_string = """UUU F             
UUC F             
UUA L             
UUG L             
UCU S             
UCC S             
UCA S             
UCG S             
UAU Y             
UAC Y             
UAA Stop          
UAG Stop          
UGU C             
UGC C             
UGA Stop          
UGG W             
CUU L 
CUC L 
CUA L 
CUG L 
CCU P 
CCC P 
CCA P 
CCG P 
CAU H 
CAC H 
CAA Q 
CAG Q 
CGU R 
CGC R 
CGA R 
CGG R 
AUU I 
AUC I 
AUA I 
AUG M 
ACU T 
ACC T 
ACA T 
ACG T 
AAU N 
AAC N 
AAA K 
AAG K 
AGU S 
AGC S 
AGA R 
AGG R 
GUU V
GUC V
GUA V
GUG V
GCU A
GCC A
GCA A
GCG A
GAU D
GAC D
GAA E
GAG E
GGU G
GGC G
GGA G
GGG G"""

# Do the reverse mapping just let the last on mapped win
prot_rna_map = {x.split(" ")[1]: x.split(" ")[0] for x in prot_string.split('\n')}
# skip spaces
prot_rna_map[" "] = ""
print(len(prot_rna_map), prot_rna_map)

my_protein = """MSVIKQVMKT KLHLEGTVNG HDFTIEGKGE GKPYEGLQHM KMTVTKGAPL PFSVHILTPS HMYGSKPFNK YPADIPDYHK QSFPEGMSWE RSMIFEDGGV CTASNHSSIN LQENCFIYDV KFHGVNLPPD GPVMQKTIAG WEPSVETLYV RDGMLKSDTA MVFKLKGGGH HRVDFKTTYK AKKPVKLPEF HFVEHRLELT KHDKDFTTWD QQEAAEGHFS PLPKALP"""
my_rna = "".join([prot_rna_map[l] for l in my_protein])
print("-----")
print(my_rna)

my_dna = my_rna.replace("U", "T")
print("-----")
print(my_dna)

The result I got (out of the many possible encodings) was:

ATGAGCGTGATAAAGCAGGTGATGAAGACGAAGCTGCACCTGGAGGGGACGGTGAACGGGCACGACTTCACGATAGAGGGGAAGGGGGAGGGGAAGCCGTACGAGGGGCTGCAGCACATGAAGATGACGGTGACGAAGGGGGCGCCGCTGCCGTTCAGCGTGCACATACTGACGCCGAGCCACATGTACGGGAGCAAGCCGTTCAACAAGTACCCGGCGGACATACCGGACTACCACAAGCAGAGCTTCCCGGAGGGGATGAGCTGGGAGAGGAGCATGATATTCGAGGACGGGGGGGTGTGCACGGCGAGCAACCACAGCAGCATAAACCTGCAGGAGAACTGCTTCATATACGACGTGAAGTTCCACGGGGTGAACCTGCCGCCGGACGGGCCGGTGATGCAGAAGACGATAGCGGGGTGGGAGCCGAGCGTGGAGACGCTGTACGTGAGGGACGGGATGCTGAAGAGCGACACGGCGATGGTGTTCAAGCTGAAGGGGGGGGGGCACCACAGGGTGGACTTCAAGACGACGTACAAGGCGAAGAAGCCGGTGAAGCTGCCGGAGTTCCACTTCGTGGAGCACAGGCTGGAGCTGACGAAGCACGACAAGGACTTCACGACGTGGGACCAGCAGGAGGCGGCGGAGGGGCACTTCAGCCCGCTGCCGAAGGCGCTGCCG

Codon Optimization

For a given protein string of amino acids there are many possible DNA codes that could generate that protein. While all these codes are equivalent in an abstract sense in reality the RNA machinery like ribosomes and T-RNA in each organism is differen and the physical characterstics of equivalent codons can be different which can impact an organism’s ability to actual translate the DNA into a protein. For example the organism could be more efficient with certain T-RNA encodings than others impacting the rate or expresion or an organism could give special meanings to sequences of codons that it doesn’t use in its own proteiens. To avoid this you want to optimize your encoding for expression in your chosen organism.

I tried to optimize my sequence on twist, but I got 404 whenever I went to their codon optimization calculator. Instead I googled for codon optimization calculator and used another free one, VectorBuilder to get below optimization. I used E. Coli as my organism and didnt’ specify any restriction enzymes to avoid:

Pasted Sequence: GC=62.26%, CAI=0.60

ATGAGCGTGATAAAGCAGGTGATGAAGACGAAGCTGCACCTGGAGGGGACGGTGAACGGGCACGACTTCACGATAGAGGGGAAGGGGGAGGGGAAGCCGTACGAGGGGCTGCAGCACATGAAGATGACGGTGACGAAGGGGGCGCCGCTGCCGTTCAGCGTGCACATACTGACGCCGAGCCACATGTACGGGAGCAAGCCGTTCAACAAGTACCCGGCGGACATACCGGACTACCACAAGCAGAGCTTCCCGGAGGGGATGAGCTGGGAGAGGAGCATGATATTCGAGGACGGGGGGGTGTGCACGGCGAGCAACCACAGCAGCATAAACCTGCAGGAGAACTGCTTCATATACGACGTGAAGTTCCACGGGGTGAACCTGCCGCCGGACGGGCCGGTGATGCAGAAGACGATAGCGGGGTGGGAGCCGAGCGTGGAGACGCTGTACGTGAGGGACGGGATGCTGAAGAGCGACACGGCGATGGTGTTCAAGCTGAAGGGGGGGGGGCACCACAGGGTGGACTTCAAGACGACGTACAAGGCGAAGAAGCCGGTGAAGCTGCCGGAGTTCCACTTCGTGGAGCACAGGCTGGAGCTGACGAAGCACGACAAGGACTTCACGACGTGGGACCAGCAGGAGGCGGCGGAGGGGCACTTCAGCCCGCTGCCGAAGGCGCTGCCG
Improved DNA[1]: GC=51.84%, CAI=0.95

ATGAGCGTGATTAAACAGGTAATGAAAACCAAACTGCATCTGGAAGGCACGGTGAACGGCCATGATTTCACCATTGAAGGCAAAGGCGAAGGCAAACCGTATGAAGGCCTGCAGCATATGAAAATGACCGTGACCAAAGGCGCGCCGCTGCCGTTTAGCGTGCATATTCTGACGCCGAGCCACATGTACGGCAGCAAACCGTTTAACAAATACCCGGCGGACATCCCGGATTATCACAAACAAAGCTTCCCGGAAGGCATGAGCTGGGAACGTAGCATGATCTTCGAGGATGGCGGCGTGTGCACTGCGAGCAATCATAGCAGCATTAACCTGCAGGAAAACTGCTTCATTTACGATGTGAAATTTCATGGCGTGAATCTGCCGCCGGATGGTCCGGTGATGCAGAAAACCATTGCGGGCTGGGAACCGAGCGTGGAAACCCTGTACGTGCGTGATGGCATGCTGAAAAGCGATACCGCCATGGTGTTTAAACTGAAAGGCGGCGGCCATCATCGCGTGGACTTCAAAACCACCTATAAAGCGAAAAAACCGGTGAAACTGCCGGAATTTCACTTTGTGGAACATCGCCTGGAACTGACCAAACATGATAAAGATTTCACCACCTGGGATCAGCAGGAAGCGGCGGAAGGCCATTTTTCACCGCTGCCGAAAGCGCTGCCG

I knew GC was ratio of those bases in the sequence which varies form species to species and can impact structure, but I didn’t know what CAI was so I googled it and learned it is the “Codon Adaption Index”, which is a measure for a specific codon of how likely your codon’s are to be the organism’s preferred choice in terms of T-RNA frequency.

Now What

I still have a lot to learn about how to express proteins, but at a high level I know with cell culture

  1. Pick an organism to express, I will asumme it is a bacteria like E. Coli
  2. Manufacture this DNA segment (with a service like twisted) in side a plasmid in a way that
  • The plasmid has some other trait like antibiotic resistance that we can use to select for bacteria that have taken up the plasmid
  • Some promoter that we can use to make sure our protein is expressed.
  1. Use some kind of transformation method to get the plasmid inside of the bacteria
  2. Select for bacteria that have the plasmid by culturing and then putting on antibiotic gel and selecting survivors
  3. Culture and grow these bacteria at scale and triggering conditions (if any) for our protein to be expressed.

Part 4: Twist Synthesis Order

Followed the homework directions pretty closely here using the same prefix/suffix sequences they recommend even the purification histadines though I probably don’t need to extract my color protein? This is my linear sequence.

After that I followed the instructions to create a twist order, downloaded in genebank format, and imported plasmid into benchling

I used Gemini freely to understand Benchling and standard practices in DNA construction and editing. Prompts where:

  • “IN benchlig once I create a DNA sequence, can I add more DNA to it in benchling?”
  • “When I right click it asks me if I want to insert bases or parts. What is the difference?”
  • “When we talk about DNA sequences are we typically using the 5 to 3 or 3 to 5 strand? What is each called and which one is the primary thing we are editing and viewing in benchling?”
  • Is it best practice to separately annotate start and stop codons on their strands?

Part 5: DNA Read, Write, Edit

DNA Read

What DNA?

If I could sequence and DNA I would sequence Valonia Ventriscosa which is an where a single cell (multiple nuclei) that can grow to be centimeters across! My local DIY bio lab has just started working on doing synthetic biology with them and the first step would be to sequence the entire genome which hasn’t been done yet.

What Sequencing?

  1. I think to assmeble the overall structure of the genome from scratch we need the longest possible reads, so we would want to use a third generation sequencing method like nanapore for that. Once we have the overall structure we might want to use a high-bandwidth sequencing like illumini to get better resolution and coverage, including how much variation there is between indviduals.
  2. To get started we need a decent amount of DNA. This is roughly the amount in 1 million nuclei? We have estimated (assuming that a 1mm cell has ~1000 nuclei) that we need around 1000 1mm cells. Once we have the cells we would need to separate out the DNA from the rest of the cell.
  3. Since the lecture didn’t go into much detail on prep with a nanapore I asked gemini “What kind of preparation do you need to use a nanapore sequencer”. The summary is:
    • Gentle separation of DNA so you keep the strands long
    • High purity (non phenols/salts)
    • Repair the DNA ends so taht they are blunt and have a single A overhang
    • Attach a motor protein to DNA to move strand through the membrane.
    • Setup the flow cell with buffer
    • Put your sample in
  4. Again I didn’t know the output format so I asked Geminin “What is the raw output format of nanapore”. Summary is
    • The data is large (can be a terabyte)
    • Nanapore recrods the raw signal as electrical voltage changes as DNA goes through pore. The wiggles are stored in in binary files in either POD4 or FAST5 format
    • The DNA sequence implied from raw electrical is also output as FASTQ files

DNA Write

  1. If I was going to synthesize DNA independent of editing I would encode wikipedia as DNA. In particular, it would be fun to encode the main text of the wikipedia page about DNA as a DNA strand. Using wc shell utility on a copy of the file I see it is about 64K bytes, which is something that could be encoded as DNA.
  2. I checked with Gemini “What are the abilities and limitations of cell-free DNA assembly? How long can strands be?” and it looks like this size is possible to do with cell-free assmbly and pushing the upper end. I think from the lecture to pull this off you would need to synthesize small pieces (in the range of 500 bps) with olgio synthesis so that they have correctly overlapping ends and then repeatedly use Gibson assembly. If you arrange the reactions you can take advantage of the fact that fragments double in size to do this in 9 rounds of repeated glueing fromt the intiail 128 segements you start with

DNA Edit

  1. If I had the capability to do any DNA edits I wanted, I would want to try to edit a Eukaroyte like algae or yeast do genetically support symbosis with some kind of hydrogen oxidizing bacteria. This would be a massive amount of editing to both the bacteria and the host, but would unlock the ability to directly produce interesting products at scale with only water, sunglight, and atomsphere to produce proteins at scale. For example it would enable things like celluar agiculture and space habitats to functions without existing agriculture inputs.
  2. This is such a massive edit I am not even sure what technologies would work. On the bacteria side you would probalby want to use the edit techniques used in the construction of the minimal living cell though you would want to possibly cut even deeper because you want to make sure some of the bacterias fundamental functions are produced by the host. My earlier Gemini query on cell-free assembly volunteered that the Minimal Bacterial Genom project used a combination of cell-free assembly and yeast-based (TAR Cloning). I don’t know anything about TAR cloning so I asked Gemini “Can you tell me more about TAR cloning?” and it sounds like it the pefect thing to do large scale and complex construction and edits of DNA, so it is probably what would end up being used.

Week 3 — Lab Automation

Opentron Python Script Art

Basic Idea

The limited pixel resolution and colors of the petri dish reminded me of the old school bitmap monitors like the IBM PC that I grew up with. Also I wasn’t looking forward to guessing/figuring out a lot of pixel locations by hand, so I took a retro route and wrote some code to provide a terminal like API that let’s you specify a cursor location to write text to using a specific bitmap font and color.

Result

The code to turn the petri dish into a screen was pretty straight-forward to do even by hand. I did bunch of experiments of what I should do with the API and ended up making a logo for my local bio makerspace:

Tri DIY Bio Logo Tri DIY Bio Logo

With the screen API drawing this log is only a few lines of python

har_width = 8
char_height = 8
char_border = 1
screen = PetriScreen(40, 1, (char_width, char_height, char_border), font_maps)
screen.write_text_at((-1,4), '\u0004\u0004',font="Ibm437", color="green")
screen.write_text_at((-3,2), "TRI  \u001E", font="Ibm437", color="red")
screen.write_text_at((-3,0), "\u0003 DIY \u0003", font="Ibm437", color="cyan")
screen.write_text_at((-3,-2), "\u0002   BIO", font="Ibm437", color="yellow")
screen.write_text_at((-1,-4), '\u0004\u0004',font="Ibm437", color="green")

run = screen.run

How

I think AI could have done this really quickly but keeping with the retro theme I did things by hand in my colab notebook. Even by hand this wasn’t too bad and ended up being about 100 lines of python code for the logic.

  • Encoded the bytes as dictionaries and binary numbers (so you can sort of see the shape), where highest value digit is upper leftmost digit
  • Code supports screens with different bitmap sizes.
  • The API uses (row, line) numbers to specify location like an old-fashioned terminal instead of (x,y).
    • Since the petri dish is a circle I made (0,0) the center row and line and used negative numbers for rows to left and lines below the center
    • The number of rows and lines a petri dish can fit depends on the size of the font and the physical pixel separation which are specified when the Petri Screen is created.
    • I experiemented with a bunch of different pixel separations. I ended up using 1mm, but not how this will actually look in real life.
  • The python code itself is NOT optimized for speed and uses string operations to manipulate the bytes.
  • The use of the robot is optimized because the screen computes all of the pixels before rendering begins, so
    • Uses minimal number of tips
    • Uses minimal amount of fluid
    • The move path is also near optimal because the tip is moved in a left to right scan for each color across the entire screen

There are a lot of sources for bitmap font data all of which use a different format. I went with class IBM 8x8 font data available in this projects header files. I converted this to my format using some simple search and replace and then running this python code outside of the the notebook.

for k,v in raw_font_data.items():
  key_str = k if k.isalnum() else f'\\u00{ord(k):X}'
 # print(f'---- char {key_str } ----')
  rows = []
  for i,b in enumerate(v):
     rows.append(f'{format(b, "08b")[::-1]}')
  print(f'"{key_str}" : 0b{"_".join(rows)},')

Lab Run

I wasn’t able to make my node’s office hours and didn’t get a reply to if and how we are supposed to run my code, so I wasn’t able to actually run.

Post-Lab Questions

Find and Describe an Opentron Paper

I read this paper Environmental modulators of algae-bacteria interactions at scale. This paper explores the dependence of how autotraphs and hetrotrophs interact as a combined system under various environmental conditions. The space of variables for a two organism system under a variety of environmental conditions is large (~225K), so massively parallel automation is essential. The key technology in this space is to observe nano-liter size well droplets in a microfluidic system using fluorescent bar codes to identify the conditions in each droplet and to also fluroescent intensity to measure protein growth. Given the small scale, number of possibilities, and precision required the solutions used to create the droplets where mixed by an opentron-2 robot (STAR section page e2).

Lab Automation for Final Project

My main current proposed project is building a frugal benchtop bioreactor, which is more along the lines of trying to bring simple automation and sensor control to a wider audience. Given this it isn’t clear how I could use an opentron? Even if I do another project it also isn’t clear that as a remote comitted listener I would have access to either opentron or lab automation in a way that I could do a project?

Final Project Ideas

1. Frugal Benchtop

This was what I outlined in homework #1. Would try to include demo projects with e. coli and/or yeast that have been edited to express visible spectrum colors

2. Non-sterile simple genetic modification

As an extension of sourdough in to create a 2-species system that supports genetic modification of either microbe. Sourdough environment already selects against most competitors.

3. Edit yeast or algae to symbosis with HOB

Not even realy sure how to go about this because it is a massive edit.

Extra Node Specific Questions

I imagine AI could easily answer this question, but I intentially tried to just use the notes that were sent out and my basic understanding of howo things to work to see what I could guess without help.

1. If we were given a random segment of 100,000 bases, how would we determine if it is encoding for eukaryotic or prokaryotic genes? Could we find specific “parts” - promoters, operators, enhancers, silencers?

Assuming it is protein coding section of DNA I think you would have a decent chance of finding enough patterns to make good guesses about the structure and encodiongs

Prokaryote vs Eukaryote

Some things you could look for

  • Circular vs linear
  • Ribosome Binding Sequences
  • Origin of Replications

Specific Parts

If you can identify patterns that you think are potential ori and RBS then you can use those guesses to orient on the strand and look for

  • Between Ori and RBS sequence: Common promoters and operators for the domain you think it is
  • After the RBS: Look for start codons and stop codons. Do the stop codons seem far enough away from start codon to encode a reasonable size protein.
  • If you have multiple potential RBS sites and resonable stop codons, you can than iteratively look for more promoters and operators between stop codon and the next potential RBS.

2. Be able to explain why you chose your sequencing method for HW #2 and what other options you considered. Be able to explain how you would synthesize a particular piece of DNA - is it all in one piece, or are you assembling several synthesized parts together? What editing methods did you consider, and how would you confirm your DNA editing approach worked? Basically, be able to discuss your answer to this question.

Tried to justify in text of last week’s homework

3. What published paper using Opentrons are you analyzing for HW #3? In discussing with your peers, have researchers generally approached this tool for similar uses, or for vastly different fields?

See above.

Week 4 HW: Protein Design Part I

Part A: Conceptual Questions

  1. How many molecules of amino acids do you take with a piece of 500 grams of meat? (on average an amino acid is ~100 Daltons)
  2. Why do humans eat beef but do not become a cow, eat fish but do not become fish?
  3. Why are there only 20 natural amino acids?
  4. Can you make other non-natural amino acids? Design some new amino acids.
  5. Where did amino acids come from before enzymes that make them, and before life started?
  6. If you make an α-helix using D-amino acids, what handedness (right or left) would you expect?
  7. Can you discover additional helices in proteins?
  8. Why are most molecular helices right-handed?
  9. Why do β-sheets tend to aggregate? What is the driving force for β-sheet aggregation?
  10. Why do many amyloid diseases form β-sheets? Can you use amyloid β-sheets as materials?
  11. Design a β-sheet motif that forms a well-ordered structure.

Okay I am going to take a first pass through here just going off the lecture, wikipedia, and background knowledge I already have and then go back and try with AI assistance for the ones I have no answer for.

  1. A Dalton is another name for atomic mass unit. $6\times1023$ hydrogen atoms/dalton/atomic massunits is roughly $1g$ of mass, so $1g$ of amino acids is roughly $6\times1021$ amino caid molecues and 500g of meat should contain at most $3\times1024$ amino acid molecues. In reality, a good fraction of the mass of meat is water, fat, and other non-protein so the number will be less than that, probably between 10-30% of the max depending ont he meat involved, which gives a range of $3\times1023$ to $1\times10^24$ molecues.
  2. The state of being a cow is a complex relationship between a cow’s cells. Being a cow cell is a complex relationship between the DNA, lipids, and proteins in that cell as well as the cell’s history and its relationship to other cow cells. IN other words being a cow is a delicate state. Eating a cow (especially if we cook it first) involves destruction of the cells, relationships, and molecues breaking them down into component parts at a molecular level, in particular protein is broken down into its component amino acids so all the relationship,s structure, and patterns are lost and re-assembled into the patterns and structure of whatever is eating the cow by the machinery of the organisms and its cells (plus the injection of energy). You can acquire the molecular shadow of what you eat in the form of the isotope concentration of your components, e.g. if you eat at lot of corn (or things that eat corn) you will have the isotope ratio of a C4 plants like corn.
  3. Not sure there is a strict answer to this, because it seems like there is something of a historical contigency here. In fact my past seemed to indicate that different people cite differen numbers of “natural amino acids”, e.g. wikipedia says 22 amino acids instead of 20. Given that I think the best answer is something like early life must have existing in an environment where the current naturally occuring amino acids were being manufactured by some abiogenic process and ended up being incorporated into the structure of early proto-life. In addition to requiring that the amino acids was created by some abiogenic proces in decents amounts, the current amino acids of life are also the ones that life figured out how to internally synthesize. I can imagine there may have been a commonly occuring abiogenic amino acid that some proto-life started using, but proto-life didn’t figure out how to self-synthesize. As the abiogenic source of a hard to biologically synthesize amino acid waned, proto-life that used that amino acid would have been very strongly selected against, so even a common abiogenic amino acid may not show up as current “natural” amino acid.
  4. An amino acide is an organic compound that has both carboyxl and an amine group. This means that the to design an amino acid you can attach those groups to any organic/carbon backbone. For example, you could take octane (eight carbon atoms in a chain with hydrogen atoms) and attach a carboxyl and amine group to the last atom in the chain to make an amino acid (octine?). It is hard to tell if this is a “new” amino acid because there are 500+ amino acids just in nature according to wikipedia without a web/AI search.
  5. There are abiogenic processes that naturally create amino acids. One famous experiment put methane, nitrogen, etc in a jar and passed electricity through and ended up creating many organic compounds including amino acids. We have also detected amino acids and other organic compounds on remote comets/asteroids presumably created abiogenically by heating/cooling/light energy impacting on the frozen components like methane ice.
  6. I have no idea, but seems like D should be right-handed?
  7. I am not sure what this question is asking? Additional relative to what?
  8. Again, I am not sure what this question is asking? I assume they mean most biological molecular helices, because I don’t know that molecular helices have a preferred direction in general. If it is biological, I guess this is because some organic compounds are chiral and biology (because of historical accident?) selects/builds only one chirality of that organic compound. The chirality then impacts the shape formed when repeating units bind together leading to helices with a certain direction also.
  9. Not sure, but if I had to guess it would be hydrogen bonding between the parts of amino acids that are perpendicular to the direction of th sheet?
  10. No Idea
  11. No idea.

Ok, now I will check/redo using outside research and AI especially for the last questions. Below is a record of main prompts I asked Gemini:

  • “What governs whether the peptides bond 4 forward or to a completely different segment (beta sheet).”
  • “What can you tell me about which way the helix turns on how it relates to chirality and the direction that DNA helix turns?”
  • “What is protein tertiary structure and what governs it? Also hydrogen bonds?”
  • “Which R group interactions stack beta-sheets on top of each other?”
  • “What are amyloid beta sheets and how do they form?”
  • “How would I go about designing a beta-sheet motif and what does that even mean?”
  • “What are examples of amino acids that are part of the beta-sheet vs the flexible turn between strands (proline & glycine) or is it just that any amino basic except proline and glycine can be in the beta-sheet part of the strand? Or maybe even proline and glycine can be in the beta strand as long as there aren’t 3-4 flexible amino acids in a row?”

With this info I revise/add answers

  1. My guess above was wrong. For amino acids while they are right handed chirality this apparently creates a left handed helix. Strangely enough for sugars a right hand chirality creates a right handed helix which is what I was remembering when I guessed.
  2. Still don’t understand this question.
  3. I think I have a better feeling for this now. Beta sheets are formed by the hydrogen bounds between adjacent amino acid chains. This formation of the beta-sheet with hydrogen bonds exposes the R-groups of the amino acids in the sheet in an up and down direction/pattern relative to the sheet. The R groups that are exposed goven the binding between sheets. For example, some amino acids have R groups that can allow hydrogen bonding between sheets. Apparenly the tightest binding between sheets happens when the R groups are such that they can expel the water between the sheets and sterically snap together because the exposed R-groups line up shape-wise and have the ability (hydrophobic) to expel water between sheets.
  4. As far as I can tell amyloid proteins have an autocatalytic tendency to form the tight fitting beta-sheets mentioned in #9, so if some condition (heat, disease, genetics) leads to creation of 2-4 tight fitting beta-sheets in an amyloid-protein it will eventually capture other amyloid proteins and recruit them into the same tight-fitting beta-sheets. Since it is very hard to pry these sheets apart, these clusters tend to grow slowly over time intefering with normal function of protein and surrounding tissue.
  5. Not sure exactly what we are looking for here still? A DNA/amino acid sequence? I do understand the basic structure of beta sheets to know that I can make a beta-sheet by picking runs of 5-10 amino acids with mostly bulky R groups, like valine or tyrosine joined together with a proline + glycine loops that allow the protein strand to bend back on itself so the bulky runs can hydrogen bond each other. If you put enough runs like this together you will get a very wide beta-sheet which will then tend to wrap around and make a barrel or cylinder. So if I wnated to “design” a beta-sheet I would just repeat pattern like TVTVTVTCPG a bunch of times?

Part B: Protein Analysis and Visualization

Briefly describe the protein you selected and why you selected it.

I chose casein which is the major protein in milk, because I like dairy products and it would be interesting to see how the common properties of something I interact with every day relates back to the protein structure and DNA sequence. I also remember seeing a video about using milk/caesin to make a fiber that you can make clothese from which points to a protein that potentially has a lot of uses.

Identify the amino acid sequence of your protein

It looks like there are actually several different casein protein ($\alpha S1, \beta, and \kappa$) variants that appear in most mammal milk. I think it will be interesting to compare them and see how they different so I will look at sequence for all of them in as well as comparing across species.

I collected the sequences from uniprot and did work in this colab notbook. I used NCBI Protein Blast for the homolog searches. For family search I used Interpro. For structures I looked in RCSB Protein Data Bank

{‘humans’: {‘alpha’: (185, [(‘E’, 20)]), ‘beta’: (226, [(‘P’, 39)]), ‘kappa’: (182, [(‘P’, 29)])}, ‘cows’: {‘alpha’: (214, [(‘E’, 25)]), ‘beta’: (226, [(‘P’, 39)]), ‘kappa’: (190, [(‘P’, 21)])}}

$\alpha S1$:

185 amino acids, most common is ‘E’ 20 times (glutamic acid)

MRLLILTCLVAVALARPKLPLRYPERLQNPSESSEPIPLESREEYMNGMNRQRNILREKQTDEIKDTRNESTQNCVVAEPEKMESSISSSSEEMSLSKCAEQFCRLNEYNQLQLQAAHAQEQIRRMNENSHVQVPFQQLNQLAAYPYAVWYYPQIMQYVPFPPFSDISNPTAHENYEKNNVMLQW

The closest homologs to this (not too surprising) were in the great apes (100 percent match). A little more suprising was how much change has happened in mammalian milk and that human alpha protein is closer to bats and seals than sheep (only 37 percent identical).

Not too suprisingly, interpro identified the family as alpha/beta caseins

Very suprisingly there don’t seem to be any solved crystallography for human alpha caesin in Uniprot, just alpha fold predictions. I checked this with Gemini via:

“I am slightly surprised that human casein alpha has not been crystallized and had crystallography done? I would have thought it would be a basic first protein people would do?”

The reply was that alpha casein is an intrinsically disordered protein which is hard to crystallize, which led me down a rabbit hole where I discovered that the unordered parts of our proteins where it is hard to predict structure are important in eukaryotes/larger animals for regulation etc, even though we don’t have great ways to understand them yet.

214 amino acids, most common is ‘E’ 25 times (glutamic acid)

MKLLILTCLVAVALARPKHPIKHQGLPQEVLNENLLRFFVAPFPEVFGKEKVNELSKDIGSESTEDQAMEDIKQMEAESISSSEEIVPNSVEQKHIQKEDVPSERYLGYLEQLLRLKKYKVPQLEIVPNSAEERLHSMKEGIHAQQKEPMIGVNQELAYFYPELFRQFYQLDAYPSGAWYYVPLGTQYTDAPSFSDIPNPIGSENSEKTTMPLW

Similar results happen for cows, where the closest homologs are water buffalo and other hoofed ruminants like sheep are pretty close.

Not too suprisingly, interpro identified the family as alpha/beta caseins

Uniprot did have some electron microscope image that included cow casein, but this is sort of incidental because they are feeding casein into an e. coli motor that untangles tangled proteins like casein.

I used the Gemini prompt below to understand this:

“When looking at cow alpha casein I do seem electron microscope images where there are looking at E Coli on casein substrate: https://www.ebi.ac.uk/emdb/EMD-4623. What does that mean?”

$\beta$:

226 amino acids, most common is ‘P’ (proline) 39 times

MKVLILACLVALALARETIESLSSSEESITEYKQKVEKVKHEDQQQGEDEHQDKIYPSFQPQPLIYPFVEPIPYGFLPQNILPLAQPAVVLPVPQPEIMEVPKAKDTVYTKGRVMPVLKSPTIPFFDPQIPKLTDLENLHLPLPLLQPLMQQVPQPIPQTLALPPQPLWSVPQPKVLPIPQQVVPYPQRAVPVQALLLNQELLLNPTHQIYPVTQPLAPVHNPISV

Simlar homologs to the alpha case

Again interpro identified the family as alpha/beta caseins

Here we have the same issue as with the alpha version of casein, though there is a group PED studying intrinsically disordered proteins that are collecting additional modeling results about the entire structural ensemble/deformations and someone has modeling result based on a combination of alphflex and molecular dynamics simulations.

224 amino acids most common is ‘P’ (proline) 39 times

MKVLILACLVALALARELEELNVPGEIVESLSSSEESITRINKKIEKFQSEEQQQTEDELQDKIHPFAQTQSLVYPFPGPIPNSLPQNIPPLTQTPVVVPPFLQPEVMGVSKVKEAMAPKHKEMPFPKYPVEPFTESQSLTLTDVENLHLPLPLLQSWMHQPHQPLPPTVMFPPQSVLSLSQSKVLPVPQKAVPYPQRDMPIQAFLLYQEPVLGPVRGPFPIIV

Simlar homologs to the alpha case

Again interpro identified the family as alpha/beta caseins

Here I was suprised to see that there are PDB entries for cow casein. There are mostly of small (rigid parts?) of the entire protein? There is one entry that claims to be the full protein sequence (PDB 7TTR), but going to that PDB entry (and verifying with Gemini) shows this is another case of casein be used as an input into a test of an untangling motor.

$\kappa$:

182 amino acids, most common is ‘P’ (proline) 29 times

MKSFLLVVNALALTLPFLAVEVQNQKQPACHENDERPFYQKTAPYVPMYYVPNSYPYYGTNLYQRRPAIAINNPYVPRTYYANPAVVRPHAQIPQRQYLPNSHPPTVVRRPNLHPSFIAIPPKKIQDKIIIPTINTIATVEPTPAPATEPTVDSVVTPEAFSESIITSTPETTTVAVTPPTA

Simlar homologs to the alpha case

Again interpro found it was in the kappa family

Kappa only has some predictions.

190 amino acids, most common is ‘P’ (proline) 21 times

MMKSFFLVVTILALTLPFLGAQEQNQEQPIRCEKDERFFSDKIAKYIPIQYVLSRYPSYGLNYYQQKPVALINNQFLPYPYYAKPAAVRSPAQILQWQVLSNTVPAKSCQAQPTTMARHPHPHLSFMAIPPKKNQDKTEIPTINTIASGEPTSTPTTEAVESTVATLEDSPEVIESPPEINTVQVTSTAV

Simlar homologs to the alpha case

Again interpro found it was in the kappa family

Kappa only has some predictions.

Using the foldseek links from Uniprot structure recommendations doesn’t seem to lead to any good anlogs or structureally similar

I ran clustal omega to see how sequences aligned across species too. Alpha Casein. There was pretty tight alignment at the start and then not much. Kappa proteins alignment seemed to have been spread out across the entire protein Kappa Casein

  • Alpha Casein Cross Species Alignment Cross Species Alpha Align Cross Species Alpha Align
  • Kappa Casein Cross Species AlignmentCross Species Kappa Align Cross Species Kappa Align

3D Visualization

I used desktop PyMol and liberal use of “gemini” to help with this (queries like “how do I color by acid base in pymol”)

Visualize in Different Modes

  • Cartoon for Human Alpha Casein Cartoon for Alpha Cartoon for Alpha
  • Stick for Human Alpha Casein Stick for Alpha Stick for Alpha
  • Surface for Human Alpha CaseinSurface for Alpha Surface for Alpha
  • Ribbon for Human Alpha Casein Ribbon for Alpha Ribbon for Alpha

Visualize Secondary structure

Casein alpha has 4 alpha-helices on a single strand, 2 small ones on the end and 2 larger ones in the middle. The alpha strands have long unstructured runs between them, so they probably flop around a lot.

You don’t really need to color because you can see pretty clearly in the cartoon view above.

Visualizes Residues

Color the protein by residue type. What can you tell about the distribution of hydrophobic vs hydrophilic residues? THere doesn’t seem to be any well-defined sides/regions that I can see in this view. In fact they two kinds of residues seem to be well-mixed across the entire strand. Maybe this contributes to the inherent disorder of the protein.

  • Hydrophobic (yellow) and Hydrophilic( Blue) VIew Hydrophobic (yellow) and Hydrophilic( Blue) VIew

Record of Gemini Prompts for Part B

  • What is the primary protein in milk? Caesin?
  • What is a protein homolog?
  • Where is the best place to look for protein homologs using BLAST?
  • Is there a standard way to identify “protein family”?
  • Any suggestions about how to search for structure information in the protein data bank if I have uniprot references? Searching for sequence or keywords in PDB doesn’t seem very fruitful
  • I am slightly surprised that human casein alpha has not been crystallized and had crystallography done? I would have thought it would be a basic first protein people would do?
  • So seems like alphafold predictions for intrinsically disordered may not be very good since we don’t have input data?
  • What percentage of human proteins do we think are intrinsically disordered?
  • So it what are the best avenues/tools for understanding the dark proteome in animals like humans? It seems like we are missing a lot of info about how proteins function and how we can design/understand them in that context.
  • So the micelles structure that casein forms might be mirrored as membranes organelles/reaction chambers inside a cell?
  • When looking at cow alpha casein I do seem electron microscope images where there are looking at E Coli on casein substrate: https://www.ebi.ac.uk/emdb/EMD-4623. What does that mean? It sounds like the casein is incidental here?
  • What is a structure classification family for proteins.
  • There are foldseek links in the structure entries in uniprot? What are those, and how do you use them?
  • I guess it can find partial matches? It gave me a few viruses with partial match positions and very low probability? Are those false positives?

Part C: Using ML-Based Protein Design Tools

  1. My copy of the notebook
  2. For this part of the homework, I chose Curlin of the main components of E. Coli biofilms and is an amyloid type protein. This sequence is
MKLLKVAAIAAIVFSGSALAGVVPQYGGGGNHGGGGNNSGPNSELNIYQYGGGNSALALQTDARNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQVGFGNNATAHQY

C1: Protein Language Modeling

Deep Mutational Scan

Running the ESM2 model in my copy of the Colab notebook for the Curlin csgA protein gave

  • Deep mutation Scan for Curlin csgA Deep Mutation Deep Mutation

I found the coloring of this heatmap to be hard to understand because it is all shades of green instead of different colors for positive and negative mutations. Visually seeing the “no mutation” amino acids was especially hard. Also I noticed that there was a trimming problem and the first amino acid was missing from the analysis. Given this I changed the color theme and trimming to get this version

  • Revised Deep Mutation Scane for Curlin csgA Deep Mutation Revised Deep Mutation Revised

In this image the no mutation parts of the map are white, “more typical” mutations are blue, “unusual/bad” mutations are red as determined by the model score.

Some observations:

  1. Some amino acids are relatively interfchangable, for example in most places where the is a L (leucine) and I (isoleucine) is almost as good.
  2. There are periodic Qs (glutamine) spaced roughly equally far apart (48, 71, 93, 104, 116, 138) which have no other reasonable option which indicates they are crucial to the structure and function of the protein. The amide group in the gluatamine may be important for the links between the beta sheets.
  3. Likewide there are perodic Gs (glycines) spaced between the Qs which also don’t have good replacements. These may be important for the turns between the beta sheets in the protein.

Latent Space Analysis

I edited the script in the notebook to include my protein and then did the latent space analysis to get the below graphs

  • Top Level Latent Space Latent Space Latent Space

It was extrememly hard to see or find my protein, even when I knew the coordinates, because of the number of proteins and the “jump to nearest” hover feature of plotly. Given this I asked Gemini for some code on how to zoom plotly and looked at smaller neighborhoods

  • Close in Latent Space Zoom Latent Space Zoom Latent Space Zoom

When I zoomed in to a unit cube centered on my protein (circled in red) at (1.9201405, -3.6876564, 2.1404576) there was only one other protein in that window, which was a collagen adhesin. So it is interesting how isolated and unique curlin was. This may reflect the library we are comparing against and the fact that it hard to do xray crystallography on these kind of proteins?

  • Close in Latent Space Wider Zoom Latent Space Wider Zoom Latent Space Wider Zoom

Given there was so few other proteins in the unit cube, I zoomed out to cube of size 2. This cube had more proteins (including theh covid spike protein?) but there didn’t seem to be any clustering that pointed to curlin even on this wider scale.

Latent Space Analysis Use the provided sequence dataset to embed proteins in reduced dimensionality. Analyze the different formed neighborhoods: do they approximate similar proteins? Place your protein in the resulting map and explain its position and similarity to its neighbors.

C2: Protein Folding

Fold your protein

  • Refold Refold of Curlin Sequence Refold of Curlin Sequence

Refolding my protein with the original sequence gives something very close to the PDB alphafold (this sequence doesn’t have a good crystallygraphy PDB becuase it doesn’t crystaliize unfiormly).

  • Original PDB alphafold AlphholdDB of Curlin Sequnece AlphholdDB of Curlin Sequnece

It is probably not too suprising these are very close since the alpha fold picture is also an inferred fold based on similar training data.

Mutate and Fold

Since there is no golden crystallography source here I wanted to see if the “bad” mutations identified in the first part have a dramatic inferred impact on structure. I mutated my squence by changing all of the “crucial” glutamines (Q) to W which was the “worst mutation” possible. This did have an impact on the structure (distorting the beta sheets when viewed from the side) but it wasn’t as dramatic as I was expecting. Maybe this is because the different amyloid protetins needs to stick together closely and these distortions mean that don’t fit together as well?

  • Mutated Curlin Refold Curlin Refold After Mutation Curlin Refold After Mutation
  • Original Curlin From Side Curline Original From Side Curline Original From Side

with ESMFold. Do the predicted coordinates match your original structure? Try changing the sequence, first try some mutations, then large segments. Is your protein structure resilient to mutations?

C3: Protein Generation

The code uses PDB but I don’t have entire sequence in PDB so I used large EM fragment (PDB 8ENQ) (which

PNSELNIYQYGGGNSALALQTDCRNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQCGFGNNATAHQY

New Sequence was

GATTATVTQTGTNNTATVTVSNAANSTVTVTQTGTNNTATVTHSSDNSTVTVTQTGTNNTATVTVSGSTNSTVTVTQTGTNNTATVTHTASNATVTVTQTGTNNTATATST

>8ENQ, score=1.8354, fixed_chains=[], designed_chains=['A'], model_name=v_48_020
PNSELNIYQYGGGNSALALQTDCRNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQCGFGNNATAHQY
>T=0.1, sample=0, score=0.7419, seq_recovery=0.3694
GASTMTVTQTGSGNTVTMTMTNAANSTLTVNQTGTNNTVNVTHSSDNSTVNVTQTGTNNKVNVTVSGSSNSTVTVTQTGTDNTVNVTHTADNATVTVTQTGTGKTATATST

The refhold of the new protein basically looks the same as before.

Part D: Group Brainstorm on Bacteriaphage Engineering

We met to brainstorm on Feb 28 and are documenting results in this google doc

Part E: William and Mary Node Questions

  1. Be prepared to answer/discuss all 11 questions posed by Dr. Zhang. We will choose the most interesting ones to discuss in class.
  2. Be prepared to discuss the phage literature reading.
  3. A discussion of the phage literature will lead into our main discussion point: please be prepared to address and discuss the “big picture” question: how to apply these protein analysis tools to engineer a better bacteriophage. Please develop specific ideas for discussion.
  4. Time permitting - we will review final projects.

MKLLKVAAIAAIVFSGSALAGVVPQYGGGGNHGGGGNNSGPNSELNIYQYGGGNSALALQTDARNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQVGFGNNATAHQY

M GVVPQYGGGGNHGGGGNNSGPNSELNIYQYGGGNSALALQTDCRNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQCGFGNNATAHQY HHHHHH GVVPQYGGGGNHGGGGNNSG

PNSELNIYQYGGGNSALALQTDARNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQVGFGNNATAHQY PNSELNIYQYGGGNSALALQTDCRNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQCGFGNNATAHQY

PNSELNIYQYGGGNSALALQTDCRNSDLTITQHGGGNGADVGQGSDDSSIDLTQRGFGNSATLDQWNGKNSEMTVKQFGGGNGAAVDQTASNSSVNVTQCGFGNNATAHQY GATTATVTQTGTNNTATVTVSNAANSTVTVTQTGTNNTATVTHSSDNSTVTVTQTGTNNTATVTVSGSTNSTVTVTQTGTNNTATVTHTASNATVTVTQTGTNNTATATST

Week 5 — Protein Design Part II

Part A: SOD1 Binder Peptide Design

Goal: Design short peptides that bind mutant SOD1 and then decide which ones are worth advancing toward therapy

Part 1: Generate Binders with PepMLM

The SOD1 Protein0 has base sequence:

MATKAVCVLKGDGPVQGIINFEQKESNGPVKVWGSIKGLTEGLHGFHVHEFGDNTAGCTSAGPHFNPLSRKHGGPKDEERHVGDLGNVTADKDGVADVSIEDSVISLSGDHCIIGRTLVVHEKADDLGKGGNEESTKTGNAGSRLACGVIGIAQ

To obtain the functional and mutated protein we need to do the removal of the start codon Methionone and mutate the fourth A to a V.

ATKVVCVLKGDGPVQGIINFEQKESNGPVKVWGSIKGLTEGLHGFHVHEFGDNTAGCTSAGPHFNPLSRKHGGPKDEERHVGDLGNVTADKDGVADVSIEDSVISLSGDHCIIGRTLVVHEKADDLGKGGNEESTKTGNAGSRLACGVIGIAQ

Using PepMLM in my edited copy of the notebook I got the following pepties of length 12:

[         Binder  Pseudo Perplexity
 0  WHYPAVXIEHKX          13.025725,
          Binder  Pseudo Perplexity
 0  WSYPATXIRHGK          17.076882,
          Binder  Pseudo Perplexity
 0  WSSYAVAAELKX           9.094557,
          Binder  Pseudo Perplexity
 0  WRYPVVXARWGX          10.105283]

I also computed the perplexity of the known SOD1 binding peptide ‘FLYRWLPSRRGG’

compute_pseudo_perplexity(model, tokenizer, protein_seq, 'FLYRWLPSRRGG')

np.float64(22.52521074663301)

It appears that the model like its peptides betters than the known binder.

Actually when I wne tot the next step I finally noticed every single one of the generated peptides had an X/unknown which alphafold barfs on. I fixed this by adjusting the top_k value to be top 9 to allow more choices besides X and got:

         Binder  Pseudo Perplexity
 0  WDNVGYAIYSGK          17.318647
 1  HDWVGQGIDQGE          26.359836
 2  ESYYDQAVDQLE          35.716432
 3  VSYPGQVVGHLP          34.004369]

These are more suprising than the other ones (which isn’t too surprising given the wider latidute of to pick less likely amino acids), but still decent and similar to the known binding protein.

Part 2: Evaluate Binders with AlphaFold3

Running alphfold agains these binders give:

  • Known Peptide - FLYRWLPSRRGG Results Peptide Known Binder Peptide Known Binder

Alphafold is confident in the shape of protein. It is intersting while that while alphafold does identify it as binding to the N-terminus it doesn’t feel very confident about that binding 0.25

  • Peptide Binder 0 - WDNVGYAIYSGK Results Peptide Binder 0 Peptide Binder 0

Alphafold is confident in the shape of protein. The binding certainity (ipTM) is only 0.62 also it is binding to the beta barallel not the N terminus.

  • Peptide Binder 1 - HDWVGQGIDQGE Results Peptide Binder 1 Peptide Binder 1

Alphafold is confident in the shape of protein but the binding certainity (ipTM) is only 0.5 also it is binding to the alpha helix not the N terminus.

  • Peptide Binder 2 - ESYYDQAVDQLE Results Peptide Binder 2 Peptide Binder 2

Alphafold is confident in the shape of protein. The binding certainity (ipTM) is low 0.42 and it is predicted to bind to the N-terminus.

  • Peptide Binder 3 - VSYPGQVVGHLP Results Peptide Binder 3 Peptide Binder 3

Alphafold is confident in the shape of protein. The binding certainity (ipTM) is only 0.4 also it is binding to the beta barallel not the N terminus.

Overall given that Peptide Binder 2 seems to be more confident in the binding to the N-Terminus than it is for the known peptide. Also looking at the grids for the various results it doesn’t seem like alphafold is really the confident for where the peptides are binding even for the known peptide?

Part 3: Evaluate Peptide Properties

Using Peptiverse I got the following for the basic properties

InputPropertyPredictionValueUnit
FLYRWLPSRRGG💦 Hydrophobicity (GRAVY)Non-hemolytic1507.7Probability
FLYRWLPSRRGG🔗 Binding AffinityWeak binding5.962pKd/pKi
FLYRWLPSRRGG📏 Length12aa
FLYRWLPSRRGG⚖️ Molecular Weight1507.7Da
FLYRWLPSRRGG⚡ Net Charge (pH 7)2.76
FLYRWLPSRRGG🎯 Isoelectric Point11.71pH
FLYRWLPSRRGG💦 Hydrophobicity (GRAVY)-0.71GRAVY
WDNVGYAIYSGK🩸 HemolysisNon-hemolytic0.050Probability}
WDNVGYAIYSGK🔗 Binding AffinityWeak binding5.994pKd/pKi
WDNVGYAIYSGK📏 Length12aa
WDNVGYAIYSGK⚖️ Molecular Weight1372.5Da
WDNVGYAIYSGK⚡ Net Charge (pH 7)-0.24
WDNVGYAIYSGK🎯 Isoelectric Point5.83pH
WDNVGYAIYSGK💦 Hydrophobicity (GRAVY)-0.46GRAVY
HDWVGQGIDQGE🩸 HemolysisNon-hemolytic0.043Probability
HDWVGQGIDQGE📏 Length12aa
HDWVGQGIDQGE⚡ Net Charge (pH 7)-3.14
HDWVGQGIDQGE🎯 Isoelectric Point4.31pH
HDWVGQGIDQGE💦 Hydrophobicity (GRAVY)-1.18GRAVY
HDWVGQGIDQGE🩸 HemolysisNon-hemolytic0.043Probability
HDWVGQGIDQGE📏 Length12aa
HDWVGQGIDQGE⚖️ Molecular Weight1340.4Da
HDWVGQGIDQGE⚡ Net Charge (pH 7)-3.14
HDWVGQGIDQGE🎯 Isoelectric Point4.31pH
HDWVGQGIDQGE💦 Hydrophobicity (GRAVY)-1.18GRAVY
VSYPGQVVGHLP🩸 HemolysisNon-hemolytic0.024Probability
VSYPGQVVGHLP📏 Length12aa
VSYPGQVVGHLP⚖️ Molecular Weight1252.4Da
VSYPGQVVGHLP⚡ Net Charge (pH 7)-0.18
VSYPGQVVGHLP🎯 Isoelectric Point6.71pH
VSYPGQVVGHLP💦 Hydrophobicity (GRAVY)0.30GRAVY
ESYYDQAVDQLE🩸 HemolysisNon-hemolytic0.052Probability
ESYYDQAVDQLE🔗 Binding AffinityWeak binding6.105pKd/pKi
ESYYDQAVDQLE📏 Length12aa
ESYYDQAVDQLE⚖️ Molecular Weight1459.5Da
ESYYDQAVDQLE⚡ Net Charge (pH 7)-4.15
ESYYDQAVDQLE🎯 Isoelectric Point4.05pH
ESYYDQAVDQLE💦 Hydrophobicity (GRAVY)-1.22GRAVY

Checking the binding affinity separatrely it doesn’t seem like any of them bond strongly including the known binding peptide.

InputPropertyPredictionValueUnit
FLYRWLPSRRGG🔗 Binding AffinityWeak binding5.962pKd/pKi
WDNVGYAIYSGK🔗 Binding AffinityWeak binding5.994pKd/pKi
HDWVGQGIDQGE🔗 Binding AffinityWeak binding5.216pKd/pKi
ESYYDQAVDQLE🔗 Binding AffinityWeak binding6.105pKd/pKi
VSYPGQVVGHLP🔗 Binding AffinityWeak binding5.524pKd/pKi

None of my peptides (and even the known binder?) seem like great candidates. Not sure if I am doing something wrong? Given this I guess I would go with ESYYDQAVDQLE for further work since it seems to be the closest binding candidate.

Part 4: Generate Optmized Peptides

I made a copy of the notebook and tried to do the optimization computations there. Unfortunately I ran into two problems I wasn’t able to resolve:

  • I wasn’t able to get the recommended GPU and could only get a T4
  • I repeatedly got (what appears to be an off by one error) pretty deep in the moPPit code. I tried running with a bunhc of different parameters. I did determine that the probably seems to be with something indexed by the sample parameters since the error message changes when I change the sample count. The error I am getting is below:
Target Motifs: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
tensor([ 1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12], device='cuda:0')
Some weights of EsmModel were not initialized from the model checkpoint at facebook/esm2_t33_650M_UR50D and are newly initialized: ['esm.pooler.dense.bias', 'esm.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Some weights of EsmModel were not initialized from the model checkpoint at facebook/esm2_t33_650M_UR50D and are newly initialized: ['esm.pooler.dense.bias', 'esm.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

NFE: 0:   0%|          | 0/0.9990000128746033 [00:00<?, ?it/s]Weight Vector: tensor([1., 1.], device='cuda:0')

NFE: 0:   0%|          | 0/0.9990000128746033 [00:07<?, ?it/s]
Traceback (most recent call last):
  File "/content/moPPIt/moppit.py", line 81, in <module>
    x_1 = solver.multi_guidance_sample(args=args, x_init=x_init, 
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/utils/_contextlib.py", line 124, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/content/moPPIt/flow_matching/solver/discrete_solver.py", line 365, in multi_guidance_sample
    guided_u_t, pos_indices, cand_tokens, improvement_values, delta_S = guided_transition_scoring(x_t, u_t, w, score_models, t, w, args)
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/content/moPPIt/flow_matching/utils/multi_guidance.py", line 69, in guided_transition_scoring
    improvement *= importance[count]
                   ~~~~~~~~~~^^^^^^^
IndexError: index 2 is out of bounds for dimension 0 with size 2
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
/tmp/ipykernel_1400/1413049073.py in <cell line: 0>()
     38 ret = proc.wait()
     39 if ret != 0:
---> 40    raise RuntimeError(f"moo.py failed with code {ret}")

RuntimeError: moo.py failed with code 1

Part B: BRD4 Drug Discovery Platform Tutorial

Part 1 Structural Predictions

Results

CompoundBinding ConfidenceOptimization ScoreStructure Confidence
Hit0.760.260.90
Lead0.440.230.88
JQ10.96.0440.98

Discussion

  • Does Binding Confidence increase as you move from hit to clinical candidate? What would you expect, and why might it deviate?

I am not sure I understand the terminology but I am assuming that the order is Lead -> Hit -> Clinical Candidate (JQ1). As we go through this sequence I would expect binding condidence to increase in most scores. I can see situations where there could be experimental evidence that overrides the modeling results and perhaps give an inversion of scores?

  • Inspect the predicted binding pose for JQ1. Can you identify potential key binding interactions.

It looks like JQ1 is binding in the top/interior of the a barrel made for the 4 helix barrel that is the primary teririary structure in the protein.

• Compare the Optimization Scores. How do the scores compare for JQ1 vs the Lead.

The optimization score for JQ1 is higher.

Part 3 Generative Virtual Screen

Ran virtual screen with recommended parameters

Part 4 Analysis

I got no results that had both an optimization score > 0.4 and binding score > 0.8 which I think means I got no “High Confidence” candidates. If I relax that to an high binding OR high optimization I get

  • 2 compounds that binding scors of 0.8, with optimization scores of 0.27 and 0.34. Of these two SM-5S4NDA3E has the highest optimizatoin score and is my best candidate.
  • 12 candidates with an optimization score of greater than 0.4. The three best candidates are (the rest of binding condience of less than 0.7)
    • SM-279VMWMP has binding confindence of 0.78 and optimization score of 0.4
    • SM-QAZ4MM4W has binding condidence of 0.77 and optimization score 0.45
    • SM-2F86NWEQ has binding condence of 0.72 and optimization score 0.42
  • JQ1 appears to be a much better candidate it has Binding Confidence of 0.99 and Optimization Score 0.55.
  • The binding againstBRD2 for my top 4 candidates was still quite strong, between 0.8 and 0.77 so these binders are not very selective.

Part C: Final Group Project: L Protein Mutants

I did a variation of option 3 which was to generate random mutations using the information in this spreadsheet on mutants. However inspired by Professor’s Sahas mention of the constraints because the virus is encoding other proteins in different frameshifts, I did a search for the point mutations that preserve the structures of the proteins and put the results in this spreadsheet. The entire journey and the code that generates the final results is captured in this python code which is the downloaded python code from the Marimo notebook I used. Given we are trying to engineer this protein for phage therapy using modified MS2 (I think) it seems like you need to take this into account and either select mutations from this list or do your mutational analysis on both the lysis protein and frameshifted protein at the same time, which it doesn’t seem like is being done? In particular, most of the mutations in the spreadsheet are not in the list of mutations that preserve the frameshifted proteins.

Week 6 — Genetic Circuits Part I: Assembly Technologies

DNA Assembly

  • What are some components in the Phusion High-Fidelity PCR Master Mix and what is their purpose?
    • Endonucleases to eat away at the ends of all the DNA strands to expose single stranded ends
    • DNA Ligase to take matching ends and stitch them together
  • What are some factors that determine primer annealing temperature during PCR?
    • One factor is the proportion of G and C vs A and T because G and C have 3 hydrogren points they require more energy/higher temperature to break than the 2 hydrogen bonds linking A and T
    • 3 dimensional structure like hairpins can also have an impact on the temper
  • There are two methods from this class that create linear fragments of DNA: PCR, and restriction enzyme digests. Compare and contrast these two methods, both in terms of protocol as well as when one may be preferable to use over the other.
    • Restriction enzymes cut the DNA into a linear piece and most of them leave sticky ends which can be joined together by DNA ligase directly after they are cut which is simple because you can cut and join at the same time. The downside is that enzymes have specific recognition sites that you must use and engineer around. These sites are not that long and are often palindromic, which increases the chance of cuts where you don’t want them. On the other hand, the very fact that they recognition sites are limited makes standard like BioBrick and MoClo possible.
    • PCR uses custom primers and to walk the DNA in two different directions during the amplification cycles.
      • The primers are longer than most recognition sites and can be almost anything. This gives you a lot of flexiblity to custom match your DNA without having to look at specific sites.
  • How can you ensure that the DNA sequences that you have digested and PCR-ed will be appropriate for Gibson cloning?
    • You need to make sure that your primer sequences are unique
    • You need to make sure your primer sequences line up so that the pieces get glued together in the order you want.
  • How does the plasmid DNA enter the E. coli cells during transformation?
  • Describe another assembly method in detail (such as Golden Gate Assembly)
    • Is a restriction enzyme method
    • Uses Type IIS enzymes which cuts to one side of the recognition site, in parituclar it doesn’t destroy the recognition site when it cuts.
    • Because the recognition site stays intact you can make sure that the piece you want to glue to doesn’t have the recognition site. This means that if your DNA glues back to the piece it was just cut from in stead of the piece you want it to glue to it will again be a target for the Type IIS enzyme that is being used.

Asimov Kernel Modeling

I simulated a represillator in Aismov and got following results:

  • results results

Week 7 — Genetic Circuits Part II: Neuromorphic Circuits

Assignment Part 1: Intracelluar Artificial Neural Networks (IANNs)

IANNs Advantages

What advantages do IANNs have over traditional genetic circuits, whose input/output behaviors are Boolean functions?

  • More closely mirror most natural genetic circuits where responses are naturally anolog.
  • In cases where you have analog input and output, which is many biological situations, the number of components required to transform to digital, do a digital computation, and then encode back in an analog output is often very large. This is not a big deal for digital circuits because we have figured out how to make each component so small and cheap that the flexiblity and debugability of boolean circuits is a huge win. For a biological circuit where even a 1000 components spread across many different cells is ambitious it is not clear this trade off is worth it in all cases.
  • Biological circuits are noisy and different proteins have different max and min expressoin levels, this makes it much harder to digitize the underlying analog signals than in a digital circuit where the highs and lows are same across the circuit and we can safely digitize by saying the signal is “near” high or “near” low without too much of a chance of cross over (though we still need to worry about transient states, which is why we often have a clock).

Application

Describe a useful application for an IANN; include a detailed description of input/output behavior, as well as any limitations an IANN might face to achieve your goal.

Not sure I have enough knowledge to come up with a really great application. Based on the lecture and what I know of simple neural nets I think they would be useful for siutations where you want to do multi-dimensional edge-detection. That is you have several different analog inputs, like oxygen level, light level etc and you want to have a variable response based on some complicated combination of them. For example, maybe an engineered bacteria that is added to canned/jarred food that fluoreces/turns color when conditions are favorable for botulism spores to reproduce.

Below is a diagram depicting an intracellular single-layer perceptron where the X1 input is DNA encoding for the Csy4 endoribonuclease and the X2 input is DNA encoding for a fluorescent protein output whose mRNA is regulated by Csy4. Tx: transcription; Tl: translation.

Fungal Materials

What are some examples of existing fungal materials and what are they used for? What are their advantages and disadvantages over traditional counterparts?

  • Looking at the mycelium materials wikipedia page for background. It looks like there applications for mycellium leather replacements and also building materials.
  • A cool project with mycelium I remembered from past reading is using mycleium to grow materials/buildings on the moon or Mars that NASA is studying

What might you want to genetically engineer fungi to do and why? What are the advantages of doing synthetic biology in fungi as opposed to bacteria?

  • Fungi have a very broad range of chemistries they have figured out that other domains can’t, i.e. decomposing lignin from trees.
  • Fungi naturally emit substantces as part of their external digestion which can make extraction easier and more scalable.
  • Fungi are eukaryotes so they can do complex post-translational modfifications that bacteria can’t, which could be needed in some applications, e.g. drugs for people.

Week 9 — Cell-Free Systems

Week 10 — Advanced Imaging & Measurement Technology

Final Project Measurements

Measure Expression of Chromophore (tsPurple)

Need to characterize how much tsPurpse protein from the “paint” straing of my consortia expresses at varous times and under various inducer levels in order to create a controlled system where the “paint” strain can be used to color the stromatlight biofilm layers.

Since the expression will be in biofilm to measure this I will use reflected light and a standard digital raspberry pi camera. I will measure reflectance in the absorbing wavelength (590nm) and compare it to reflectance in a wavelength like (660/950nm) that is not absorbed by the tsPurple. Comparing these two should give a differntial comparison of light expression.

Measure Calcium Absorbance

In the mineralizing “glue” component of my consortia, the glue protein it generates should be able to bind Calcium ions to the negatively charged aspartic acid tail. I need to measure how much calcium the protein can bind by

  1. Grow multiple cultures that produce csgA and csgA + calcium binding tail.
  2. Mix known about of calcium into a solution and add to csgA and csgA + calcium tail cultures
  3. After some time centrigue the sampled down and extract supernatant and then pass it through a 22nm syringe filter
  4. Combine supernatant with Sodium Carbonate or some other reagent that causes the calcium to precipatate
  5. Centrifuge/filter out calcium carbonate and dry it.
  6. Weigh calcium carbonate to compute remaining amount of calcium and infer how much calcium was aborbed by protein.

DNA Edit verification

Send plasmids to a Sanger sequencing service to verify that they the expected sequence after all of the igem constructions.

Molecular Weight - Part 1

Use calculator

Using the specified sequence and online calculator link I get a results

Theoretical pI/Mw: 5.90 / 28006.60

I am assuing we want to include the histine tail in the weight. If I remove the tail I get:

Theoretical pI/Mw: 5.58 / 26941.48

Use Mass Spec

We attach random numbers of protons to the molecule and measure m/z ratios in the mass spectrometer. Because we know mass of proton, even though we don’t initially know the charge of each peak, we can solve for the charge of peak by looking at how the mass/charge ratio changes between peaks.

  • Using peaks 875.4421 and 903.7418 implies the 875.4421 peak we get 31.9 which rounds to charge of 32/32 protons for peak 875.4421
  • Using peaks 903.7148 and 933.7439 imples that the 930.7148 peak we get 21.06 which rounds to charge of 31/31 protons for peak 903.7148

This makes it looks method is consistent

Now that we have the charges for peaks we can go back and infer the mass to get

  • 875.4421 * 32 - 32 = 27982 daltons
  • 903.7418 * 31 - 31 = 27985 daltons

This gives an error of .085 percent which is pretty small.

While you could do the calcultions we just did for the zoomed in calculation I don’t think it would be very accurate because we need to divide by the difference between measurements and the difference between measurements here is quite small.

Molecular Weight - Part 2

Denatured proteins unfold back into their original linear state. Looking at the two diagrams I am guessing that the denatured protein tends to pick up proteins moe uniformly, while the native protein tends to have structured stable states where it picks up a lot of proteins? Not really sure though. Let me ask Gemini now: “How can you tell whether or not a protein is denatured with mass spec?”.

Yes Gemini verifies above and ties it to the exposed Lysines and Argines when you unfold.

Again I don’t think you can discern the charge state on the zoom in given how small the differenes are. Too make matters worse it is possible that the gap between charged states isn’t even +1 proton?

Molecular Weight - Part 3

Mark the R and K

MVSKGEELFTG VVPILVELDG DVNGHKSVS GEGEGDATYG KLTLKFICTT GKLPVPWPTL VTTLTYGVQC FSRYPDHMKQ HDFFKSAMPE GYVQERTIFF KDDGNYKTRA EVKFEGDTLV NRIELKGIDF KEDGNILGHK LEYNYNSHNV YIMADKQKNG IKVNFKIRHN IEDGSVQLAD HYQQNTPIGD GPVLLPDNHY LSTQSALSKD PNEK====RDHMVL LEFVTAAGIT LGMDELYKLE HHHHHH

Run peptide digest

Peptide Digest Peptide Digest

Peaks

I see 26 peaks in that range. It matches my digest size of 27 if I widern the range to include stuff below .5 also.

I thought you coulnd’t use the isotopic peaks to determine charge state, because you don’t know the isotopes and want the mass jumps would be. This is correct, but for biological molecues you can assume that you will usually have 1 dalton differences for C, N, O. If you have sulfur you could have two dalton jumps too, so you probably want to do multiples and looks for multiples before you average over set.

In this case you have two mass/charge ratios where you know the charge is the same and that the mass difference must be 1, so you can solve for charge state

  • assume peak 525.7612 has some charge Z and mass M
  • then peak 526.25918 has same charge Z but mass M+1
  • So charge Z is 1/(526.25918-525.7612) = 2.008 so the charge is +2 protons
  • This implies the mass M of this is 1051.52
  • Which implies the mass of [M+H+] is 1052.52 as is M/Z since Z is 1 in this case.

Given this I the closest peptide mass is 1050.5214 for peptide FEGDTLVNR. So the error is .19 percent.

Reading the last figure it looks like 88 percent of the peptide is covered.

Molecular Weight - Part 4

This section is using charge detetion mass spec, which measures charge and m/z for a single ion, so it can directly compute the mass instead of infer it from charge states and assumptions about distributions. This is important for very large molecues (like viruses) where the incremental change between charge peaks is so small because the mass is so high relative to the charge that you can’t resolve the difference between the peaks.

This means answering this question about matching peaks to oligmers is just a matter of computuing masses.

Masses of units are

  • 7FU 340 kDa

  • 8FU 400 kDa

  • 7FU Decamer, 10 units of 7FU so 3.5 MDa, which is closest to the 3.4 MDa peak

  • 8FU Didecamer, 10 units of 8FU so 4 MDa, which is closest to the 4.013 MDa peak and about twice as frequent as 7FU Decamer

  • 8FU 3-Decamer, 30 units of 8FU so 12 MDa, which is closest to the 12.67 MDa peak

  • 8FU 4-Decamer, 50 units of 8FU so 16MDa, which is a small bump that isn’t labeled, which implies the 4-decamer is not very frequent in this particular sample

Molecular Weight - Part 5

I wasn’t in the lab so just repeating above.

TheoreticalObserved/measured on the Intact LC-MSPPM Mass Error
Molecular weight (kDa)28006.6027982850

Theoretical was

Gemini Questions

  • Are there standard ways to generate light with different wavelengths I need (using tsPurple), i.e. filters or different lens or light through prism/grating?
  • What is adjacent charge state approach?
  • Can you use isotopic measurements to calculate the charge state? I would think for an unknown material you wouldn’t know the charge/mass gaps between the different isotopes, so you couldn’t solve for the charge state.
  • What is charge detection mass spec?

Week 11 — Bioproduction & Cloud Labs

Part A Collective Artwork

  1. Unfortunately I missed the deadline to contribute to the artwork becuase I missed the notification email and the deadline had passed before recitation when I realized what had happened.
  2. This is a cool project and I wish I had been able to participate. I did listen to go to the webiste and listen to others discuss in reciation. Based on what I heard it seems like one potential improvement is that everyone was only “given” one pixel, but it is not clear to me how a coherent picture would arise if each student actually only had one pixel. It sounded like what happened is that some people just took over parts of the canvas so they could draw coherenet pictures. The pictures were nice, but it seems like this could be confusing? Maybe the canvas should be totally locked so that each person can only edit their pixel/area so the picture is totally self organizing, or have some kind of scheme to partition out larger spaces to groups/volunteers who then draw the main sketch but leave certain pixels that people can color as they wish (or choose amonhst a smaller set of colors), i.e. like choosing between two colors for the skin of animal to see if stripes or spots or chaos appear spontaneously.

Part B Cell-Free Protein Synthesis

Referencing the cell-free protein synthesis reaction composition (the middle box outlined in yellow on the image above, also listed below), provide a 1-2 sentence description of what each component’s role is in the cell-free reaction.

  • E. coli Lysate

    • Includes the ribsomes and enzymes needed to transcribe DNA and manfufacture proteins.
    • BL21 (DE3) Star Lysate (includes T7 RNA Polymerase): I
  • Salts/Buffer

    • Keep pH in accetpable range for biological reactions and provides magnesium, potassium, and phosphorus
  • Potassium Glutamate

  • HEPES-KOH pH 7.5

  • Magnesium Glutamate

  • Potassium phosphate monobasic

  • Potassium phosphate dibasic

  • Energy / Nucleotide System

    • Provides raw components to assemble into DNA and provide energy for ATP production.
    • Ribose
    • Glucose
    • AMP
    • CMP
    • GMP
    • UMP
    • Guanine
  • Translation Mix (Amino Acids)

    • Provide amino acidds that can be attached to tRNA and assembled into target proteisn
    • 17 Amino Acid Mix
    • Tyrosine
    • Cysteine
  • Additives

    • Nicotinamide
  • Backfill

    • Hydrates the system in a way that won’t degrade the DNA that is exposed to water
    • Nuclease Free Water

Subsections of Labs

Week 1 Lab: Pipetting

cover image cover image

Projects

Final projects:

  • StromataLight Screen Abstract A stromatalite is a tower structure created by microbial biofilm communities as they grow up and are mineralized underneath. In the ancient past this was the dominant visible form of life on shore lines. My idea is to engineer a combination of a tubular bioreactor and bacterial community that will grow a synthetic stromatalite with a programable pattern of colored fluorescent stripes. By placing multiple reactor tubes with different programming next to each other you will have a simple display that can display images and text.

Subsections of Projects

Individual Final Project

StromataLight Screen

cover image cover image

Abstract

A stromatalite is a tower structure created by microbial biofilm communities as they grow up and are mineralized underneath. In the ancient past this was the dominant visible form of life on shore lines. My idea is to engineer a combination of a tubular bioreactor and bacterial community that will grow a synthetic stromatalite with a programable pattern of colored fluorescent stripes. By placing multiple reactor tubes with different programming next to each other you will have a simple display that can display images and text.

To implement this the idea is to engineer two varieties of bacteria, the paint bacteria and the glue bacteria so that

  • The two varieties need to sense each other to trigger biofilm formation
  • The glue bacteria emits biofilm protein (curlin) with calcium bonding areas engineered as rapidly as possible once it detects a drop in oxygen and the presence of the paint.
  • The paint bacteria has a timing circuit so that it turns on and off the generation of fluoresent proteins as different layers/generations are formed and it grows up layer by layer.
  • The paint bacteria need to have some way to program or control the timeing of their fluoresence without doing new genetic edits. (I am not sure how I would implement this yet. Maybe just delegating the timing to the bioreactor, so that it feeds in a consumable/decaying trigger for the paint bacteria to produce fluorescent protein at the correct point?)

The bioreactor will be a transparent glass tube with drop feeding and air supply hoses attached.

  • Delivers nutrient and calcium by a slow drip from the top.
  • There is no stirring or emptying of the drip so the tube gradually fills with liquid.

The gradual filling of the bioreactor will create pressure on the bacterial community to grow towards the top of the tube and the calcium mineralization and the surrounding tube should give the biofilm enough rigidity to support the futher growth up. This similar to the selection pressure that celluose producing bacteria like K. Xylinus experience and resolve by rapdily creating thick mats of celluose.

Placing a series of these tube bioreactors next to each with these communities will create a simple programmable “screen” that grows up from the bottom of the tubes and forms a message or picture when it reaches the time. The goal would be to able to grow a 10cm tall display in 3-5 days and have the images persist once full growth is reached.

This is a development proof of concept to explore growing programmable macroscopic layered objects with consortia that form a simplified and optimized version of that consortia that form natural biofilms. Once developed the basic idea could be extended to provide base for biological environmental sensors that keep a persistent record of their detections via the colors or properties of different layers like tree rings.

Project Aims

Aim 1 - Experimental Aim

The first aim of my final project is to bioengineer two different e. coli to operate in a consortia. One will be the curlin, csgA factory and will produce large amounts of csgA. The other will be a csgB factory and a color sensor.

I will use golden gate assembly and igem DNA plasmids . I will also modify the csgA protein to bind to calcium ions using alphafold and boltz to explore proteins modifications to csgA to bind to calcium for minerialization.

List igem entries + 1 modified igem entry for csgA.

What I expect to see and verify

  • Paint bacteria
    • Color changing of binder e. coli under arbodsis
    • Measure response to dose or arbasose
  • Glue bacteria
    • Do a detergent SDS assay without calcium to verify cration of curlin fibers
    • Verify doing an assay of of calcium binding csgA in glue e. coli by combining with calcium filtering out protein and comparing sodium carbonate preciptation to calcium and base e coli only controls.
  • Consortia
    • Verify that consortia mixed together forms visual accumulations amyloid fibers (visual or congo red)
    • Do calcium absorbtion test again on consortia
    • Repeat color changing test

if all of this works then we know the basic bio engineering worked and we have a viable consortia.

Aim 2 - Developmental Aim

Once the basic biological components work they need to be optimized and calibrated. Develop optimized growth techniques and bioreactors that can grow 10cm tall samples of biomineralized biofilm in 1 week.

Aim 3 - Build Stromatalight Screen

  • Build multiple bioreactor tubes
  • Perform ALE selecting for height and speed (aiming for 10cm in a few days)
  • Make a StromataLight screen PoC
  • Run and record “Hello World” demo on the screen
  • Document and release for others to use

Background

Experimental Design

Other Material

Group Final Project

cover image cover image