Thursday, January 25, 2007

Pectin Builder

As part of work with BJPS, I've made pectin builder - accessing through the web or using the Python scripts (tar.gz or browse svn). Accepts a simple 1D sequence string (G or E's) and builds a 3D PDB file.

These are just simple scripts that use Sweet II to do all the real work - cool stuff over in Germany.

PHP for accessing GData authentication/blogger

Well, I didn't find the documentation that great - but after a bit of mucking around and some help from the mailing list you should find here simple PHP scripts for using Google authentication and posting to blogger.

Wednesday, January 17, 2007

Quick, Dirty ODS reader

I discovered, to my great sadness, that reading an Microsoft XML spreadsheet in Python appeared to be easier the Open Document equivalent. There are plans to make a fully-functional Open Document library, but they seem to be minimal, and a few other libraries but nothing did what I want.

This is my attempt at a simple ODS parser, which attempts to read in the numerical values (as opposed to say =) which I use now, so that I can store experimental data in ODS instead of CSV files.

Much tidier.