shenwei356 / taxonkit

A Practical and Efficient NCBI Taxonomy Toolkit, also supports creating NCBI-style taxdump files for custom taxonomies like GTDB/ICTV
https://bioinf.shenwei.me/taxonkit
MIT License
369 stars 29 forks source link

"out of range" error for Reformat on long taxonomic strings #52

Closed mycowx closed 2 years ago

mycowx commented 2 years ago

Prerequisites

Describe your issue

echo 101020 | taxonkit reformat - 11:51:03.201 [ERRO] lineage-field (2) out of range (1):101020

shenwei356 commented 2 years ago

Add -I 1

https://bioinf.shenwei.me/taxonkit/usage/#reformat

mycowx commented 2 years ago

Oops.. My bad. Thanks.