Entering edit mode
I would like to find the protein sequence for human APOB.
I was not able to query by "APOB" so I first looked up the Entrez ID, 338.
libraryUniProt.ws)
human <- UniProt.ws(9606)
keys <- c("338")
columns <- c("SEQUENCE","UNIPROTKB","PDB")
kt <- "ENTREZ_GENE"
res <- select(human, keys, columns, kt)
This returns the main protein, but also two variants. One variant is labeled "Apolipoprotein B variant". How can I add this label so that I am able to determine the one I want.
Also, can I search "ABOB" directly rather than going through the Entrez ID? Thanks!
James MacDonald's suggestion worked for this part.
keys <- c("APOB")
columns <- c("SEQUENCE","UNIPROTKB","PDB","GENECARDS")
kt <- "GENECARDS"
res <- select(human, keys, columns, kt)
Thanks James! "GENECARDS" did indeed link the name. Do you have any suggestions about adding the variant information I describe above?