Consider keeping the alias for append because it occurs in the innermost loop. For maximum readability, write: addline = seq.append
Move the ''.join() to the show() function. That eliminates a little redundancy. The test dataset doesn't use the semi-colon comment field. So, consider reversing ';>' to '>;'. Raymond Hettinger -- http://mail.python.org/mailman/listinfo/python-list