Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.61 KB

README.md

File metadata and controls

24 lines (12 loc) · 1.61 KB

pfamserver

A python service that expose an api to the pfam database.

build status

Example

A json API is available through https://localhost:5000/api/v0.

There are some special queries that join multiple tables and accept some specific parameters. This queries respond with a json dictionary with the "query" and "output" keys.

First, it is posible to obtain a list of pfamA registers from a uniprot_id (eg. http://localhost:5000/api/query/pfam_uniprot/egfr_human).

Also, it is available a way to recover a list of PDB registers from a "sequence description" (eg. http://localhost:5000/api/query/pdb_sequencedescription/egfr_human,57,168) where the 3 parameters are a uniprot_id, a seq_start and seq_end inside that uniprot register.

Last, it is posible to obtain an MSA in stockholm format through a pfamA_acc or pfamA_id (eg. http://localhost:5000/api/query/stockholm_pfam/piwi). The output value is zip compressed and then base 64 encoded, to optimize transport over the network.

Please, check http://localhost:5000/ for more updated examples.

About

This software is developed by LELOIR. You can contact us to eloy.colell@gmail.com.