| author | 
categories | 
comments | 
date | 
header | 
slug | 
title | 
omit_header_text | 
disable_share | 
wordpress_id | 
| einar | 
 | 
true | 
2006-10-11T20:59:34Z | 
| image_fullwidth | 
 
| banner_other.jpg | 
 
 
 | 
my-first-real-world-python-program | 
My first real Python program | 
true | 
true | 
120 | 
Although I'm still studying the language, finally I managed to create a program that actually does something I need. The need arose from a gene list I was given, made up by Entrez Gene IDs. I need to annotate it, but in a form that wasn't able to be produced by the usual functional annotation tools I have. Actually it could have been done, but what I needed was to make something that I could automate.
Part of the job could have done by simply using DAVID to fetch Entrez Gene ID, Gene name and symbol, chromsome and cytoband, plus some Gene Ontology terms  I needed. However, I took the chance to start using the language, and also to add other fields that I couldn't obtain in other ways. It's been a painful experience, but it worked. Right now it's tremendously hackish but I think I'll probably improve it in the next days. I'll post the source once it has a reasonable level of decency.