Open lhannest opened 5 years ago
Hi Lance, these are organized under the query endpoint in MyDisease.info. If you would like to use BioThings Explorer to query for variants related to a specific disease, you could do the following:
In [1]: from biothings_explorer_test import fetch_output
In [2]: fetch_output(input_prefix='mondo', output_prefix='dbsnp', input_value='0018911')
If you would like to use BioThings Explorer to query for genes related to a specific disease, you could do the following:
In [1]: from biothings_explorer_test import fetch_output
In [2]: fetch_output(input_prefix='mondo', output_prefix='ncbigene', input_value='0018911')
@lhannest Also, FYI, The python client for biothings explorer is still under development. There might be changes to some of the functions in the near future. Will keep you updated.
http://mydisease.info/v1/disease/MONDO:0018911 appears to relate MONDO:0018911 to genes and variants, but the biothings explorer client doesn't illuminate this.