-
Notifications
You must be signed in to change notification settings - Fork 105
Add descriptions
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_metagenome_out/pred_metagenome_unstrat.tsv.gz -m EC \
-o EC_metagenome_out/pred_metagenome_unstrat_descrip.tsv.gz
add_descriptions.py -i KO_metagenome_out/pred_metagenome_unstrat.tsv.gz -m KO \
-o KO_metagenome_out/pred_metagenome_unstrat_descrip.tsv.gz
add_descriptions.py -i pathways_out/path_abun_unstrat.tsv.gz -m METACYC \
-o pathways_out/path_abun_unstrat_descrip.tsv.gz
Note that as of PICRUSt2-v2.6.0, this script will become add_descriptions_oldIMG.py
instead. This script will instead work with the new PICRUSt2-MPGA database. Please see the details on our new updated database here.
Arguments/options:
-
-i
: Input function abundance table. -
-o
: Output function abundance table with added description column. -
-m
: Mapping table to use (if one of the default tables should be used). -
--custom_map_table
: Custom mapfile to use if using a non-default function database.
Please first check our FAQ if you have any questions about PICRUSt2.
For other general questions and comments about PICRUSt2 please search the PICRUSt google group. If the question has not been previously answered then please make a new thread.
To report a bug or to make a feature request please make a new issue at the top of this page.