{"id":418,"date":"2021-06-04T20:57:15","date_gmt":"2021-06-04T20:57:15","guid":{"rendered":"http:\/\/andresen.sites.gettysburg.edu\/blog\/?p=418"},"modified":"2021-06-04T20:57:15","modified_gmt":"2021-06-04T20:57:15","slug":"itc-i-try-coding","status":"publish","type":"post","link":"https:\/\/andresen.sites.gettysburg.edu\/blog\/uncategorized\/itc-i-try-coding\/","title":{"rendered":"ITC (I Try Coding)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi everyone! My name is Danielle and I&#8217;m working with Dr. Andresen on modeling DNA binding and condensation. In the past few years, I&#8217;ve been working with the isothermal titration calorimeter, or ITC, which I wrote about <a rel=\"noreferrer noopener\" href=\"http:\/\/andresen.sites.gettysburg.edu\/blog\/uncategorized\/week-1-the-nano-itc\/\" target=\"_blank\">here<\/a> and <a rel=\"noreferrer noopener\" href=\"http:\/\/andresen.sites.gettysburg.edu\/blog\/uncategorized\/week-2-data-time\/\" target=\"_blank\">here<\/a>. For the first few weeks of this summer my goal has been to collect more ITC data and to write a python script to fit the data. Fortunately, these pursuits have been going very well!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pubs.acs.org\/na101\/home\/literatum\/publisher\/achs\/journals\/content\/jpcbfk\/2006\/jpcbfk.2006.110.issue-22\/jp057554e\/production\/images\/medium\/jp057554ef00002.gif\" alt=\"Figure 1\" width=\"471\" height=\"349\" \/><figcaption>Integrated ITC data showing the binding and condensation of DNA. [1]<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">If you read my previous posts, then you&#8217;ll notice a major difference with the above picture. That difference is the presence of a second peak, representing the condensation phase of the binding process. What this means is that the DNA first binds to the ligand, (the injected solution\u2014in this case, cobalt hexamine) then when the concentration of ligand increases to a certain point, the DNA condenses into a smaller, more energetically favorable shape. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While this is certainly very interesting, it provides a significant challenge to model mathematically. Fortunately a model was created for this very situation by Kim et al. [1] The equations, shown below, are very complicated so I won&#8217;t go into how they work too much here.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pubs.acs.org\/na101\/home\/literatum\/publisher\/achs\/journals\/content\/jpcbfk\/2006\/jpcbfk.2006.110.issue-22\/jp057554e\/production\/images\/medium\/jp057554ee00005.gif\" alt=\"\" width=\"399\" height=\"70\" \/><figcaption>Equation describing the heat released during titration. This allows us to fit the parameters <em>N<\/em>, <em>K<\/em>, and <em>\u0394H<\/em>. [1]<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pubs.acs.org\/na101\/home\/literatum\/publisher\/achs\/journals\/content\/jpcbfk\/2006\/jpcbfk.2006.110.issue-22\/jp057554e\/production\/images\/medium\/jp057554ee00006.gif\" alt=\"\" width=\"378\" height=\"42\" \/><figcaption>This function tells us the difference in heat between injections. It is normalized then normalized before being fit. We call the normalized function <em>NDH<\/em>. [1]<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">On top of these long equations, the fitting process itself is very complicated. We actually have to add up multiple NDH functions before we can fit the parameters. The first of these, NDH1, gives us the parameters <em>N<\/em><sub>1<\/sub>,<em> K<\/em><sub>1<\/sub>,and <em>\u0394H<\/em><sub>1<\/sub> and fits the first binding stage. The second function, NDH2, describes the second binding stage and is composed of multiple other functions. This gives us the parameters <em>N<\/em><sub>2<\/sub> = <em>N<\/em><sub>2<\/sub>&#8216; &#8211; <em>N<\/em><sub>3<\/sub>,<em> K<\/em><sub>2<\/sub>,and <em>\u0394H<\/em><sub>2<\/sub>. Finally, we add up NDH1 and NDH2 and fit the parameters with that function. In the end, this means we&#8217;re fitting <em>7 variables <\/em>simultaneously!<\/p>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This has meant a lot of programming in the past few weeks. The first step was to recreate a graph from Kim et al. to make sure that the model function actually worked. It took a while, but I was eventually able to get it to work.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-1.png\" alt=\"\" class=\"wp-image-424\" width=\"420\" height=\"261\" srcset=\"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-1.png 717w, https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-1-300x186.png 300w, https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-1-564x350.png 564w, https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-1-150x93.png 150w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><figcaption>Graph showing the components of a fit. [1]<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-2.png\" alt=\"\" class=\"wp-image-425\" width=\"396\" height=\"262\" srcset=\"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-2.png 395w, https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-2-300x199.png 300w, https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-content\/uploads\/2021\/06\/image-2-150x99.png 150w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><figcaption>My recreation of the same graph. The slight differences are probably because I generated a slightly simpler set of sample data.<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Once I got this part to work, things were relatively straightforward. One week, two data fitting packages, and many, many mistakes later, I was able to get 100 lines of code that can (theoretically) fit any set of double-peaked ITC data. My next steps are going to be doing some version control with Git, adding more features to my fitting function, and cleaning up my code. Hopefully, I&#8217;ll have a fully functional python script on GitHub by the end of the summer, if not sooner!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Sources<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>Kim et al. \u201cDevelopment of a Fitting Model Suitable for the Isothermal Titration Calorimetric Curve of DNA with Cationic Ligands.\u201d\u00a0<em>The Journal of Physical Chemistry.<\/em>\u00a0110, no. 22 (2006): 10919\u201325. https:\/\/doi.org\/10.1021\/jp057554e.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone! My name is Danielle and I&#8217;m working with Dr. Andresen on modeling DNA binding and condensation. In the past few years, I&#8217;ve been working with the isothermal titration calorimeter, or ITC, which I wrote about here and here. For the first few weeks of this summer my goal&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/andresen.sites.gettysburg.edu\/blog\/uncategorized\/itc-i-try-coding\/\">Continue reading<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/comments?post=418"}],"version-history":[{"count":4,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":429,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/posts\/418\/revisions\/429"}],"wp:attachment":[{"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/media?parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/categories?post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andresen.sites.gettysburg.edu\/blog\/wp-json\/wp\/v2\/tags?post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}