code: def _make(c):
      
      ann = defaultdict(list)
  
      for pos in c['ann']:
          for db in pos:
              ann[db] += list(pos[db])
      logger.debug(ann)
  
      valid = [l for l in c['valid']]
      ann_list = [", ".join(list(set(ann[feature]))) for feature in ann if feature in valid]
  
      return valid, ann_list
docs: create html from template, adding figure,
      annotation and sequences counts