Read Gene Association File (GAF). Return data.

def read_gaf(fin_gaf, prt=sys.stdout, hdr_only=False, allow_missing_symbol=False, **kws):
    """Read Gene Association File (GAF). Return data."""
    return GafReader(fin_gaf, hdr_only,
                     prt=prt, allow_missing_symbol=allow_missing_symbol).get_id2gos(**kws)