How to clean taxonomy file for microbiome analysis in R?
0
1
Entering edit mode
2.0 years ago
Amr ▴ 180

How to clean taxonomy file for microbiome analysis in R? should column names be changed? If yes what should be done? I want to perform

taxonomy microbiome_analysis • 1.0k views
ADD COMMENT
1
Entering edit mode

That is not a taxonomy file.

This is what a taxonomy file looks like (row names d__denovoXXX are the OTU/ASV ID):

## Taxonomy Table:     [5 taxa by 5 taxonomic ranks]:
##               Domain        Phylum             Class            Order              Family              
## d__denovo1773 "k__Bacteria" "p__Bacteroidetes" "c__Bacteroidia" "o__Bacteroidales" "f__Bacteroidaceae" 
## d__denovo1771 "k__Bacteria" "p__Bacteroidetes" "c__Bacteroidia" "o__Bacteroidales" "f__Bacteroidaceae" 
## d__denovo1776 "k__Bacteria" "p__Firmicutes"    "c__Clostridia"  "o__Clostridiales" "f__Ruminococcaceae"
## d__denovo1777 "k__Bacteria" "p__Bacteroidetes" "c__Bacteroidia" "o__Bacteroidales" "f__Bacteroidaceae" 
## d__denovo1775 "k__Bacteria" "p__Firmicutes"    "c__Clostridia"  "o__Clostridiales" "f__Lachnospiraceae"
ADD REPLY
0
Entering edit mode

I guess its a taxonomy file but before cleaning

ADD REPLY
1
Entering edit mode

I guess its a taxonomy file but before cleaning

No! It looks like a transposed ASV/OTU count table were the ASV/OTU id were replaced the corresponding taxonomic string.

ADD REPLY
0
Entering edit mode

So you mean that is an ASV file ? because I have the ASV file

ADD REPLY
0
Entering edit mode

where did you get this file? You should already have ASV/OTU count table, and a taxonomy file that look like the one I posted in my previous comment.

ADD REPLY

Login before adding your answer.

Traffic: 1844 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6