Skip to content

Adding Taxonomic Ranks to Phyloseq? #118

You must be logged in to vote

Thank you! TLDR: qiime2R is the package responsible for handling the taxonomic ranks and modifying the code there solves the problem.

I did some digging this morning to locate where the taxonomy rank number and names come from during import from qiime2. qiime2R::parse_taxonomy() is responsible for handling this and is default set to the 7 taxonomic levels we learned as kids.

I was able to edit the function using trace("parse_taxonomy", edit=TRUE) to change the names of the taxonomic ranks and add the two that were missing. https://stackoverflow.com/questions/76717311/how-to-add-and-specify-additional-ranks-to-phyloseq-taxonomy for the full answer.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@kbdilliplaine

Answer selected by kbdilliplaine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants