As I wrote, irrespectful of the fact that it may seem to you like it should work, it can't because, irregardless of Bio::SeqIO or whatever, it contains a syntax error that will simply prevent it from compiling. Why don't you try yourself?!? (Not to be intended as a personal offence - just a consideration!)