code: def get_goids(self, go_args, fin_goids, prt):
          
          goids = set()
          if fin_goids is not None:
              goids.update(self.rdtxt_gos(fin_goids, prt))
          if go_args:
              goids.update(self.get_goargs(go_args, prt))
          return goids
docs: Return source GO IDs .