How to use web interface

The searching of disease and gene association is devided into following steps:
1. Entering the name of disease/gene into the search box, then the web will provide multiple disease(or gene) choices ranked by the string similarity of users’ input, the users could choose the one they exactly want:
error
2. After user selecting the disease/gene, we will display all the genes/diseases related to the user's selection by their relative :
error
The users can also sort the associations by pagerank score or frequency as their wish, just click on the corresponding column header(1 in pic above).
In addition, users can see all the synonyms of a gene or disease through the synset button(2 in pic above).
3. For each association result, user can see the evidence it based on(3 in pic above):
error
It displays 10 abstracts one page and all the synonyms of corresponding disease and gene are highlighted.

How to get data from program

We provide URLs for users to submit a request directly from a program and return Json-encoded results to the program:
Disease: http://gdr-web.rwebox.com/public_html/get-disease.php
Gene:http://gdr-web.rwebox.com/public_html/get-gene.php
There are multiple kinds of requests with different functions, see following table:
Request Name Value Description
name of a certain disease/gene Determine which disease/gene the user want to get information about.
sort 0(default) Sort the results by relative weighted pagerank score.
1 Sort the results by relative Frequency.
2 Sort the results by relative pagerank score.
3 Sort the results by a linear combination of the three kinds of scores.
p1 a real number The coefficient of weighted pagerank score in the linear function which defined only when sort = 3.
p2 a real number The coefficient of Frequency in the linear function which defined only when sort = 3.
p3 a real number The coefficient of pagerank score in the linear function which defined only when sort = 3.
f1 a real number Drop the result whose weighted pagerank score is less than f1.
f2 a real number Drop the result whose Frequency is less than f2.
f3 a real number Drop the result whose pagerank score is less than f3.
For example, you can get all the disease-gene associations and score of by simply downloading the html content of
http://gdr-web.rwebox.com/public_html/get-disease.php?name=lung+disease>
More over, you can add more features mentioned in the table above.
e.g. when you want to sort all the associations by value of :
http://gdr-web.rwebox.com/public_html/get-disease.php?name=lung+disease&sort=3&p1=1&p2=2
and if you want to filter the result which is less than 500: http://gdr-web.rwebox.com/public_html/get-disease.php?name=lung+disease&sort=3&p1=1&p2=2&f1=500
Following is a sample Python code:
import urllib2
import json

url = "http://gdr-web.rwebox.com/public_html/get-disease.php?name=lung+disease&sort=3&p1=1&p2=2&f1=500"
response = urllib2.urlopen(url)
data = json.loads(response.read())