code: def _find_lib(data):
      
      options = " ".join(data.get('resources', {}).get('mirge', {}).get("options", ""))
      if options.find("-lib") > -1 and utils.file_exists(options.split()[1]):
          return options
      if not options:
          logger.warning("miRge libraries not found. Follow these instructions to install them:")
          logger.warning("https://github.com/mhalushka/miRge#download-libraries")
          logger.warning("Then, pass -lib LIB_PATH with resourcces:mirge:options:[...]")
          logger.warning("More information: https://bcbio-nextgen.readthedocs.io/en/latest/contents/pipelines.html#smallrna-seq")
docs: Find mirge libs