def seqs2bool(seqs):
for seq in seqs:<EOL><INDENT>for i, ins in enumerate(seqs[seq][<NUM_LIT:2>]):<EOL><INDENT>if len(ins[<NUM_LIT:4>]) > <NUM_LIT:0>:<EOL><INDENT>ins.append(True)<EOL><DEDENT>else:<EOL><INDENT>ins.append(False)<EOL><DEDENT>if len(ins[<NUM_LIT:5>]) > <NUM_LIT:0>:<EOL><INDENT>ins.append(True)<EOL><DEDENT>else:<EOL><INDENT>ins.append(False)<EOL><DEDENT>seqs[seq][<NUM_LIT:2>][i] = ins<EOL><DEDENT><DEDENT>return seqs<EOL>
convert orf and intron information to boolean
# seqs[id] = [gene, model, [[i-gene_pos, i-model_pos, i-length, iseq, [orfs], [introns]], ...]]
# seqs[id] = [gene, model, [[i-gene_pos, i-model_pos, i-length, iseq, [orfs], [introns], orfs?, introns?], ...]]