jbisanz/qiime2R

OTU with sequence instead of unique identifier as row names?

Closed this issue · 1 comments

I'm trying to create a phyloseq object from a qza OTU table. I have my taxa table and metadata, but the tax_table has the sequences only, and my OTU table pulled from read_qza has the identifiers only.

Essentially I'm trying to match CCTATATGCG to b99fkbbnoa9039iw. Is there a better way than otus <- qzafile$data to pull an OTU table, where I can specify that I want the sequence as the row name, not the random identifier?

thank you!!

I ended up just manually renaming them by copying the rownames(taxid) to rownames(otus).