def _make(c):
ann = defaultdict(list)<EOL>for pos in c['<STR_LIT>']:<EOL><INDENT>for db in pos:<EOL><INDENT>ann[db] += list(pos[db])<EOL><DEDENT><DEDENT>logger.debug(ann)<EOL>valid = [l for l in c['<STR_LIT>']]<EOL>ann_list = ["<STR_LIT:U+002CU+0020>".join(list(set(ann[feature]))) for feature in ann if feature in valid]<EOL>return valid, ann_list<EOL>
create html from template, adding figure,
annotation and sequences counts