GO level 2 summary and barplot
This script count the number of gene of Gene Ontology(GO) level 2, and draw the bar chart.
The Gene Ontology website: http://geneontology.org/
Of course, you can try this http://wego.genomics.org.cn/cgi-bin/wego/index.pl, it do the same thing.
- python3
- obo_parser, from https://github.com/tanghaibao/goatools
- R and ggplot2
python3 GO_figure.py -i <gene_go_file> -o <out_prefix> -l level2 --obo <go-basic.obo>
picture example: