code: def wrapper(
      path,
      input,
      output,
      params,
      wildcards,
      threads,
      resources,
      log,
      config,
      rulename,
      conda_env,
      conda_base_path,
      container_img,
      singularity_args,
      env_modules,
      bench_record,
      prefix,
      jobid,
      bench_iteration,
      cleanup_scripts,
      shadow_dir,
      sourcecache_path,
      runtime_sourcecache_path,
  ):
      """
      Load a wrapper from https://github.com/snakemake/snakemake-wrappers under
      the given path + wrapper.(py|R|Rmd) and execute it.
      """
      assert path is not None
      script_source = get_script(
          path,
          SourceCache(
              sourcecache_path,
              runtime_cache_path=runtime_sourcecache_path,
          ),
          prefix=prefix,
      )
      if script_source is None:
          raise WorkflowError(
              f"Unable to locate wrapper script for wrapper {path}. "
              "This can be a network issue or a mistake in the wrapper URL."
          )
      script(
          script_source.get_path_or_uri(),
          "",
          input,
          output,
          params,
          wildcards,
          threads,
          resources,
          log,
          config,
          rulename,
          conda_env,
          conda_base_path,
          container_img,
          singularity_args,
          env_modules,
          bench_record,
          jobid,
          bench_iteration,
          cleanup_scripts,
          shadow_dir,
          sourcecache_path,
          runtime_sourcecache_path,
      )
  
file_path: snakemake/snakemake/wrapper.py
imports: from snakemake.exceptions import WorkflowError
  from snakemake.script import script
  from snakemake.sourcecache import SourceCache, infer_source_file
label_desc: Use image node_id 7 for calling a global function with example usage: wrapper(path, input, output, params, wildcards, threads, resources, log, config, rulename, conda_env, conda_base_path, container_img, singularity_args, env_modules, bench_record, prefix, jobid, bench_iteration, cleanup_scripts, shadow_dir, sourcecache_path, runtime_sourcecache_path) without return types