Russel88 / MicEco

Various functions for analysis of microbial community data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using community_rrna with Silva reference database for taxonomy

bippuspm opened this issue · comments

Hi,

I'm trying to use the community_rrna function but I have trained my taxa from the Silva database because Greengenes hasn't been updated. The function says I can use an OTU-table with taxa as rows and OTU names as rownames and a dataframe with two variables: "ID" is the OTU id matched by rownames in x and "Copy" is the copy number. However, that doesn't include any sample information. Shouldn't the OTU table have OTUs as rownames and samples as column names and the frequency of each OTU in each sample?

If this doesn't work, can you post the fasta file you used from Greengenes to assign taxonomy in your phyloseq?

Thanks!

Hi,

Yes, the OTU-table should have samples as columns and the frequency of them. This function was written back when Greengenes wasn't so outdated. I would suggest that you align your OTUs against the rrnDB database. This way you can obtain a data.frame with the estimated copy number for each OTU: https://rrndb.umms.med.umich.edu/

Cheers,
Jakob

Hi Paige,

Could you send the code you used and the full error message. It's hard to say what has gone wrong from what you write.

Closing due to no answer