Annotate Uniprotac With Taxonomic Lineage
1
0
Entering edit mode
10.7 years ago

Hello!

I need your advice on how to annotate the protein (uniprotAC) with taxonomy lineage.

http://www.uniprot.org/uniprot/?query=$(QueryProperty)&format=tab&columns=$(columns)

where columns are

id,genes,domains,ec,database(PDB),organism,organism-id

Actually I got lost on the step to provide the correct name for taxonomy lineage column. Any suggestions?

Many thanks!

uniprot • 3.0k views
ADD COMMENT
0
Entering edit mode

Sorry, but I don't understand what you are trying to do. Could you add an example of what your input is, and what you expect as output?

ADD REPLY
0
Entering edit mode

on the uniprot page there is a info: Taxonomic lineage Eukaryota › Metazoa › Chordata › Craniata › Vertebrata › Euteleostomi › Mammalia › Eutheria › Euarchontoglires › Primates › Haplorrhini › Catarrhini › Hominidae › Homo

I want to download that data...

ADD REPLY
0
Entering edit mode

You have to parse the xml or text file by a python or other program.

ADD REPLY
0
Entering edit mode

I was looking for other solutions, parsing txt/xml will take a lot of time. I am currently using only mammals list - that can help, but it need an update.

ADD REPLY
0
Entering edit mode

Sorry to burst your bubble, but parsing txt/xml is incredibly fast. Just use a library such as lxml or w/e. Or get it on json instead, and use a simplejson flavor.

Anyway, the easiest solution would probably be:

Get all IDs for your query using http://www.uniprot.org/uniprot/?query=$(QueryProperty)&format=tab&columns=$(columns)

Then download the respective text file: http://www.uniprot.org/uniprot/$(id).txt and extract the OC lines.

ADD REPLY
0
Entering edit mode

Yes, I did that way. But I was looking for "online" solution, so I can check on the flight, esp. when the UNIPROT is updated regularly...thus I need update the list, also regularly.

ADD REPLY
0
Entering edit mode

You might have better luck using the Uniprot API, though I've never used it, so I don't know if more options are available. If you will be doing it very often, I would drop a mail to the Uniprot helpdesk, asking for that piece of information to be added. Seeing as they release every four weeks, you might get lucky.

ADD REPLY
0
Entering edit mode
9.1 years ago
txino • 0

Instead of suggesting a problem in the question you could answer what the guy is asking:

http://www.uniprot.org/uniprot/?query=accession:Q7DDU3&columns=id,lineage(ALL)&format=tab

I found the answer checking uniprot cookies

OCS

ADD COMMENT

Login before adding your answer.

Traffic: 2678 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6