name: "hamronization_abricate"
description: Tool to convert and summarize ABRicate outputs using the hAMRonization specification
keywords:
  - amr
  - antimicrobial resistance
  - reporting
  - abricate
tools:
  - "hamronization":
      description: "Tool to convert and summarize AMR gene detection outputs using the hAMRonization specification"
      homepage: "https://github.com/pha4ge/hAMRonization/"
      documentation: "https://github.com/pha4ge/hAMRonization/"
      tool_dev_url: "https://github.com/pha4ge/hAMRonization"
      doi: ""
      licence: "['GNU Lesser General Public v3 (LGPL v3)']"

input:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - report:
      type: file
      description: Output TSV or CSV file from ABRicate
      pattern: "*.{csv,tsv}"
  - format:
      type: value
      description: Type of report file to be produced
      pattern: "tsv|json"
  - software_version:
      type: value
      description: Version of ABRicate used
      pattern: "[0-9].[0-9].[0-9]"
  - reference_db_version:
      type: value
      description: Database version of ABRicate used
      pattern: "[0-9][0-9][0-9][0-9]-[A-Z][a-z][a-z]-[0-9][0-9]"

output:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"
  - json:
      type: file
      description: hAMRonised report in JSON format
      pattern: "*.json"
  - tsv:
      type: file
      description: hAMRonised report in TSV format
      pattern: "*.json"

authors:
  - "@jasmezz"
