code: def _galaxy_tool_copy(finfo, outputs):
      
      tool_map = {"align": "bam", "variants": "vcf.gz"}
      for galaxy_key, finfo_type in tool_map.items():
          if galaxy_key in outputs and finfo.get("type") == finfo_type:
              shutil.copy(finfo["path"], outputs[galaxy_key])
docs: Copy information directly to pre-defined outputs from a Galaxy tool.
  
      XXX Needs generalization