Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use clusterProfiler package to do GO and KEGG enrichment Analysis with the Annotation results of eggnog-mapper Software

Shulou Source: shulou.com Published: 2022-06-02 03:56:50 10月03日 Update

This article will explain in detail how to use the clusterProfiler package to do GO and KEGG enrichment analysis using eggnog-mapper software annotation results. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

The first step is to use eggnog-mapper to annotate conda activate emapper.

Python emapper.py-I orgdb_example/GCF_000002945.1_ASM294v2_protein.faa-- output orgdb_example/out-m diamond-- cpu 8

Download the comment results locally, manually delete the first three lines with a pound sign, remove the pound sign at the beginning of the fourth line, and remove the line with the pound sign at the end of the file.

Using R language to sort out the annotation results into the input format required by the enricher function GO enrichment library (stringr)

Library (dplyr)

Egg

Tags: Comments results enrichment data analysis articles software code genes files functions more preparation loop input good practical next work content Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Docker MySQL Shulou Tech Info MariaDB