From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/show_trait_details.html | 255 ++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 gn2/wqflask/templates/show_trait_details.html (limited to 'gn2/wqflask/templates/show_trait_details.html') diff --git a/gn2/wqflask/templates/show_trait_details.html b/gn2/wqflask/templates/show_trait_details.html new file mode 100644 index 00000000..9c12393d --- /dev/null +++ b/gn2/wqflask/templates/show_trait_details.html @@ -0,0 +1,255 @@ + + + + + + {% if this_trait.dataset.type == 'Publish' %} + + + + + + + + + + + + + + + + + {% elif this_trait.dataset.type == 'ProbeSet' %} + + + + + {% endif %} + {% if this_trait.dataset.type == 'ProbeSet' %} + {% if this_trait.symbol != None %} + + + + + {% endif %} + + + + + {% if this_trait.alias_fmt != "Not Available" %} + + + + + {% endif %} + {% endif %} + {% if this_trait.dataset.type != 'Publish' %} + + + + + {% endif %} + {% if ncbi_summary != None and ncbi_summary != "" %} + + + + + {% endif %} + + + + + {% if this_trait.probe_set_specificity %} + + + + + {% endif %} + {% if this_trait.pubmed_id or this_trait.geneid or this_trait.omim or this_trait.symbol %} + + + + + {% endif %} +
Group{{ this_trait.dataset.group.species[0]|upper }}{{ this_trait.dataset.group.species[1:] }}: {{ this_trait.dataset.group.name }} group
Phenotype
{{ this_trait.description_fmt }}
Authors
{{ this_trait.authors }}
Title
{{ this_trait.title }}
Journal{{ this_trait.journal }} ({% if this_trait.pubmed_id %}{{ this_trait.year }}{% else %}{{ this_trait.year }}{% endif %})
Tissue{{ this_trait.dataset.tissue }}
Gene Symbol{{ this_trait.symbol }}
AliasesWikidata: {{ this_trait.wikidata_alias_fmt|replace(",",";") }}
GeneNetwork: {{ this_trait.alias_fmt|replace(",",";") }}
Location{{ this_trait.location_fmt }}
Summary{{ ncbi_summary }}
Database + + {{ dataset.fullname }} + +
+ + GN2 Link: {{ dataset.fullname }} + +
Target Score + + BLAT Specificity + : + {{ "%0.3f" | format(this_trait.probe_set_specificity|float) }} +    + {% if this_trait.probe_set_blat_score %} + Score: {{ "%0.3f" | format(this_trait.probe_set_blat_score|float) }} + {% endif %} +
Resource Links + {% if pubmed_link %} + + PubMed + + {% endif %} + {% if ncbi_gene_link %} + + Gene + +    + {% endif %} + {% if omim_link %} + + OMIM + +    + {% endif %} + {% if genemania_link %} + + GeneMANIA + +    + {% endif %} + {% if protein_atlas_link %} + + Protein Atlas + +    + {% endif %} + {% if open_targets_link %} + + Open Targets + +    + {% endif %} + {% if homologene_link %} + + HomoloGene + +    + {% endif %} + {% if this_trait.symbol %} + + {% if rgd_link %} + + Rat Genome DB + +    + {% endif %} + + GTEx Portal + +    + {% if phenogen_link %} + + PhenoGen + +    + {% endif %} + {% if genebridge_link %} + + GeneBridge + + {% endif %} + {% endif %} +
+ {% if ucsc_blat_link %} + + UCSC + +    + {% endif %} + {% if biogps_link %} + + BioGPS + +    + {% endif %} + {% if string_link %} + + STRING + +    + {% endif %} + {% if panther_link %} + + PANTHER + +    + {% endif %} + {% if gemma_link %} + + Gemma + +    + {% endif %} + {% if aba_link %} + + ABA + +    + {% endif %} + {% if ebi_gwas_link %} + + EBI GWAS + +    + {% endif %} + {% if wiki_pi_link %} + + Wiki-Pi + +    + {% endif %} + {% if uniprot_link %} + + UniProt + +    + {% endif %} +
+ +
+
+ + {% if this_trait.dataset.type == 'ProbeSet' or this_trait.dataset.type == 'Geno' %} + {% if this_trait.symbol != None %} + + {% endif %} + {% if UCSC_BLAT_URL != "" %} + + {% endif %} + {% if this_trait.symbol != None %} + + {% if dataset.group.species == "mouse" or dataset.group.species == "rat" %} + + {% endif %} + {% endif %} + {% if show_probes == "True" %} + + {% endif %} + {% endif %} + + {% if this_trait.dataset.type == 'Publish' %} + + {% endif %} + + {% if this_trait.dataset.type == 'ProbeSet' %} + + {% endif %} +
+ {%if "group:resource:edit-resource" in trait_privileges%} +
+ +
+ {% endif %} +
+ -- cgit 1.4.1