LangilleLab / microbiome_helper

A repository of bioinformatic scripts, SOPs, and tutorials for analyzing microbiome data.
GNU General Public License v3.0
437 stars 205 forks source link

humann2_barplot #37

Closed lmanchon closed 5 years ago

lmanchon commented 5 years ago

--Hi,

is there a way to use humann2_barplot command to plot family of species per sample using 'humann2_genefamilies.tsv' file output ?

thank you --

gavinmdouglas commented 5 years ago

Hi there,

I believe that script will just plot the stratification for whatever taxa reported by HUMAnN2. Since the breakdown is reported at the species level I don't think there's a simple way to get the breakdown by family level.

I think the only way would be to write your own custom script that would convert the species labels to their respective family level labels. This has likely already been asked on the HUMAnN2 google group however, so I would recommend checking there as well.

Best,

Gavin