def setup_markers(seqs):
family2marker = {} <EOL>markers = cycle(['<STR_LIT>', '<STR_LIT:p>', '<STR_LIT:*>', '<STR_LIT:+>', '<STR_LIT:x>', '<STR_LIT:d>', '<STR_LIT:|>', '<STR_LIT:v>', '<STR_LIT:>>', '<STR_LIT:<>', '<STR_LIT>'])<EOL>size = <NUM_LIT><EOL>families = []<EOL>for seq in list(seqs.values()):<EOL><INDENT>for insertion in seq[<NUM_LIT:2>]:<EOL><INDENT>for family in list(insertion[-<NUM_LIT:1>].values()):<EOL><INDENT>if family not in families:<EOL><INDENT>families.append(family)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>for family in families:<EOL><INDENT>marker = next(markers) <EOL>if marker == '<STR_LIT>':<EOL><INDENT>size = size * <NUM_LIT:0.5><EOL><DEDENT>family2marker[family] = [marker, size]<EOL><DEDENT>return family2marker<EOL>
setup unique marker for every orf annotation
- change size if necessary