in reply to wrapping a pair of lines; what if different lengths?

Please take a look at BioPerl, as they have probably addressed 95% of the problems you are likely to encounter when doing DNA work.

Scott
Project coordinator of the Generic Model Organism Database Project