code: def add_metadata_defaults(md):
      
      defaults = {"batch": None,
                  "phenotype": ""}
      for k, v in defaults.items():
          if k not in md:
              md[k] = v
      return md
docs: Central location for defaults for algorithm inputs.