MiMI Web Service Guide
Base URL:
http://mimi.ncibi.org/MimiWeb/fetch.jsp?
URL Parameters:
search
Search term to perform a general MiMI free-text search.
geneid
Geneid is the Entrez GeneId for a gene.
cid
Cid is the KEGG compound ID
rid
Rid is the KEGG reaction ID.
type
Type is the type of data to return. Currently supported types are "reactions", "interactions", and "compounds." If not specified then the default is "interactions".
The types return the following information:
- interactions - A list interactions (and associated data) for the given geneid.
- reactions - A list of reactions (and associated data) that the given geneid participates in as an enzyme
- compounds - A list of compounds (and associated data) with which a given geneid is associated.
- nlp - A list of literature derived interactions (and relevant sentence) discovered using Natural Language Processing.
The following are valid parameter combinations:
search
geneid & type
cid
rid
Examples:
http://mimi.ncibi.org/MimiWeb/fetch.jsp?search=pwp1
http://mimi.ncibi.org/MimiWeb/fetch.jsp?geneid=1436
http://mimi.ncibi.org/MimiWeb/fetch.jsp?geneid=1436&type=interactions
http://mimi.ncibi.org/MimiWeb/fetch.jsp?geneid=1436&type=reactions
http://mimi.ncibi.org/MimiWeb/fetch.jsp?geneid=7389&type=compounds
http://mimi.ncibi.org/MimiWeb/fetch.jsp?geneid=4005&type=nlp
http://mimi.ncibi.org/MimiWeb/fetch.jsp?cid=C00061
http://mimi.ncibi.org/MimiWeb/fetch.jsp?rid=R00548
Output:
The XML returned is divided into two sections. The Request section echos the input parameters and the values of unset parameters. The Response section holds the data from the query.
Sample Code For Retrieving and Parsing NCIBI MiMI Data
The following three examples show how to interact with the NCIBI MiMI web service by querying for interactions and reactions. Samples 1 and 2 query the NCIBI-MiMI-WS. Sample 3 shows a combined query to the NCIBI-MiMI-WS and eUtils. The examples are shown in Java and Perl. Sample 4 shows a query combining NCBI's Eutils and three of NCIBI's web services: NLP, Gene2MeSH, and MiMI.
Sample 1 - Java, Perl
Sample 2 - Java, Perl
Sample 3 - Java, Perl
Sample 4 - Perl