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