You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after this line | taxonkit reformat -I 2 -f '{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{t}' -r "Unclassified" \
I recive in console:
...
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
14:11:29.082 [WARN] taxid 0 not found
...
Ok, but when I try to add header with | csvtk add-header -t -n seq,taxid,kindom,phylum,class,order,family,genus,species,strain > kraken2_console_out_taxonomy.tsv
I recive
[ERRO] record on line 10: wrong number of fields
Ez way is to skip all lines with taxid 0 but I need to keep them for downstream analysis. That is a problem.
How can I do that?
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for using TaxonKit. Now it outputs the same format for TaxIds not found in the database, and the missing default values can also be set with -r and R.
-r, --miss-rank-repl string replacement string for missing rank
-R, --miss-taxid-repl string replacement string for missing taxid
Hi there!
I try to classify my ASV after 16S/18S gene sequncing with kraken and get lineage for each taxid.
here is my pipe:
kraken2_console_out.tsv
looks like:after this line
| taxonkit reformat -I 2 -f '{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{t}' -r "Unclassified" \
I recive in console:
Ok, but when I try to add header with
| csvtk add-header -t -n seq,taxid,kindom,phylum,class,order,family,genus,species,strain > kraken2_console_out_taxonomy.tsv
I recive
Ez way is to skip all lines with
taxid 0
but I need to keep them for downstream analysis. That is a problem.How can I do that?
Thanks!
The text was updated successfully, but these errors were encountered: