Not sure if this is the right place to raise this so please close if not (following the example of raising issues around OLS).
The Zooma interface fails without any error message when using the examples. Switching search to use all ontologies works. Diagnosis is there are too many ontologies specified by default in the interface meaning nothing will work unless you unselect some. Error message from the API states there's a limit of 200 ontologies you can specify.
Looking at the interface search defaults to EFO and OBO Foundry which contains 216 ontologies. The interface encodes each and everyone. This is what was sent in the POST.
{"properties":[{"textToMap":"Homo sapiens","propertyType":"organism"},{"textToMap":"heart disease","propertyType":"disease"},{"textToMap":"BRCA1","propertyType":"gene"},{"textToMap":"cerebellum","propertyType":"organism part"},{"textToMap":"doxycycline","propertyType":"compound"},{"textToMap":"CD4-positive","propertyType":"cell type"},{"textToMap":"lung adenocarcinoma","propertyType":"disease"},{"textToMap":"C57Black/6","propertyType":"strain"},{"textToMap":"Bright nuclei"},{"textToMap":"Big cells"}],"model":"text-embedding-3-small","targetOntologies":["efo","uberon","cl","pcl","go","bspo","pato","oba","hp","mp","fypo","mondo","chebi","ro","ecto","envo","obi","maxo","eco","ncbitaxon","pr","ncit","po","ppo","to","peco","fbbt","foodon","pco","iao","mmo","mi","so","wbbt","wbls","wbphenotype","zfa","apo","mmusdv","hsapdv","vbo","uo","ado","aeo","afpo","agro","aism","amphx","apollo_sv","aro","bcgo","bco","bfo","bmont","bto","caro","cco","cdao","cdno","ceph","chiro","chmo","cido","cio","clao","clo","clyh","cmo","cob","colao","covoc","cro","cteno","cvdo","ddanat","ddpheno","dideo","disdriv","doid","dpo","dron","duo","ecao","ecocore","ehdaa2","emap","emapa","ensemblglossary","eupath","exmo","exo","fao","fbbi","fbcv","fbdv","fideo","flopo","fobi","fovt","gallont","gaz","gecko","genepio","geno","geo","gexo","gno","gold","gsso","hancestro","hao","hom","hso","iceo","ico","ido","idocovid19","idomal","ino","labo","lepao","lifestylefactors","ma","mco","mcro","mf","mfmo","mfoem","mfomd","miapa","micro","miro","mod","mop","mpath","mpio","mro","ms","msio","nbo","ncro","ngbo","nomen","oae","oarcs","obcs","obib","occo","ogg","ogms","ogsf","ohd","ohmi","ohpi","olatdv","omiabis","omit","omo","omp","omrse","one","ontoavida","ontoneo","oostt","opl","opmi","ornaseq","ovae","pbpko","pdro","pdumdv","phi","phipo","plana","planp","poro","prefer","pride","proco","psdo","pso","pw","rbo","reto","rexo","rs","rxno","scdo","sepio","sibo","slso","spd","stato","symp","t4fs","tads","tao","taxrank","tgma","trans","tto","txpo","unimod","upa","upheno","vario","vo","vsao","vt","vto","xao","xco","xlmod","xpo","zeco","zfs","zp"],"includeOtherOntologies":false,"filter":{"required":["sysmicro","atlas","ebisc","cttv","uniprot","eva-clinvar","cbi","clinvar-xrefs","metabolights","ukbiobank","EBI-BioSamples","FAANG","HCA","GWAS"],"preferred":["sysmicro","atlas","ebisc","cttv","uniprot","eva-clinvar","cbi","clinvar-xrefs","metabolights","ukbiobank","EBI-BioSamples","FAANG","HCA","GWAS"]}}
Not sure if this is the right place to raise this so please close if not (following the example of raising issues around OLS).
Issue
The Zooma interface fails without any error message when using the examples. Switching search to use all ontologies works. Diagnosis is there are too many ontologies specified by default in the interface meaning nothing will work unless you unselect some. Error message from the API states there's a limit of 200 ontologies you can specify.
Replicating the issue
Load examplesError provided is
{ "error": "Bad Request", "message": "'targetOntologies' cannot contain more than 200 items" }Looking at the interface search defaults to EFO and OBO Foundry which contains 216 ontologies. The interface encodes each and everyone. This is what was sent in the POST.
{"properties":[{"textToMap":"Homo sapiens","propertyType":"organism"},{"textToMap":"heart disease","propertyType":"disease"},{"textToMap":"BRCA1","propertyType":"gene"},{"textToMap":"cerebellum","propertyType":"organism part"},{"textToMap":"doxycycline","propertyType":"compound"},{"textToMap":"CD4-positive","propertyType":"cell type"},{"textToMap":"lung adenocarcinoma","propertyType":"disease"},{"textToMap":"C57Black/6","propertyType":"strain"},{"textToMap":"Bright nuclei"},{"textToMap":"Big cells"}],"model":"text-embedding-3-small","targetOntologies":["efo","uberon","cl","pcl","go","bspo","pato","oba","hp","mp","fypo","mondo","chebi","ro","ecto","envo","obi","maxo","eco","ncbitaxon","pr","ncit","po","ppo","to","peco","fbbt","foodon","pco","iao","mmo","mi","so","wbbt","wbls","wbphenotype","zfa","apo","mmusdv","hsapdv","vbo","uo","ado","aeo","afpo","agro","aism","amphx","apollo_sv","aro","bcgo","bco","bfo","bmont","bto","caro","cco","cdao","cdno","ceph","chiro","chmo","cido","cio","clao","clo","clyh","cmo","cob","colao","covoc","cro","cteno","cvdo","ddanat","ddpheno","dideo","disdriv","doid","dpo","dron","duo","ecao","ecocore","ehdaa2","emap","emapa","ensemblglossary","eupath","exmo","exo","fao","fbbi","fbcv","fbdv","fideo","flopo","fobi","fovt","gallont","gaz","gecko","genepio","geno","geo","gexo","gno","gold","gsso","hancestro","hao","hom","hso","iceo","ico","ido","idocovid19","idomal","ino","labo","lepao","lifestylefactors","ma","mco","mcro","mf","mfmo","mfoem","mfomd","miapa","micro","miro","mod","mop","mpath","mpio","mro","ms","msio","nbo","ncro","ngbo","nomen","oae","oarcs","obcs","obib","occo","ogg","ogms","ogsf","ohd","ohmi","ohpi","olatdv","omiabis","omit","omo","omp","omrse","one","ontoavida","ontoneo","oostt","opl","opmi","ornaseq","ovae","pbpko","pdro","pdumdv","phi","phipo","plana","planp","poro","prefer","pride","proco","psdo","pso","pw","rbo","reto","rexo","rs","rxno","scdo","sepio","sibo","slso","spd","stato","symp","t4fs","tads","tao","taxrank","tgma","trans","tto","txpo","unimod","upa","upheno","vario","vo","vsao","vt","vto","xao","xco","xlmod","xpo","zeco","zfs","zp"],"includeOtherOntologies":false,"filter":{"required":["sysmicro","atlas","ebisc","cttv","uniprot","eva-clinvar","cbi","clinvar-xrefs","metabolights","ukbiobank","EBI-BioSamples","FAANG","HCA","GWAS"],"preferred":["sysmicro","atlas","ebisc","cttv","uniprot","eva-clinvar","cbi","clinvar-xrefs","metabolights","ukbiobank","EBI-BioSamples","FAANG","HCA","GWAS"]}}