Affy talk
This talk was forwarded to me by Nikesh. It's a pretty interesting look at the evolution of Affymetrix, by Steve Fodor. It's low-bandwidth too so you can listen while you work...
Video
Video
chrom1_f.seek(8100200)
seq = chrom1_f.read(8100438 - 8100201 +1)
"chrom1_f" is a filehandle to the chromosome file -- I would typically have a bunch of them open if I am working with a whole genome. And of course, random access can be used in any language -- not just python.
class container:Then you can fill an instance of it with any data you want to keep together. For instance...
pass
my_gene = container()You can use the same dummy container for any collection of data, if you are not too worried about formalising its contents.
my_gene.length = 100
my_gene.name = "Something"
dir(my_gene) #to see what is in there