code: def _get_hit_nearest_ref_end(self, hits):
          '''Returns the hit nearest to the end of the ref sequence from the input list of hits'''
          nearest_to_end = hits[0]
          for hit in hits[1:]:
              if hit.ref_coords().end > nearest_to_end.ref_coords().end:
                  nearest_to_end = hit
          return nearest_to_enf _get_hit_nearest_ref_end(self, hits):
          '''Returns the hit nearest to the end of the ref sequence from the input list of hits'''
          nearest_to_end = hits[0]
          for hit in hits[1:]:
              if hit.ref_coords().end > nearest_to_end.ref_coords().end:
                  nearest_to_end = hit
          return nearest_to_end
docs: Returns the hit nearest to the end of the ref sequence from the input list of hits