code: def runner_from_path(cmd, config):
      
      if cmd.endswith("picard"):
          return PicardCmdRunner(cmd, config)
      else:
          raise ValueError("Do not support PATH running for %s" % cmd)
docs: Simple command line runner that expects a bash cmd in the PATH.
  
      This makes Picard tools back compatible with new approach of a single
      jar + bash script.