KTGETTAXINFO(1)

πŸ’– ktGetTaxInfo β€” the vibe check on your metagenomic data πŸ’–

okay so bestie, welcome to ktGetTaxInfo from the User Commands crew ✨ this little icon literally helps you explore hierarchical metagenomic data with zoomable pie charts πŸ₯§πŸŒˆ no cap, it's giving main character energy for your taxonomy lookups.


🌸 NAME 🌸

ktGetTaxInfo β€” explore hierarchical metagenomic data with zoomable pie charts πŸ¦‹


✨ DESCRIPTION ✨

so here's the tea, bestie πŸ«–:

It retrieves taxonomy information for accessions or taxonomy IDs. You can hand those over as arguments, or it'll grab them from the first field of <stdin> β€” and yeah, they're separated by whitespace, just fyi πŸ’…

Now, the important part: if the input is a number, it is assumed to be a taxonomy ID. If it's not a number, it gets treated as an accession or a sequence ID that has an accession hiding in the fourth field of pipe notation πŸ‘€ like this:

gi|12345|xx|ABC123.1|

and yes, it ignores fasta/fastq tag markers [>,@] β€” so no stress about those little symbols, they're not gonna trip anything up πŸŽ€

🫢 Now the sad part: if taxonomy information was not found for a given input line, the output line will be only the taxonomy ID, which will be 0 if it was looked up from an accession but not found. Not the slay we wanted but at least you know what happened 😭

The output fields, in order, are:

taxID  depth  parent  rank  name

periodt. πŸ’…

🧚 Usage

ktGetTaxInfo [IDs ...] [< ID_list] > tax_info

🌈 Command line example

ktGetTaxInfo A00001.1 "gi|2|emb|A00002.1|" 9606

πŸ“ Fasta tag example

grep ">" sequence.fasta | ktGetTaxInfo

look at that pipeline glow-up πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

  • -p β€” Prepend tax info to the original lines (separated by tabs). putting the new stuff first, as a treat ✨
  • -a β€” Append tax info to the original lines (separated by tabs). new stuff goes at the end, ngl very demure πŸŽ€
  • -f <integer> β€” Field of accessions. [Default: '1'] β€” tell it which field your accessions are living in, bestie πŸ’…
  • -tax <string> β€” Path to directory containing a taxonomy database to use. point it at your tax db and let it cook 🍳

and that's the whole thing, bestie!! πŸ¦‹ go forth and get those tax IDs πŸ’–

this page is for ktGetTaxInfo 2.8, dated June 2021 πŸŽ€ ily, go slay your metagenomics βœ¨πŸ’…πŸ‘‘