haf
New Member
Posts: 1
|
Post by haf on Nov 26, 2021 5:49:45 GMT -5
Hi, I am trying to use David tools for pathway analysis and I am very new to bioinformatics  . The API links do not give me any data when I run them on python, infact i get an error: [Errno 8] nodename nor servname provided, or not known'. Also, clicking on the link takes me to a broken website. Can someone please help? This is the code I used to see if the links were working: # import requests module import requests # Making a get request response = requests.get('http://david.abcc.ncifcrf.gov/api.jsp?type=ENTREZ_GENE_ID&ids=2919,6347,6348,6364&tool=chartReport&annot=GOTERM_BP_FAT,GOTERM_CC_FAT,GOTERM_MF_FAT,INTERPRO,PIR_SUPERFAMILY,SMART,BBID,BIOCARTA,KEGG_PATHWAY,COG_ONTOLOGY,SP_PIR_KEYWORDS,UP_SEQ_FEATURE,GENETIC_ASSOCIATION_DB_DISEASE,OMIM_DISEASE') # print response print(response) response.content Thanks a lot!
|
|
Brad
DAVID Bioinformatics Team
Posts: 48
|
Post by Brad on Jan 28, 2022 10:42:56 GMT -5
Hello, Please try the following url instead changing "http" to "https" and removing the "abcc" portion: "https://david.ncifcrf.gov/api.jsp?type=ENTREZ_GENE_ID&ids=2919,6347,6348,6364&tool=chartReport&annot=GOTERM_BP_FAT,GOTERM_CC_FAT,GOTERM_MF_FAT,INTERPRO,PIR_SUPERFAMILY,SMART,BBID,BIOCARTA,KEGG_PATHWAY,COG_ONTOLOGY,SP_PIR_KEYWORDS,UP_SEQ_FEATURE,GENETIC_ASSOCIATION_DB_DISEASE,OMIM_DISEASE"Regards, Brad
|
|