diff --git a/common/client-base/src/main/webapp/html/KnetMaps/config/url_mappings.js b/common/client-base/src/main/webapp/html/KnetMaps/config/url_mappings.js index 90ea20b66..43bb0117c 100644 --- a/common/client-base/src/main/webapp/html/KnetMaps/config/url_mappings.js +++ b/common/client-base/src/main/webapp/html/KnetMaps/config/url_mappings.js @@ -9,6 +9,7 @@ var url_mappings= { {"cv": "CHEMBL", "weblink": "https://www.ebi.ac.uk/chembldb/compound/inspect/", "cc_restriction": ""}, {"cv": "CHEMBLASSAY", "weblink": "https://www.ebi.ac.uk/chembldb/assay/inspect/", "cc_restriction": ""}, {"cv": "CHEMBLTARGET", "weblink": "https://www.ebi.ac.uk/chembldb/target/inspect/", "cc_restriction": ""}, + {"cv": "CIRAD", "weblink": "http://sugarcane-genome.cirad.fr/feature/", "cc_restriction": ""}, {"cv": "CO", "weblink": "http://www.cropontology.org/terms/CO_321:", "cc_restriction": ""}, {"cv": "DOI", "weblink": "http://dx.doi.org/", "cc_restriction": ""}, {"cv": "DrugBank", "weblink": "https://www.drugbank.ca/drugs/", "cc_restriction": ""}, @@ -24,7 +25,7 @@ var url_mappings= { {"cv": "GENOSCOPE", "weblink": "http://www.genoscope.cns.fr/brassicanapus/cgi-bin/gbrowse/colza/?name=", "cc_restriction": ""}, {"cv": "GO", "weblink": "http://www.ebi.ac.uk/QuickGO/term/", "cc_restriction": ""}, {"cv": "INTACT", "weblink": "http://www.ebi.ac.uk/intact/pages/interactions/interactions.xhtml?query=", "cc_restriction": ""}, - {"cv": "IPRO", "weblink": "http://www.ebi.ac.uk/interpro/IEntry?ac=", "cc_restriction": ""}, + {"cv": "IPRO", "weblink": "http://www.ebi.ac.uk/interpro/entry/", "cc_restriction": ""}, {"cv": "KEGG", "weblink": "http://www.genome.jp/dbget-bin/www_bget?cpd:", "cc_restriction": "Comp"}, {"cv": "MC", "weblink": "http://metacyc.org/META/substring-search?type=NIL&object=", "cc_restriction": ""}, {"cv": "NC_GE", "weblink": "http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&term=", "cc_restriction": ""}, diff --git a/common/client-base/src/main/webapp/html/KnetMaps/javascript/knet-itemInfo.js b/common/client-base/src/main/webapp/html/KnetMaps/javascript/knet-itemInfo.js index 0b1d3ca10..61f4594b5 100644 --- a/common/client-base/src/main/webapp/html/KnetMaps/javascript/knet-itemInfo.js +++ b/common/client-base/src/main/webapp/html/KnetMaps/javascript/knet-itemInfo.js @@ -172,6 +172,7 @@ KNETMAPS.ItemInfo = function() { if(url_mappings.html_acc[u].cv === accessionID) { coAccUrl= url_mappings.html_acc[u].weblink + co_acc; // co-accession url. if(accessionID === "CO") { coAccUrl= coAccUrl +"/"; } + coAccUrl= coAccUrl.replace('TO:','').replace('PO:',''); // remove TO: or PO:, if exists coAccUrl= coAccUrl.replace(/\s/g,''); // remove spaces, if any // open attribute url in new blank tab. co_acc= ""+ co_acc +"";