Skip to content

Add descriptions

Gavin Douglas edited this page Aug 17, 2018 · 4 revisions

add_descriptions.py is a convenience script that will add a column to your table of gene family or pathway abundances corresponding to a quick description of each functional category. These descriptions are in picrust2/default_files/description_mapfiles. You can also use custom mapping files.

To add a description column to E.C. number, KO, and MetaCyc pathway abundance tables respectively:

add_descriptions.py -i EC_out/pred_metagenome_unstrat.tsv -m EC -o EC_out/pred_metagenome_unstrat_descrip.tsv

add_descriptions.py -i KO_out/pred_metagenome_unstrat.tsv -m KO -o KO_out/pred_metagenome_unstrat_descrip.tsv

add_descriptions.py -i pathways_out/path_abun_unstrat.tsv -m METACYC -o pathways_out/path_abun_unstrat_descrip.tsv