code: def semantic_distance(go_id1, go_id2, godag, branch_dist=None):
      '''
          Finds the semantic distance (minimum number of connecting branches)
          between two GO terms.
      '''
      return min_branch_length(go_id1, go_id2, godag, branch_distf semantic_distance(go_id1, go_id2, godag, branch_dist=None):
      '''
          Finds the semantic distance (minimum number of connecting branches)
          between two GO terms.
      '''
      return min_branch_length(go_id1, go_id2, godag, branch_dist)
docs: Finds the semantic distance (minimum number of connecting branches)
          between two GO terms.