---
name: "ktImportText"
section: "1"
platform: "linux"
package: "radiant"
version: "2.8.1+dfsg-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ktImportText"
---

# ktImportText(1)

explore hierarchical metagenomic data with zoomable pie charts

## NAME

ktImportText - explore hierarchical metagenomic data with zoomable pie charts

## DESCRIPTION

-

  Creates a Krona chart from text files listing quantities and lineages.

-

  ktImportText \\

-

  \[options\] \\ text\_1\[,name\_1\] \\ \[text\_2\[,name\_2\]\] \\ ...

- text

  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. By default, separate datasets will be created for each input (see \[-c\]).

- name

  A name to show in the list of datasets in the Krona chart (if multiple input files are present and \[-c\] is not specified). By default, the basename of the file will be used.

-

  - \[-o \<string\>\]

  Output file name. \[Default: 'text.krona.html'\]

- \[-n \<string\>\]

  Name of the highest level. \[Default: 'all'\]

- \[-q\]

  Files do not have a field for quantity.

- \[-c\]

  Combine data from each file, rather than creating separate datasets within the chart.

- \[-u \<string\>\]

  URL of Krona resources to use instead of bundling them with the chart (e.g. "http://krona.sourceforge.net"). Reduces size of charts and allows updates, though charts will not work without access to this URL.
