OMA - How to retrieve orthologs of only one representative of each taxonomy rank?
1
0
Entering edit mode
6.3 years ago
anusblat • 0

Hello everybody? I want to retrieve the ortholog sequences of only one representative of each taxonomy rank (for expample phylum). For example: I have 338 orthologs of the Entry ASPTN10103 (Q0CIE2). I want to download only one (or two or three) representative of any different Phylum. Any one knows if this can be done? and how?

Kind regards, Thank you,

Alejandro

oma orthologs OMA Orthologs • 1.4k views
ADD COMMENT
1
Entering edit mode
6.3 years ago

You can use the REST API (https://omabrowser.org/api/docs), or if you are using R you could use our bioconductor package OmaDb (https://bioconductor.org/packages/release/bioc/html/OmaDB.html).

Either way, you could retrieve the taxonomy tree of all species in OMA (e.g. GET /api/taxonomy/?type=newick), retrieve the list of orthologs for your entry (GET /api/protein/ASPTN10103/orthologs/) and keep at most 1, 2 or 3 orthologs per phylum.

ADD COMMENT
0
Entering edit mode

Thanks Christophe,

I just read this reply a bit late. Sorry. Do you know if your answer can be done via website?

Alejandro

ADD REPLY
0
Entering edit mode

Not currently. But we have in the meantime released packages for Python and R, which should make it even more easy to perform the kind of specific search you seem to be looking to do:

https://f1000research.com/articles/8-42

ADD REPLY

Login before adding your answer.

Traffic: 2184 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