Arcadia-Science / sourmashconsumr

Working with the outputs of sourmash in R
https://arcadia-science.github.io/sourmashconsumr/
Other
21 stars 3 forks source link

Add functions to transform from sourmash taxonomy annotate outputs to phyloseq object #27

Closed taylorreiter closed 1 year ago

taylorreiter commented 1 year ago

As annotated here: https://taylorreiter.github.io/2022-07-28-From-raw-metagenome-reads-to-phyloseq-taxonomy-table-using-sourmash-gather-and-sourmash-taxonomy/

This function works for both GTDB and GenBank data base runs.

Imports the outputs of sourmash taxonomy annotate to a phyloseq object. Once in a phyloseq object, the object can be used for any sort of phyloseq analysis.

taylorreiter commented 1 year ago

LGTM! I have a general question/comment that I just now noticed - for functions related to a package such as metacoder/phyloseq the script is just named the package name such as phyloseq.R - is this fine in terms of clarity?

I'll change them! I'll go with from_taxonomy_annotate_to_metacoder.R and from_taxonomy_annotate_to_phyloseq.R