KTIMPORTTAXONOMY(1)
β¨ NAME β¨
okay so bestie, meet ktImportTaxonomy β it's the manual page (section 1, user commands π
) for the tool that lets you explore hierarchical metagenomic data with zoomable pie charts. π₯§π¦ iconic behavior honestly.
πΈ DESCRIPTION πΈ
so what it does: it creates a Krona chart based on taxonomy IDs and, optionally, magnitudes and scores. π
and here's the lil glow-up it does for you: taxonomy IDs that correspond to a rank of "no rank" in the database get assigned to their parents so the hierarchy stays less cluttered. like for example, "Cellular organisms" will be assigned to "root". it's giving tidy. β¨
here's the whole vibe, the shape of the command:
ktImportTaxonomy \
[options] \ taxonomy_1[:magnitudes_1][,name_1] \
[taxonomy_2[:magnitudes_2][,name_2]] \ ...
π«Ά the inputs, explained
taxonomyβ a tab-delimited file with taxonomy IDs and (optionally) query IDs, magnitudes and scores. by default, query IDs, taxonomy IDs and scores will be taken from columns1,2and3, respectively (peep-q,-t,-s, and-mfor that). lines beginning with"#"will be ignored, no cap. and by default, separate datasets will be created for each input (see[-c]).magnitudesβ an optional file listing query IDs with magnitudes, separated by tabs. this one is lowkey important: it can be used to account for read length or contig depth to obtain a more accurate representation of abundance. π by default, query sequences without specified magnitudes will be assigned a magnitude of1. and oh β magnitude files for assemblies in ACE format can be created withktGetContigMagnitudes. handy fr.nameβ a name to show in the list of datasets in the Krona chart (only if multiple input files are present and[-c]is not specified). by default, the basename of the file will be used. simple, cute, done. π
π the options, all of them, we're not skipping a single one
[-o <string>]β output file name. [Default:'taxonomy.krona.html'] π[-n <string>]β name of the highest level. [Default:'Root'] π[-i]β include a wedge for queries with no hits. like, don't ghost the misses. π[-c]β combine data from each file, rather than creating separate datasets within the chart. one big chart, main character energy.[-q <integer>]β column of input files to use as query ID. required if magnitude files are specified. [Default:'1'] π«Ά[-t <integer>]β column of input files to use as taxonomy ID. [Default:'2'][-s <integer>]β column of input files to use as score. [Default:'3'][-m <integer>]β column of input files to use as magnitude. heads up: if magnitude files are specified, their magnitudes will override those in this column. override, periodt.[-d <integer>]β maximum depth of wedges to include in the chart. don't go too deep bestie.[-k]β show the"cellular organisms"taxon (it's collapsed by default). it was hiding. not anymore. β¨[-K]β collapse assignments to taxa with ranks labeled"no rank"by moving up to parent. π§[-x <integer>]β hue (0-360) for"bad"scores. [Default:'0'][-y <integer>]β hue (0-360) for"good"scores. [Default:'120'] π[-u <string>]β URL of Krona resources to use instead of bundling them with the chart (e.g."http://krona.sourceforge.net"). it reduces size of charts and allows updates, though β real talk β charts will not work without access to this URL. π[-qp <string>]β url to send query IDs to (instead of listing them) for each wedge. the query IDs will be sent as a comma separated list in the POST variable"queries", with the current dataset index (from0) in the POST variable"dataset". the url can include additional variables encoded via GET. iykyk.[-tax <string>]β path to directory containing a taxonomy database to use. [Default:'/usr/share/perl5/KronaTools/taxonomy'] π
heads up bestie: that -u thing is the one to watch. charts will not work without access to that URL, so don't come for me later. π
and that's the whole page, we ate. π no crumbs. this was ktImportTaxonomy version 2.8, dated June 2021 β shoutout to the source/version and date, we love a timestamped queen. ππΈ mwah, go make a pie chart. π₯§β¨
π¦ where this page comes from
- debian bookworm: radiant 2.8.1+dfsg-2 Β· BSD-3-Clause
- debian trixie: radiant 2.8.1+dfsg-2 Β· BSD-3-Clause
- ubuntu jammy: radiant 2.8.1+dfsg-1 Β· BSD-3-Clause
- ubuntu noble: radiant 2.8.1+dfsg-2 Β· BSD-3-Clause
- ubuntu questing: radiant 2.8.1+dfsg-2
- ubuntu resolute: radiant 2.8.1+dfsg-2build1 Β· BSD-3-Clause
- ubuntu stonking: radiant 2.8.1+dfsg-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms