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
Update handling of NCBI Taxonomy ranks in ComparaTree (#1104)
* Update NCBI Taxonomy rank order in ComparaTree
* Treat taxa of rank clade as having no rank
* Take next most basal rank for unranked taxon
* Prevent infinite loop when fetching closest hierarchical rank
* Add comment on NCBI Taxonomy depth cutoff
* Add clarifying note about rank order in ComparaTree
Copy file name to clipboardExpand all lines: modules/EnsEMBL/Web/Component/Gene/ComparaTree.pm
+81-7Lines changed: 81 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -488,7 +488,71 @@ sub collapsed_nodes {
488
488
}
489
489
} elsif ($action =~ /rank_(\w+)/) {
490
490
my$asked_rank = $1;
491
-
my@rank_order = qw(subspecies species subgenus genus subfamily family superfamily parvorder infraorder suborder order superorder infraclass subclass class superclass subphylum phylum superphylum subkingdom kingdom superkingdom);
491
+
492
+
# Rank order info as described in
493
+
# Schoch et al. (2020) NCBI Taxonomy: a comprehensive update on curation, resources and tools.
494
+
# <https://europepmc.org/article/MED/32761142>,
495
+
# with some updates based on NCBI Insights (2024-06-04) Upcoming changes to NCBI Taxonomy classifications.
0 commit comments