PICRUSt全稱為PhylogeneticInvestigation of Communities by Reconstruction of Unobserved States,由Langille等人於2013年開發,文章發表在Nature Biotechnology上(Langille et al. 2013)。它是最早被開發的基於16S rRNA基因序列預測微生物群落功能的工具,包括在線版(http://huttenhower.sph.harvard.edu/galaxy/root?tool_id=PICRUSt_normalize)和基於MacOS X或Linux系統的下載安裝版(http://picrust.github.io/picrust/install.html#install)。conda install -c bioconda picrustdownload_picrust_files.py
# 手動安裝準備環境pip installnumpy==1.5.1sudo apt-get install libhdf5-devsudo apt-get install python-h5py##如果運行腳本遇到numpy相關的問題,更新幾個相關的庫pip install --upgrade numpy scipy pandaswgethttps://github.com/picrust/picrust/releases/download/1.1.0/picrust-1.1.0.tar.gztar -xzf picrust-1.1.0.tar.gz#下載好的 **16S拷貝數** 及ko文件放在picrust/data文件夾wgethttp://kronos.pharmacology.dal.ca/public_files/picrust/picrust_precalculated_v1.1.3/13_5/16S_13_5_precalculated.tab.gzwget http://kronos.pharmacology.dal.ca/public_files/picrust/picrust_precalculated_v1.1.3/13_5/ko_13_5_precalculated.tab.gzwget http://kronos.pharmacology.dal.ca/public_files/picrust/picrust_precalculated_v1.1.3/13_5/cog_13_5_precalculated.tab.gzsudo python setup.py installwgetftp://greengenes.microbio.me/greengenes_release/gg_13_5/gg_13_5_otus.tar.gztar xvzfgg_13_5_otus.tar.gz./usearch10-usearch_. /seqs_usearch.fa -db gg_13_5_otus/rep_set/97_otus.fasta -otutaboutresult/gg135_otu_table.txt -biomout result/gg135_table.biom -strand plus -id0.97 -threads 10biom convert -iresult/gg135_otu_table.txt -o result/gg135_otu_table.biom--table-type="OTU table" --to-jsonnormalize_by_copy_number.py-i result/gg135_table.biom -o normalized_otus.biom # 用usearch的biom結果會報錯normalize_by_copy_number.py-i result/gg135_otu_table.biom -o result/normalized_otus.biom -cpicrust/picrust/data/16S_13_5_precalculated.tab.gzpredict_metagenomes.py-i result/normalized_otus.biom -o result/metagenome_predictions.biom -cpicrust/picrust/data/ko_13_5_precalculated.tab.gzbiom convert -iresult/metagenome_predictions.biom -o result/metagenome_predictions.txt--table-type="OTU table" --to-tsvsed -i '/#Const/d;s/#OTU //g' result/metagenome_predictions.txt# 預覽KO表,和OTU表類似,只是OTU變為了KOlessresult/metagenome_predictions.txtwc -lresult/metagenome_predictions.txt# -c指輸出類型,有KEGG_Pathways,COG_Category(2級),RFAM三種,-l是級別categorize_by_function.py-i result/metagenome_predictions.biom -c KEGG_Pathways -l 1 -oresult/metagenome_predictions.L3.biomcategorize_by_function.py-i result/metagenome_predictions.biom -c KEGG_Pathways -l 2 -oresult/metagenome_predictions.L3.biomcategorize_by_function.py-i result/metagenome_predictions.biom -c KEGG_Pathways -l 3 -oresult/metagenome_predictions.L3.biomCOGcategorize_by_function.py -iresult/metagenome_predictions.biom -c COG_Pathways -l 1 -oresult/metagenome_predictions.L3.biomcategorize_by_function.py-i result/metagenome_predictions.biom -c COG_Pathways -l 2 -oresult/metagenome_predictions.L3.biombiom convert -iresult/metagenome_predictions.L3.biom -o result/metagenome_predictions.L3.txt--table-type="OTU table" --to-tsvsed -i '/#Const/d;s/#OTU //g' result/metagenome_predictions.L3.txt# 查找指定通路的豐度情況(可選,用於具體查看某個KO)metagenome_contributions.py-i result/normalized_otus.biom -l K00001,K00002,K00004 -oresult/ko_metagenome_contributions.tab
「 往期回顧 」
【Nature Communication】16S rRNA基因全長測序分析微生物菌群
【生信篇】Qiim2使用(二)
【市場活動】安山生物擴增子(16S/18S/ITS)測序分析服務
【生信篇】Qiime2使用(一)
【ISME】多組學結合探索海洋微生物及其功能
【軟體推薦】GraphPad Prism 7.0繪圖軟體應用
【Nature】腸道菌群基因結構變異關聯宿主健康
【客戶文章】安山生物協助客戶發文Environment International
【Science】宏基因組研究發現奶牛瘤胃生物質降解基因和基因組
安山(天津)生物科技有限公司位於天津市濱海新區中關村科技園,這裡風景優美,具有良好的生態環境。安山生物專注於新一代基因組學技術在生命科學研究和人類醫學健康領域的產業化應用。為生命科學科研工作者提供系統化解決方案,同時努力發展臨床醫學及健康相關領域精準基因檢測、輔助診療業務。安山生物立足於先進的基因組學技術,提供新一代測序技術服務,已與高校院所和研發機構開展科研合作,旨在發展基因銀行,建立集科研服務,基因儲備檢測及個性化用藥指導為一體的綜合平臺。歡迎有志之士參與支持,共謀發展。