def to_boulderio(infile, outfile):
seq_reader = sequences.file_reader(infile)<EOL>f_out = utils.open_file_write(outfile)<EOL>for sequence in seq_reader:<EOL><INDENT>print("<STR_LIT>" + sequence.id, file=f_out)<EOL>print("<STR_LIT>" + sequence.seq, file=f_out)<EOL>print("<STR_LIT:=>", file=f_out)<EOL><DEDENT>utils.close(f_out)<EOL>
Converts input sequence file into a "Boulder-IO format", as used by primer3