-
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
Reformat discards intermediate noranks #109
Comments
Wow, I've never met this kind of taxon 😢
|
I was thinking that it could assign each missing rank to the highest (i.e. closest to
PS - I am assuming |
For 1,2,3, it's the current way. But for 4, how do you know norank1 is a superkingdom, or norank2 is a phylum. No one can tell, I think. How many taxids of this kind are there? If there're a few of them, manually edit would be faster. 😞 |
In case 1, why should norank be a It is the same logic, when assigning norank1 to superkingdom and norank2 to phylum (or for that matter, norank1 to phylum and norank2 to class). We only know that they are between root and species, and so just assign one of the possible ones. |
Just a follow up, as far as I can see, right now What I suggest is to try to place the EDIT: it is a bit tricky to explain the issue but, in case it helps, it seems TaxAllnomy (paper) does it (among other things) and have a interactive website to visualize the "fixed" NCBI taxonomy. |
Prerequisites
taxonkit version
Describe your issue
When running:
I get:
However, the taxon
2399
has other ranks:and taxon
2646461
is belowPorphyridium
with nameunclassified Porphyridium
.Would it be possible to get:
I tried
--pseudo-strain
, but it just adds the last rank (ifnorank
) to the subspecies. For node2646461
works ok but the rest is abovespecies
so it does not make much sense (and that info is lost from the children nodes):I also tried the option
--fill-miss-rank
but it fills in from the top-down and all intermediate ranks are lost:Thanks,
The text was updated successfully, but these errors were encountered: