def _generate_reads(seq, name):
reads = dict()<EOL>if len(seq) < <NUM_LIT> and len(seq) > <NUM_LIT>:<EOL><INDENT>reads.update(_mature(seq[:<NUM_LIT>], <NUM_LIT:0>, name))<EOL>reads.update(_mature(seq[-<NUM_LIT>:], len(seq) - <NUM_LIT>, name))<EOL>reads.update(_noise(seq, name))<EOL>reads.update(_noise(seq, name, <NUM_LIT>))<EOL><DEDENT>return reads<EOL>
Main function that create reads from precursors