Saturday, March 23, 2013

Making Proteins and Polymer in Blender

I was messing around in Blender and decided to create some artwork related to a recent paper published in my current research group. The idea is to create a two layers of polymer. One layer is to make a biosensor resistant to noise from non-target molecules adsorbing on the sensor surface. A second longer layer of polymer is used to attach anti-body to the sensor. The anti-body allows the sensor to target very specific molecules. Here's the image I made using Blender's cycles render engine:


Wednesday, March 20, 2013

CDK QSARs of Peptides

I was doing some working in CDK and was pleasantly surprised at how easy it is to calculate descriptors on short peptides. The code to do this is actually only three lines! Adding in a bug fix though, it becomes four. Here's the code to calculate every QSAR descriptor on a peptide


Monday, March 11, 2013

Reading Command Line args in R

I'm writing this down in my blog because I keep forgetting my standard way for adding command line arguments to R. I like to use executable R scripts that don't require --vanilla --args etc. The syntax in the R script is:

Thursday, February 28, 2013

Markov Chains in JS — Part 1

I'm in the process of writing a new post or two on working with Markov Chains in javascrtipt. I created the javascript files already and I've decided to post them below for now. I'll write up more about it and hopefully use the code for something interesting in a future post. See below for the javascript Markov Chain Simulator! See the code here.

Saturday, December 29, 2012

Recovering Android Photos with Linux

As noticed by others on the Internet, it is possible to recover photos from an Android phone that were deleted. It is impossible, as far as I know, to recover the full resolution photos. You may, however, recover the thumbnails and those are often large. This also allows you to recover photos which weren't saved, like those from text messages. The problem though is that methods I found while googling require you to edit the image files in a hex editor. For example, as demonstrated in this video. I've instead written a python script which automates this greatly simplifying the fact that you need to recover all the pictures to find one in particular.


Tuesday, October 16, 2012

Update on Amino Acid Interactions

A few months ago I wrote a post about amino acid interactions. It showed how much the different amino acids like to be in contact with one another. Now, in celebration of my upcoming paper in Chemical Science, I've updated the figure for surface interactions. It is shown below.

I have a website now

I've finally put together a website about me and my research. You may view it here andrew-white.com.