Thursday, September 26, 2013

Molecular Dynamics Sonification and Music Hack Day Chicago

I went to Music Hack Day Chicago this weekend (http://chicago.musichackday.org/index.php?page=Main+page). It was the first time I ever went to a Hackathon but was looking forward to spending 30-40 hours coding out something cool. Of course these hacks were supposed to have something to do with music and I decided upon programming a mechanism to sonify data from Molecular Dynamics simulations.

I recently received a grant from the national supercomputing center for computer time on Stampede at UTexas, currently ranked the sixth fastest super computer in the world (http://www.top500.org/lists/2013/06/). I have been running some equilibrium molecular dynamics simulations of proteins to understand conformational change pathways and basically figure out how proteins work the way they do. The amount data from these simulations is huge and complex and it is very multi-dimensional because not only are you looking at how each atom in the protein is moving in 3-dimensions but you are also looking at the physical forces that control this.

Normally one uses a variety of analysis software and also watches the simulations to try and observe obvious changes. As you can imagine simultaneously trying to understand any portion of this data is a crazy task visually so I set out to to use more senses. I wanted to sonify the data and play it back while watching the visual part of the simulation. Harnessing our auditory ability to pick out unique sounds.

So I created a layered musical arrangement that allows someone to listen for more subtle conformational changes while watching video of the simulation. This is different then most any other form of data sonification that I have found because it uses easily recognizable musical instruments whereas most data sonification just uses frequency shifted sine waves.

It surprisingly work really well and is really cool to experience. Code for demoing it is available here (https://drive.google.com/?tab=mo&authuser=0#folders/0B_R75gIJvkFUT0xveDlEaXZzQm8)


The sounds that one can hear in the video:

The piano key in the beginning represents the radius of gyration of the protein as it becomes higher in pitch the radius of gyration is becoming larger, as it becomes lower the radius of gyration is smaller. The radius of gyration is a measure of movement away from a center of mass, so basically if the protein is expanding or shrinking (https://en.wikipedia.org/wiki/Radius_of_gyration)

The beeps represent the RMSD of each residue as compared to frame 1 of the simulation. As the RMSD from the starting structure become higher the pitch becomes higher. Each beep is for each residue and they are performed in order. RMSD is basically how far each residue moved from it's initial position in relation to the protein(i.e. minus translation motion) (https://en.wikipedia.org/wiki/Root-mean-square_deviation_of_atomic_positions)

To determine where a residue is located listen for secondary structure cues.

The percentage secondary structure as calculated by dssp is the background sounds.
This is an explaination of secondary structure (https://en.wikipedia.org/wiki/Protein_secondary_structure)

A violin is played for the first quarter of the protein and represents the amount of structure in the whole protein, a combination of alpha helix, beta sheet and turn. It becomes higher in pitch as the number goes up and lower as it goes down.
The second quarter of the protein's background sound is Monks making an ohhh noise(according to MIDI tables) it is a representative of the percentage alpha helix. It becomes higher in pitch as the number goes up and lower as it goes down.
For the third quarter of the protein the background sound is a guitar it is a representative of the percentage beta sheet. It becomes higher in pitch as the number goes up and lower as it goes down.
The final quarter is a Sci-Fi noise (called so by MIDI tables), it represents percentage coil. It becomes higher in pitch as the number goes up and lower as it goes down.
So for instance if you hear a group of high pitch beeps during the violin you know they are in the first quarter of the protein.

The protein is HIV protease is a dimer(i.e. composed of two of the same protein). This means the sonification of the first half will be one half and the second half will be the other. Being a dimer doesn't mean that the conformational changes are symmetric either so the two halves can sound different.

Listen to the sounds a see if you can identify where in the protein the conformational changes are occurring. 










What one can tell is that the high pitched beeps are in the beginning and end also the middle of each half.The beginning and end of proteins, the termini are often very flexible and so change alot but are often not related to protein function. However, the high beeps in the middle(residues 40-60) are the flaps of the HIV protease that open up to allow substrate binding and cleavage and allow the virus to be active. It is pretty cool that this works!

Saturday, September 7, 2013

Scientific American

So this week has been crazy. Two articles were published online that were widely read and accessed based on the Chromochord. One in Scientific American by Nona Griffin that Karen Ingram did some cool artwork for!


The other was by the awesome Katie Drummond at The Verge . She was super cool and so much fun to do the article with. 

I will be honest. All the the attention was fun. It was cool to interact with new people and I even was able to interact with Zoe Keating (http://zoekeating.tumblr.com/post/60374925385/the-worlds-smallest-violin-scientist-uses-proteins-to) my favorite musician! She wants to do a duet with me! hah. If only I could actually play good music on The Chromochord.

I think my main goal from the press was to try and leverage it in some way to acquire more press and to make connections that I can use now or in the future. Partly to try and fund this Indiegogo Campaign I have been working on with Francisco Castillo Trigueros the composer. I probably emailed every major news organization but no one picked it up . It was fun while it lasted but now I need to continue moving forward. My 5 minutes of press are up.

I do think it was good though. It was inspiring. Inspired me to fix some software bugs in the Chromochord. Inspired me to work on new projects and Inspired me to keep doing what I am doing because it really is a productive path. I am excited to see how far my mind can take me! Just need to keep thinking of new ideas and how to implement and keep working to implement them.

Monday, September 2, 2013

Is Being a Scientist Cool?


Sorry, Roger Tsien, you're my boy but you look like a huge nerd.

You walk into most academic institutions and go and meet the Scientists and they look like huge nerds. Now there is nothing wrong with looking like a huge nerd. People should feel like they can be themselves and people should not be judge by what they wear and how they look. Let's be honest here though if you met these people would they inspire you to be a Scientist?

What do people aspire to? Well obviously positions in which they will make lots of money but besides that people aspire to things that look cool and sound cool despite what the actual work consists of. Why do so many people want to work for all the Facespaces and Googles? Sure, there is pay and benefits and such but I am sure a job at Yahoo or Zipcar pays similarly. It is because of status.

In the late 90s and early 2000s I worked at Motorola as an engineer and programmer for the iDEN cell phone network. I wasn't paid an overly large sum of money about $30k but I wouldn't have left there if some company came and offered me $50k to do web development. I didn't want to do anything but work for Motorola. My cool ID badge and RSA secureID card and access to cell phone systems. For a technology nerd I was living the dream. A job with a really famous technology company giving me access to important data and control over cell phone networks. It was awesome.

So why would people rather work for Facespace with their job description revolve around trying to make people click ads rather than work in academic Science and Technology doing something so much "cooler".

Why isn't being a Scientist cool? I mean, being an Astronaut is barely cool these days. A couple thousand applicants for the last Astronaut application cycle? Survivor receives more applications than that!

Iron Man the movie has started to bring some coolness back into Science and Technology. The other day I was at the Grocery store and I heard a kid say that he wanted to be Iron Man. Hopefully because he wanted to invent cool things and not just because he wanted to beat people up but you take what you can get.

I dare you to show me a picture of a Scientist that would make someone in high school or younger think "Wow, that person is cool I really want to be like him or her". Why do we pay footballers and rap stars so much money? Because everyone wants to be them. They look cool, they act cool and they live what seems like a fun life. Their tweets are entertaining and funny, they are enjoyable people.

Is it just the life of the Scientist to be absorbed so much in their work and their head that they don't really care how they are perceived by other people?

I mean everyone loves people like Neil deGrasse Tyson but does anybody really aspire to be him and wear a suit everyday and act pretentious?

Is it our job as Scientists to make Science cool, Accessible, and seem like it is a fun job?

I don't know.

I am in no way endorsing that I am cool and other Scientists are not at least not outright but why do most of us seem so boring? TV shows and movies portray Scientists as ugly and nerdy and boring. Well except Iron Man. Are they portraying Scientists the wrong way or is that the way we all really look and act?


Tuesday, August 6, 2013

Figure 5.1: Warner Brothers == Lame

So what you are about to read is completely true I swear.

Somehow in writing my thesis I decided to insert a meme

At first it was just a placeholder for a real figure but then as time went on and I became less and less motivated to change it and I left it in. It's funny and it's Boromir. Why can't he be in my thesis? I sent off the thesis to my committee and I guess they didn't mind(or didn't read the last page) so it stayed in. Well when I was going to submit it to the school I had questions about image rights. Are the copyright to memes owned by the company that made the movie that the image came from? Mostly, from what I could find, No. The image because it is significantly changed becomes a new work of art. Anyways, I thought it would be a chance for Warner Brothers to be all cool and be like "Yeah, it would be sweet if you used Boromir in your thesis!" So I went and found that New Line Cinema/Warner Brothers is the company that made Lord of the Rings: The Fellowship of the Ring. The movie where the image came from. So I found out an email address that is used for licensing and sent them this email:

--------------------------------
Hey Julie or Clip and Still Dept.,
     My name is Dr. Josiah Zayner. I just recently finished my work to graduate from the University of Chicago with a degree in Biochemistry and Molecular Biophysics. In my thesis I have created a Figure that contains the Bormir "One Does Not Simply" still (inserted in this email and attached) from the movie The Fellowship of the Ring by New Line Cinema. Also, attached is my Thesis, this is Figure 5.1.
  <image>

I was wondering if it was possible for me to us this image in my thesis published online. Because I just graduated I am poor and have no money to offer but I promise I will let everyone know the kindness of Warner Bros. and New Line Cinema in return.

Thanks,
     Josiah Zayner Ph.D.

 --------------------------------


Well, yesterday they finally replied with the answer being NO. I laughed. It was kind of a joke to begin with but I never imagined how me using the image in my thesis could end up being bad? How would they lose anything by saying yes? It is strange that companies still exist in a world that using a still that I have every right to use, through original content and fair use laws, they still say I can't use it. Good thing The Hobbit was such a bad movie because now I am definitely not going to see the new one when it comes out.

The world is changing but so many companies and people don't want to change with it. Sure, you need to protect your ass but from who? A Ph.D. Scientist?

Saturday, July 27, 2013

Dr. Zayner and Other Stuff

So I defended my thesis which I am glad is finally over! It was really nice to be able to share my Science everyone. I have so many friends and we rarely talk about what we actually do because we usually spend 8-12 hours a day doing Science and talking with co-workers about it. It was really nice to be able to show my love for Science to people.

It is also fun to be a Ph.D. I have only been one for a few days but whenever I start to feel down I always just remind myself that I have a Ph.D. and it can't ever be taken away. I know lame right? But I still have a kick out of it.

I am still waiting to hear back from my NASA fellowship and have a Skype interview with Ed Boyden next week but otherwise not much going on.  I am really interested to see stuff Ed has to say, hear what he is interested in.

I am working on two cool projects at the moment. One is developing the Chromochord into a new sound sensitive instrument. We have talked to some people at the business school and plan on doing a Kickstarter or some such thing to raise some money for it. I will post on here when that goes down.

I just need to find a job now.

I also did an interview with Nona Griffin that will be published online hopefully soon. I will post when it is up. She was really great. If you have a great Science project that you are working on I encourage you to look her up online and email her.

Thursday, July 4, 2013

Solidoodle 3 Beginner's Tutorial

Here I will provide a Solidoodle Getting started Guide this is done with Linux but most of the stuff should transfer over to Windows:

Things you should do after opening your Solidoodle 3

  1. Install Software & Test Printing
  2. Calibrate Filament Feed
  3. Calibrate Temperature on Extruder
  4. Level Bed
  5. Tape the Bed

1. Installing Software & Test Printing
The software I use on Linux is Slic3r in repetierhost and pronterface.

RepetierHost is what I use for visualization/centering/slicing it seems to do much better than the pronterface/skeinforge package. It can be found at http://www.repetier.com/download/

Pronterface is from the PrintRun software package at https://github.com/kliment/Printrun . It is built off of python so make sure you have python installed (sudo apt-get install python).

Goto Thingiverse and pick something really simple to print
http://www.thingiverse.com/newest/page:1

Download the stl file and load it up in repetierHost
If it doesn't look like below the object in 3D there is something wrong with the file so you should try another. Or you can run the file through the netfabb service that automatically repairs stl files (http://cloud.netfabb.com/)


So the Slic3r config files provided by Solidoodle are for version 2, hah! So we need to update those for use. Basically we just need to change the bed size to 205, 200 and the print center to 102.5, 100.
You can download mine here:
https://docs.google.com/file/d/0B_R75gIJvkFUR0pfVk5NMnBmQUE/edit?usp=sharing

Open up the Slicer tab in repetierHost and click on the first configure button.
Then in Slic3r click on "File" then "Load Config"
Remember that anytime you change anything in the Slic3r config, like adding an extrusion multiplier or something. You need to save those changes in the config before you close the Slic3r window or they won't take effect in your print.

Now we are ready to slice so click on "Slice with Slic3r"

This should eventually output a g-code file and bring you to the "g-code editor" tab click on the save icon and save this g-code file for use with pronterface.

Open up pronterface and connect to your printer and click on the "Monitor printer" box.
Turn on your bed and heater(extruder heater) and let them warm up.
Load your g-code file from Slic3r.

Before you click on print make sure the filament is in and extruding properly. Keep clicking on extrude till something comes out.

Click "Print" and sit back for a few hours.

2. Calibrate Filament feed
This is fun and easy what you need to do is plug-in your printers USB cable to your computer and open up pronterface and connect to the printer. Heat-up your extruder to 190C or so. Remove all filament from the extruder by backing it out and blow out any filament dust. Sometimes this causes extruding problems. Reinsert filament until it starts coming out of the extruder.

Now take a ruler and measure 100 mm (use 100 mm because small errors will add up and be visible) of filament say from the top of the extruder and mark this point with a sharpie or marker. Type in 100 mm in the extrude box and click extrude. Now measure how much is left if the mark is not almost exactly near the top of the extruder.

We need to calculate the extruder multiplier. The extruder is set to extrude at an arbitrary extrudeness of 1 extrude multiplier. If however 1 extrude multiplier is greater than what is actually needed we need to increase of decrease this value. If your Solidoodle extrudes less than what you want i.e. You want 100 mm and it extrudes 90 we need to change the extrude multiplier. We calculate it like so:

(Amount we want it to extrude) / (Amount actually extruded)

So in the above case: 100 mm / 90 mm = 1.11

This extrude multiplier we enter into our Slic3r config in repetierHost under the "Filament Settings" tab.

3. Calibrate Temperature on Extruder
Open up pronterface. In the bottom right corner there should be a command entry text box and a "Send" button.


Enter and press Send:
M303 S200 C5

This  should run an automated temperature calibration process that when finished should output 3 values: Kp, Ki and Kd.

Write these down.
Send the command(where X equals the value of Kp, Y equals Ki and Z equals Kd) :
M301 PXXX IYYY DZZZ

We need to permanently save these values by sending the command:
M500


4. Level the bed
Purchase a small level if you don't have one and place it on the bed in the middle. There are three screws on the Solidoodle bed that can be rotated to change the pitch and height of the bed. They are very sensitive. Make sure you rotate the level 90 degrees and place it in multiple places on the bed to have the best levelling.

After you level your nozzle might be raised or lowered a bit. There is a screw in the on the back wall of the Solidoodle pointing down that looks like it is not doing anything. It is in fact a stop for the bed. The bed height is what controls the height not the nozzle.

If after leveling your bed you feel you changed the height significantly adjust the screw at the back. There are lots of techniques people suggest to try and find the proper 0.1mm height. Some say place a piece of paper underneath the nozzle on the bed and move the nozzle if it drags the paper it is too low. I suggest just printing the bottom layer of something. And optimizing it so you have the smallest layer that is not see through. 3D printing is much trial and error. If you print to thick of layers the nozzle will catch on the object and knock it out of place or deform it. Practice printing by printing something easy and once everything is tuned nice go onto something bigger.

5. Tape the Bed
Nothing sticks to the kapton bed and this can be quite annoying for a beginner as it was for me. Solidoodle say everything sticks but they are wrong. One reason stuff does not stick and warps is because of temperature. The bed does not reach the temperatures that Solidoodle says it does because it is exposed. I wrapped my Solidoodle in aluminum foil.

This allows the bed temperature to become 5 or 10 degrees warmer but it still only helps a little. What you need to do is cover the bed in painter's tape or masking tape such as http://www.uline.com/Product/Detail/S-7835/3M-Masking-Tape/3M-233-High-Temperature-Masking-Tape-2-x-60-yards?pricode=WU325&gadtype=pla&id=34609809682&gclid=CM7wxd_-lbgCFa7m7AodOh0ACw&gclsrc=aw.ds

It becomes alot harder to remove things from the bed(the tape can actually help though by using it to help remove the printed product) but everything actually sticks!


Wednesday, July 3, 2013

A Cheap Simple DIY Electrophoresis Power Supply

As most people trying to run Gel Electrophoresis in their apartment know generating greater than 100V of DC so you can run your gel in a reasonable amount of time can be expensive. Most of these power supplies can run in the >$100 even for ones that are 30 years old. I started messing around with some stuff and came up with a way to build a "power supply" that can output > 100V DC for less than $5.

All our outlets in North America output ~120V AC. Using this for most applications is not plausible because AC is not continuous current. What we usually want for most electronics and gel electrophoresis is DC. People have tried AC with gel electrophoresis and it just screws up the mobility because of the wave constantly changing sign. The beauty of the system here is that is uses AC just rectified. So you still can output >100V.

Full-Wave rectification converts an AC into a oscillating DC. This removes the negative portion of the AC and makes a perfect electrophoresis power supply because we don't care if our DC current oscillates.

What I used :
Small prototyping breadboard
which can be purchased off of eBay for at like 10 for $2
A 200V bridge rectifier. $0.29
Remember 120V is RMS voltage for AC so it can reach up much higher. Go with at least 200V. I choose 1A to keep gel heating down. If you are in Europe you need a much higher rectifier.
http://www.jameco.com/1/1/1073-df02m-diode-bridge-rectifier-1a-200v-dip-4.html
A power cord
If you don't have one laying around here is one for $2.25
http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_340072_-1
Banana jack if you need/want them.
Use shrouded banana jacks so you don't shock yourself or burn down your house.


DISCLAIMER: you are going to be working with AC mains voltage. If you don't know how to work with this safely please don't do this.
This is simple. Connect with solder the positive and negative wires/banana jacks to the pins marked + and - on the bridge rectifier diode. Then connect the white and black wires of the power cord to one each of the other pins on the diode(it doesn't matter which ones you connect them to) they should be labeled with a ~. I soldered the green wire off by itself as a "ground"!

Make sure all the components are covered before you plug it in to prevent spectacular shorts and electrocution. I used duct tape for the tests because I am cheap and simple. A good idea for an enclosure would be an old pipette tip box with holes cut in the sides. 

Putting a 250V 250mA or so fuse in the circuit is a good idea to protect yourself.

I also have another connector in between the bridge rectifier and the banana jacks for my home built electrophoresis setup. So ignore the black and green connectors.



That's it.
Plug in your positive(red) plug to the red banana jack and the negative(black) plug to the negative banana jack of your gel box and plug your power supply into the outlet. Plugging and unplugging the jacks is best done while disconnected from AC mains to prevent any accidentally shocks.

The short circuit reading from my multimeter is 108V. Obviously in Europe with 240V AC your voltage is going to be >200V. You can step this down using a voltage divider in the output of your circuit.

Here is the test. I ran a 1% agarose gel in TAE. What I ran is DNA ladder(lane 1) a plasmid(lane 3) and some ~75bp primers(lane 5 hard to see) at 100V for 20 minutes using a Fischer brand power supply from our lab.

~100V for 20 minutes using Fischer Power Supply
















I did the same test with my rectified supply.















As you can see the images are almost identical.

And here it after 37 minutes:

















Any questions feel free to ask.

Saturday, June 22, 2013

NASA

Still really busy. Been spending most of my time writing my Ph.D. thesis.
One thing I have noticed is that when one start to become closer to graduating people tend to treat you differently or maybe I just started acting differently and people responded in kind? It is a good kind of different not a bad kind. People seem to listen more to my thoughts and ideas. It is pretty cool. I am starting to more and more feel like someone who is not crazy. I am starting to feel like I have good ideas and not just lame ideas.

Anyways, on to NASA.
I was recently at the Gordon Conference on Synthetic Biology. If you have never been to a Gordon Conference and have $1200 to spare you should apply(not everyone can go they only take ~150 people). It was a great time met lots of great people including George Church and Drew Endy. Drew is probably the most laid back scientist I have ever met. I met Masood Hadi a Synthetic Biologist who is at NASA and he encouraged me to apply for the NASA Postdoctoral fellowship program. So I have been working on that also. I would goto work with him at Ames Research Center in Mountain View, CA next to Google headquarters and Stanford. That would be super awesome. We would work on developing sustainable technologies for space travel using synthetic biology such as engineering bacteria to produce chemicals or food or whatever is needed.

On the side I have been spending lots of time attempting to create an integrated lab environment using Arduinos, Linux and a webpage. So one can view the status of and change the function of any lab instrument integrated in the environment. So far I have I made it so that one can communicate to an Arduino attached to a computer through a webpage. I have started building a PCR machine and a heated incubator/shaker and a power supply and gel electrophoresis setup. All controlled using Arduino all are in various stages of disrepair but I nothing I am building is entirely new so I know it can be done and will be done I just need time. I will probably work on it this weekend along with my NASA proposal.

I have posts I am working on that should be done sometime in the next week/month/year, who knows?










Tuesday, May 28, 2013

Lately

Haven't posted in a bit lately. I have a bunch of stuff that is half-finished/almost finished that I will post on soon. Mostly I have been working on developing Molecular Biology Lab Equipment. And trying to have crazy ideas.

I started playing Chess again which is fun but it is definitely a time sink. I really enjoy Chess though because it is a "fair" game. Most strategy based games out there in the world involve some sort of randomness. Chess is about focus, creativity, knowledge and skill. There is currently no chess perfect game and there most likely never will be, meaning there is no clear cut way to win. There is obvious strategy that one should take into account but for those strategies there are always caveats. Never lose your Queen unless it is traded for the opponents Queen, well unless you are sacrificing it for alot of materials or well unless you are going to win the game or maybe you will be acquiring another Queen through pawn promotion. I have been playing chess for a while now and as I age I become better because I am less likely to attempt some crazy shenanigans. Instead opting for the progressive and slow attrition battle waiting for the opponent to make a mistake and then captializing on it. Maybe that also relates to my life and how I have calmed down a bunch and am much less crazy.

I also have been working lots on my thesis. Writing at least a few hours a day. It is not due until August 2nd but it needs to be mostly done before my thesis defense which will be around the beginning of July. Then I graduate.

Haven't found a Post-Doc yet and I don't even know if I want one. I am trying really hard to start up some sort of business thing so I can just do Science and Engineering on my own. I have so many ideas and projects that I want to work on. I just hope something can succeed.

Will be in Boone, NC this weekend visit friends and then I fly out to the Gordon Research Conference on Synthetic Biology for 5 days, which should be fun. Maybe someone there will be interested in hiring me for a Post-Doc.


Wednesday, May 15, 2013

Metacognition

This is a topic that has interested me for a long time. Metacognition basically means to think about the way you think. Aside, from some philosophical reason, why would one want to do that? Well I view myself as a sort of athlete of the mind. I am constantly trying to improve my brain function and creativity even if I happen to drink a little too much Scotch every once in a while.

There are a couple of areas I actively try and foster in order to improve my "intelligence".

Creativity
Knowledge
Memory


Creativity

This is probably the most difficult one to improve and is seems to be directly related to Knowledge and Memory but there are a few things that I have learned I can do to improve my own creativity.

Experience new ideas or new knowledge is a big one. When something new enters my brain and I begin to amalgamate it with the rest of my knowledge new and interesting connections and ideas pop up. This however is not really related to new experiences. New experience tend to make people cultured and have new points of view but traveling and visiting new places or meeting new people has never really enhanced my creativity in any way. Every once in a while I might see a painting that can give me interesting ideas but this is so few that to me it is not a productive method.

Take time to think of new things. I always can tell when I am stuck in a rut it probably means I am not taking enough time to think. I have set a reminder in my calendar on my computer to take at least 5 minutes everyday and drop everything I am doing and spend that 5 minutes only trying to think of new and interesting things. It is amazing how much this works.

Creativity seems to feed off of creativity. Talking to other creative people and seeing other creative projects or ideas feeds me. Some of my best ideas happen after sitting through a bunch of interesting scientific talks in a day.

Streamline your life. When I don't need to think about problems or dinner or food or money or whatever I can spend all my time thinking of interesting problems. I like familiarity. Do you think about how to put on your clothes? or think while eating? Probably not. Once this autonomous system takes over the mind can live outside the body. The more things in my life that are familiar and similar the easier it is to spend lots of time thinking and attempting to solve problems or come up with creative ideas. I can't stress how important this aspect is. People might think I am weird because I want to use the same spoon, cup, bowl, sit in the same seat and walk the same path. But what they don't know is that this familiarity allows me to do everything autonomously and I can spend that time thinking.


Knowledge

I think so many people give up on knowledge at an early time in their life. They figure that they learn enough with the job or that they know enough so they don't need to learn. Knowledge, to me, is intimately linked with creativity.


Learn. I spend so much of my time learning. When I am walking alone I try and listen/watch lectures or podcasts. I constantly try and teach myself new subjects. This takes alot of dedication but it allows me to have an idea and then apply the idea and make it real. Ideas stay ideas too much because people don't know how to apply them or are not willing to learn enough to apply them.

Do. Doing things is what builds those conceptual connections in my brain. When I am programming or building electronics or doing a science experiment I build the conceptual connections of things I only understood in passing. Someone can tell me how NMR works but if they can't sit down and run a spectra or work with a spectrometer then the knowledge is only theoretically useful, which is ok in some cases but for me it is less useful in most cases.


Memory

I think this is the most difficult to improve. Some people appear to have an inclination to memorize things easier maybe through their upbringing or practice but memory really takes practice.


Practice is really important. I practice memorizing things. I train my memory. Learning how to use ones memory efficiently and beneficially is what makes someone better at "memorizing" than other people. A really good book on the subject is Moonwalking with Einstein by Josh Foer. The book is about training to compete in the World Memory Championships and how memory is more of a learned skill than it is an inherent talent. I wrote a simple Perl script that I run through a couple times each morning, it gives me a number of random digits of my choosing and 15 seconds to memorize them and then it asks me for them. This works pretty much only my short-term memory but I have seen the benefits in my long-term memory. I am up to 13 numbers in 15 seconds and have been stuck on 14 for a bit now. My goal is 15 number in 15 seconds. I also have this neat app on my Android phone Memory Trainer it has a bunch of different "games" that train image recognition, spatial memory and a bunch of stuff. It is pretty cool. I never however understood the N-back game I think it doesn't work correctly. Also, it is not that difficult of a program. After a few months using it one can complete the highest level as a "Memory Master" but you can go back and choose targetted workouts on the games that give you the hardest time. Really nice way to "waste" time besides something like Angry Birds(do people still play that?).

Experience is very important in memory. What does the number "8" feel like to you? To me 8 is a good number it is my birthdate (Feb. 8th) and also is related to my birthname (Josiah became King when he was 8 years old). I can feel the number 8. I also like powers of 2 because they are based on the binary digit system, like 256, 512, 1024, 2048, &c. The more you experience numbers or objects the more you are familiar with it and the easier it is to remember. Experience also allows one to learn what works best for them. Maybe associating smells or people or shapes works best for you. Try it out and see what happens.



I really wish I knew about metacongnition earlier in life or that I was taught how to think in school I am sure I would be much better at processing and synthesizing information.




Saturday, May 11, 2013

The Chromochord: A Bioelectronic Musical Instrument

So I have not been posting much lately because I have basically dropped most projects I am working on to finish up my new version of the Chromochord. If you don't know what the Chromochord is Here is a good description of the original version. On top of building it I have been working hard with Francisco Castillo Trigueros a great composer to make music for it.


The Chromochord projects goal is to create some form of two way communication with nanotechnology and allowing that interaction to create a stimulus that can be experienced in the non-nano world.
I think photoactive proteins are really cool and I work with them. They are perfect for this because we can interact with them using light and they can respond quantum mechanically by changing their light absorbance.
Light-Oxygen-Voltage domains use a flavin-mononucleotide(FMN) chromophore that when reduced(gain of an electron) because of photoexcitation change their absorbance drastically around 450 nm and the protein undergoes a conformational change. They are nano light driven machines!

 Protein Model of a LOV Domain Undergoing Conformation Change



For my Ph.D. research I engineered plant proteins(the second LOV domain of Avena sativa (Oat) phototropin 1) and expressed and purified them using a transgenic bacterial system. The engineered proteins respond to light differently due to difference in amino acid sequence. Data on the engineered variants can be found in this Scientific article here. Many of the mutations centered around the FMN chromophore to modify the electrostatic environment and sterics which helps govern that metastable light excited state.

You can interact with a model of the protein in 3D here: http://www.rcsb.org/pdb/explore/jmol.do?structureId=2V0U&bionumber=1

I chose to use sound as the way the proteins interact with the non-nano world (human beings, &c.). This protein does not actually generate sound. We are sonifying its response to our interaction with it. I don't think people have chances to experience the nano-world and this was a chance to bring it smack-dab to their ears.

Music was generated by measuring the proteins response to light and using that to modulate a base set of notes. So what you do is shine light on the protein to sort of strum it quantum mechanically. You measure it's response to this strumming spectrophotometrically and then you press a key to play a note whose pitch is modulated by the protein.

These interactions have also been used to manipulate custom musical phrases written by Francisco in a self-playing version of the Chromochord. He also integrated protein's thermodynamic unfolding and aggregation was integrated into the music.




 A LOV Protein's Response to Light as measured by UV-Visible Light Absorbance

So basically the way the Chromochord works is that we have the device measure the absorbance of the LOV protein in each well of a plate(What a microplate looks like). Because the proteins response is governed by thermodynamics we have some unpredictability, we don't know exactly how the solution of protein in the well will respond but we have a good idea. As time goes on a percentage of the proteins can degrade or aggregate and cannot interact with light anymore. This is dependent on each engineered variant. This also changes the response.  


The first version of the Chromochord was built on top of a UV-Visible light absorbance based plate reader. As you can see below the Chromochord was of significant size and weight. As you can see it was meant to be played live with music and lights controlled through buttons. I wrote software to interact with the plate reader and interfaced it with an arduino and a custom version of ttymidi I wrote. Layers could be built up with sooperlooper. It is kind of cool. The musical layering idea was inspired by Zoe Keating.

The first version is not really portable. But I did bring it to Berlin and demo it at Humboldt University of Berlin. There is a problem with timescale also. The Chromochord uses the physical chemical state of the protein to determine sound played but most plate readers use a beam splitter and/or motors to move the plate through a single light source. It takes seconds(5 s or more) to measure a whole plate at the fastest. I even looked online in purchasing a faster plate reader and no company sells one! Yikes. So that means if I wanted the Chromochord to have more realistic interactions with the world I would need to build my own plate reader. Initially I planned on making it able to read a whole plate but decided that the Chomochord probably wouldn't use a whole plates worth of protein in it so after talking with Francisco I decided on 12 wells.

The new Chromochord I built is based on a single wavelength measurement, which can easily be modified do more than one. Most modern plate readers use a bright white light and filters to generate a number of wavelengths. An easy way to give the Chromochord multiple wavelengths would be to use an RGB LED. Currently, it uses an ~460 nm blue LED as that is the wavelength I am most interested in. The current amount of time it takes to measure and filter on 12 wells is <350 ms (almost all of that is software filtering)!!!





What the Chromochord is now composed of:
24 LEDs: 12 for Excitation of the Protein and 12 for spectroscopic measurement
12 Light Dependent Resistors (LDRs)
1 Arduino Due
Assorted wires and resistors

The LEDs were high intensity Blue LEDs. I used Blue because the protein is both excited and absorbs at around 450 nm. I needed them to generate a significant amount of light in the milliseconds they were flashed on and off so I went for some high intensity ones. I have not measured the lumen output for the flash of light.

If I change anything it will be the LDRs they aren't bad but I think they are the reason I have so many problems gaining stable measurements. I purchased them because originally I was thinking of doing all 96 wells and at $5 a pop for a phototransistor, that's alot of money.

I chose the Arduino Due because it has a 12 bit ADC, which probably wasn't even enough but I had tough luck finding a 12 channel > 12bit ADC that I could soder and using one ADC per LDR I was just too lazy for. I actually thought the 12 bit wouldn't be too bad and it wasn't. I probably could have also used some hardware filters to give my measurement more resolution as my readings were only using a fraction of the actual spectrum.

Here is a link to the Arduino code: Chromocode
The code filters the measurement data, creates baselines and all other sorts of stuff. Then it prints the readings to the Serial port which can be read by any program. We were using Max/MSP. But like with the original Chromochord, one can always route the data to ttymidi on Linux.

I will make another post on the Artistic Installation we did and also post the Max code.

This second version is much faster but cannot be directly played as is. Instead a score is written as 1s and 0s of course and used to control the photoexcitation of the proteins. It allows for much more complicated music to be played.


Here are pictures of the new Chromochord:

The Box

The Guts

Inside the Box

The Chromochord running

Visualizing the Wells and generating the sound using Max


The Chromochord Running



The Audio and Video Chromochord Installation

Thursday, May 2, 2013

What would you give a leg for?

So on my walk home from work I pass by a local bar. The other day I saw one of my friends was bartending and the bar was pretty empty so I decided to stop in for a quick beer and say hi. After a few minutes an older gentlemen came in and sat down next to me and started to chat. I am usually not really into talking to strangers but I was in a open mood. As sports was on the TV we were chatting about them and the conversation came to concussions and Amercian Football and how the players are suing the NFL and the implications of this situation. Are they being paid "X" Dollars(which is way more than your average person) to receive concussions. Is it their job? Are Amercian Football players just entertainers and their job is to hurt and be hurt like Ultimate Fighting? (I know there are college kids who are paying the price of injury without any recompense but lets leave that out of this discussion for now)

We then started talking about if us or someone would turn down hundreds of thousands of dollars if they were told they would receive a few concussions. Sadly, in this world money buys us so much. Not just comfortability but opportunities. The question came to would him or I give up a leg for $1 million. I told him it was a very difficult question for me because $1 million would allow me to pursue my dream of being able to do research and engineering on my own. It would basically fulfill my dream. I don't need a leg to do science or engineering. I have invested so much in my mind. He was a little abashed by my response even though I tried to explain it wasn't out of greed. It was a tough question for me.

Afterward I started thinking about what I would actually give up for my goals and to accomplish the things I want. It sucks that people give up their dreams and passions. It sucks that people don't have something in their life that they would give up a leg for. Or maybe I am just really naive that I would consider it.

I learned long ago that we can't accomplish everything we want in the world. The whole keep your dreams alive is fake and stupid. But with effort and perseverance we can create beautiful things or do beautiful things. Maybe not what we were dreaming of but still beautiful and moving.

If someone told me I would have to give up my leg or I couldn't do science or engineering ever again. I wouldn't even hesitate.

Chromochord UChicago Video

The Arts/Science Initiative that is giving the Chromochord development some funding has created a video of me and Francisco.

 


The project is coming along splendidly. I finished building the new Chromochord and it is badassssss. Been working on developing music with Francisco. We should have something cool for when we do a demo next Wednesday.