Using API calls and downloaded gene sets, I have been able to curate the gene and pathways associated with cancer from each of the databases, namely:
-
KEGG
-
Migsdb
-
Netpath
-
Pathway commons
-
Reactome
-
WikiPathways
Requests library for making API calls in python.
This code can obtain pathways and genes associated with all types of cancer. Depending on the researcher's need, the genes and pathway associations may be used for downstream analysis and processing.