-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter of ranks without order #97
Comments
Thanks for reporting this. It's fixed. |
Thank you! Would it also be possible to implement the Additionally, the help page could me more clear:
The taxid is not only discarded 'when the rank of the closest higher node is lower than rank cutoff' but also when the rank is equal. |
You're right. I'll update the doc.
|
Indeed, It would be useful to have something like: |
Oh, I remember now. I've considered this before but did not implement it because they are different for I understand what you mean. But I think we should add another flag
|
Prerequisites
taxonkit version
Describe your issue
In the documentation, it mentions:
This means
!no rank
and!clade
are defined as rank without order.The documentation also states:
Following Taxid has rank
clade
:1783270 cellular organisms;Bacteria;FCB group FCB group clade
As expected, the taxid is not filtered out with following command:
echo 1783270 | ./taxonkit filter -L species
However, why is it filtered out when using
-H
?echo 1783270 | ./taxonkit filter -H species
Based on point 5 in the documentation, TaxIDs with no rank are kept by default, so I would expect them to be kept with both
-L
and-H
The text was updated successfully, but these errors were encountered: