Home > Community > Mapping unique GO term description given a specific GO ids
Upvote

26

Downvote
+ Genomics
Posted by
Aditya Sharan

Mapping unique GO term description given a specific GO ids

Bring Back Democracy  Follow
library(biomaRt)mart <- biomaRt:::useMart(biomart = "ENSEMBL_MART_ENSEMBL", dataset = "drerio_gene_ensembl", host = "asia.ensembl.org")  v1 <- c("GO::0009055","GO:0016020","GO:0016491","GO:0006122","GO:0008121")go_list <- biomaRt:::getBM(attributes=c("go_id", "name_1006", "namespace_1003"),              filters = "go",              values = v1,              mart=mart, uniqueRows = TRUE)

so it is likely the "v1" that should not be in quotes

head(go_list)        go_id                                                   name_10061 GO:0016020                                                    membrane2 GO:0005739                                               mitochondrion3 GO:0005743                                mitochondrial inner membrane4 GO:0070469                                                 respirasome5 GO:0006122 mitochondrial electron transport, ubiquinol to cytochrome c6 GO:0001525                                                angiogenesis      namespace_10031 cellular_component2 cellular_component3 cellular_component4 cellular_component5 biological_process6 biological_process

More

Upvote

VOTE

Downvote
Esther Yeboah  Follow
when search filters option is used searchFilters(ensembl, pattern = "GO") . We get the above filters (ensembl, pattern = "GO") name description 12 with_go With GO ID(s) 13 with_goslim_goa With GOSlim GOA ID(s) 58 go GO ID(s) [e.g. GO:0000003] 59 goslim_goa GOSlim GOA ID(s) [e.g. GO:0000003] 183 go_evidence_code GO Evidence code. NO go_id filter exists.More
Upvote

VOTE

Downvote