dipper.sources.Orphanet module

class dipper.sources.Orphanet.Orphanet(graph_type, are_bnodes_skolemized, data_release_version=None)

Bases: dipper.sources.Source.Source

Orphanet’s aim is to help improve the diagnosis, care and treatment of patients with rare diseases. For Orphanet, we are currently only parsing the disease-gene associations.

fetch(is_dl_forced=False)
Parameters:is_dl_forced
Returns:
files = {'disease-gene': {'file': 'en_product6.xml', 'url': 'http://www.orphadata.org/data/xml/en_product6.xml'}}
parse(limit=None)

abstract method to parse all data from an external resource, that was fetched in fetch() this should be overridden by subclasses :return: None