Now that we have DML/DMR sets of interest, we need to know more information about where they’re located in the genome, including genomic distribution (representation among introns, exons, intergenetic regions, etc.) and, for intragenic features, the function of those genes. Here I’ll build a Uniprot/Swissprot lookup table of GO terms for the C. virginica genome (3.0) so that I can functionally annotate our features of interest
I largely followed the Roberts Lab Handbook’s GO/GOslim workflow
The basic workflow is as follows:
Obtain the C.virginica proteome and BLAST it against the SwissProt database to obtain top-match functional annotations for each protien
Map the C.virginica protiens to corresponding genes
Using each gene’s mapped SwissProt ID, retrieve corresponding GO terms from Uniprot
Map obtained GO terms to GOslims
Compile all of this into a lookup table. For each gene we can see Gene ID, Protein ID, SPID, BLAST stats (% identity match, evalue, etc.), Protein name, organism name, and GO terms (BP, CC, MF, GOslim terms)
Note that this approach, which initially BLASTs against the C. virginica proteome, inherently limits our annotation to protein-coding genes – noncoding features (tRNA, lncRNA, etc.) are excluded.
Full code can be found at 14-functional-annotation.
Primary stats:
Breakdown of proteome-based annotation
| n_genes_total | n_genes_annotated | pct_annotated | n_unique_SPIDs |
|---|---|---|---|
| 34608 | 21123 | 61 | 11063 |
61% of genes have functional annotations available – not terrible in the invert world!
Note that not all genes with SPID annotations mapped to GO terms
| n_genes_annotated | n_with_GO | n_with_GOslim_BP |
|---|---|---|
| 21123 | 20516 | 16372 |
Breakdown of the most common GO terms
| Term | Count | Percent | |
|---|---|---|---|
| GO:0048856 | anatomical structure development | 2068 | 21.2 |
| GO:0030154 | cell differentiation | 914 | 9.4 |
| GO:0023052 | signaling | 909 | 9.3 |
| GO:0002376 | immune system process | 550 | 5.6 |
| GO:0006629 | lipid metabolic process | 323 | 3.3 |
| GO:0022414 | reproductive process | 310 | 3.2 |
| GO:1901135 | carbohydrate derivative metabolic process | 293 | 3.0 |
| GO:0055085 | transmembrane transport | 239 | 2.4 |
| GO:0055086 | nucleobase-containing small molecule metabolic process | 234 | 2.4 |
| GO:0016192 | vesicle-mediated transport | 228 | 2.3 |
| GO:0048870 | cell motility | 196 | 2.0 |
| GO:0012501 | programmed cell death | 194 | 2.0 |
| GO:0007010 | cytoskeleton organization | 190 | 1.9 |
| GO:0065003 | protein-containing complex assembly | 160 | 1.6 |
| GO:0061024 | membrane organization | 154 | 1.6 |
| GO:0034330 | cell junction organization | 122 | 1.3 |
| GO:0007155 | cell adhesion | 118 | 1.2 |
| GO:0000278 | mitotic cell cycle | 112 | 1.1 |
| GO:0003013 | circulatory system process | 107 | 1.1 |
| GO:0005975 | carbohydrate metabolic process | 104 | 1.1 |