From 47320c547f1a96bd262f38b07f9de0bc05e8779c Mon Sep 17 00:00:00 2001 From: gunturkunhakan Date: Sun, 6 Jun 2021 03:19:21 -0500 Subject: changes in custom ontology and search --- templates/ontology.html | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'templates/ontology.html') diff --git a/templates/ontology.html b/templates/ontology.html index 45c7c56..3f439c9 100644 --- a/templates/ontology.html +++ b/templates/ontology.html @@ -4,7 +4,7 @@
The custom ontology has four layers. The top layer is one single keyword serves as the name of the ontology. This keyword is used to select the ontology used for each search (i.e. via the dropdown menu). A new ontology will be created if the ontology does not already exist for the use. Keywords in the second layer describe the main concepts and are used to include/exclude groups of keywords for each search (via check boxes). All keywords under the same second layer are shown with the same color in the graphic output. Keywords in the third layer are shown in the results (both graphic and tabular). Keywords in the fourth layer are synonyms of those in the third layer. Results from all synonyms are grouped together and shown under the parent third layer keyword.
+The custom ontology has four layers. The top layer is one single keyword serves as the name of the ontology. This keyword is used to select the ontology used for each search (i.e. via the dropdown menu). A new ontology will be created if the ontology does not already exist for the use. Keywords in the second layer describe the main concepts and are used to include/exclude groups of keywords for each search (via check boxes). All keywords under the same second layer are shown with the same color in the graphic output. Keywords in the third layer are shown in the results (both graphic and tabular). Keywords in the fourth layer are used in PubMed and GWAS catalog search. These keywords will also be highlighted in the sentences. Results from all keywords in the fourth layer are grouped together and shown under their parent third layer keyword. This is useful to include synonyms and spelling variants in the fourth layer. A special second layer keyword is GWAS. Any keyword under this branch is used to search the GWAS catalog. Similarly, third layer is used for display of the results and fourth layer is used for search.
{%if "name" in session %} {{session['name']}}, your ontologies are available in the archive . @@ -13,9 +13,14 @@ {% endif %} {%if "email" in session %} +- {{ky}}:
+
{{(((dict_onto[ky][subky]|string()).split('|'))|string()).replace('\"{','').replace('}\"','').replace('\"','\'').replace('[','').replace(']','').replace('\'','')}}
-