name: "krona_ktimporttext"
description: Creates a Krona chart from text files listing quantities and lineages.
keywords:
  - plot
  - taxonomy
  - interactive
  - html
  - visualisation
  - krona chart
  - metagenomics
tools:
  - krona:
      description: Krona Tools is a set of scripts to create Krona charts from several Bioinformatics tools as well as from text and XML files.
      homepage: https://github.com/marbl/Krona/wiki/KronaTools
      documentation: http://manpages.ubuntu.com/manpages/impish/man1/ktImportTaxonomy.1.html
      tool_dev_url: https://github.com/marbl/Krona
      doi: 10.1186/1471-2105-12-385
      licence: https://raw.githubusercontent.com/marbl/Krona/master/KronaTools/LICENSE.txt

input:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test']
  - report:
      type: file
      description: "Tab-delimited text file. Each line should be a number followed by a list of wedges to contribute to (starting from the highest level). If no wedges are listed (and just a quantity is given), it will contribute to the top level. If the same lineage is listed more than once, the values will be added. Quantities can be omitted if -q is specified. Lines beginning with '#' will be ignored."
      pattern: "*.{txt}"

output:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test' ]
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"
  - html:
      type: file
      description: A html file containing an interactive krona plot.
      pattern: "*.{html}"

authors:
  - "@jianhong"
