Closed shenwei356 closed 6 years ago
Are you planning to support filtering to output a subset of ranks?
"taxonkit list" can do this when you provide the taxid of the ranks
I used grep and was happy that this toolkit works very well with piping. For example showing all subspecies of Vibrio in my custom Kraken database:
taxonkit --data-dir Kalamari_v3.4/taxonomy list --ids 662 --show-name --show-rank | grep -v 'no rank' | grep -v 'Vibrio sp'
I'd imagine that you could have an "or" in grep, something like
taxonkit --data-dir Kalamari_v3.4/taxonomy list --ids 662 --show-name --show-rank | grep -v 'tribe\|varietas'
@lskatz, grep -v -E 'tribe|varietas'
?
Yes that works, @shenwei356 !
OMG, so many ranks: