def seqs2bool(seqs):
    """
    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?], ...]]
    """
    for seq in seqs:
        for i, ins in enumerate(seqs[seq][2]):
            if len(ins[4]) > 0:
                ins.append(True)
            else:
                ins.append(False)
            if len(ins[5]) > 0:
                ins.append(True)
            else:
                ins.append(False)
            seqs[seq][2][i] = ins
    return seqs