Dear Giulio,
Many alternatives are available such as org.Hs.xx or biomaRt. However, you
can query UniProt web site (http://www.uniprot.org/faq/28) using RCurl.

library(RCurl)
textGather = basicTextGatherer()
handle     = getCurlHandle(writefunction = textGather$update, followlocation
= TRUE, verbose = TRUE)
curlPerform(url="
http://www.uniprot.org/uniprot/?format=tab&query=accession:Q7VYR0&columns=id,protein%20names",
curl = handle)
textGather$value()
[1] "Accession\tProtein names\nQ7VYR0\tGTP-binding elongation factor\n"
sapply(strsplit(strsplit(textGather$value(),split="\n")[[1]],split="\t"),as.character)
     [,1]            [,2]
[1,] "Accession"     "Q7VYR0"
[2,] "Protein names" "GTP-binding elongation factor"

Hope it works, for you
Kachelo

2010/3/5 Giulio Di Giovanni <perimessaggini@hotmail.com>

>
>
>
>
>
> Hi all,
>
>
>
> I'm working with proteins. Does anybody knows which is the easiest way and
> the appropriate package to retrieve some protein names starting from
> proteins codes?
>
> Example:
>
>
>
>
>
> Q7VYR0  ->  GTP-binding elongation factor
>
> CAA09473 -> P.69A protein (pertactin)
>
> AAA22974 -> filamentous hemagglutinin
>
>
>
> etc...
>
>
>
> Thanks a lot
>
>
>
> Giulio.
>
>
>
>
>
>
>
> _________________________________________________________________
> Proteggi i tuoi segreti con internet Explorer 8
>
> r-online.aspx
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

