def transPara(trans_iter, trans_for_bam):
    """Generate parameters (trans, g1t, g2t) for function _get_tis()
  """
    for t in trans_iter:
        if t.id in trans_for_bam:
            yield t, trans_for_bam[t.id]
