Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With PFAM server going away, create domain graphics locally #42

Open
ChrisMoth opened this issue Sep 14, 2022 · 0 comments
Open

With PFAM server going away, create domain graphics locally #42

ChrisMoth opened this issue Sep 14, 2022 · 0 comments

Comments

@ChrisMoth
Copy link
Contributor

From: Gustavo A. Salazar via RT interhelp@ebi.ac.uk
Sent: Monday, September 12, 2022 9:20 AM
To: Moth, Christopher W chris.moth@vanderbilt.edu
Subject: Re: [interhelp #611641] Will PFAM graphics JSON generation be moved to interpro?

Hello there,

Thanks for your email.

Are you interested in the data itself? meaning, the coordinates matches, length of the protein, etc. If so you can get the same information, although in a different format from the InterPro API.
If you want the Pfam matches for the example protein P45381 you can get them from:
https://www.ebi.ac.uk/interpro/api/entry/pfam/protein/uniprot/P45381

please notice you can change that URL to get InterPro matches as well:

https://www.ebi.ac.uk/interpro/api/entry/interpro/protein/uniprot/P45381

The example you shared includes per-residue information, which you can also get from InterPro at

https://www.ebi.ac.uk/interpro/api/protein/uniprot/P45381?residues

and some proteins also have some annotations from other sources such as mobidb, phobias, etc. You can get that info from our API using a URL like:

https://www.ebi.ac.uk/interpro/api/protein/uniprot/P45381?extra_features

which in this particular example is empty.

However, as you can notice from these examples, we are not including style information (color, shape, etc) in any of those responses, and it is not part of our current plans to do so.

On the other hand, if what you are interested in, is the generation of the graphics using the JSON provided I would recommend having a look at this repo:

https://proteinswebteam.github.io/domain-gfx/

Which is the library pfam uses to do so.

Hope this helps, cheers,

Gustavo

My generating note to interpro helpdesk

Congratulations on the PFAM website move to INTERPRO.

We have used the PFAM domain graphics generator in our pipeline, and are curious as to whether this service will continue.

Example:

We also can build these json dictionaries ourselves from the interpro match_complete.xml entries. But the convenience of being able to get these graphics for canonical uniprot transcripts has been much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant