From 529e806ffe75b85bbcd5788d4284e21792b49772 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 13 Apr 2026 10:01:43 -0500 Subject: Improve UI text and reorganise the UI. --- uploader/templates/genotypes/create-dataset.html | 6 +- uploader/templates/genotypes/list-genotypes.html | 128 ++++++++++++----------- 2 files changed, 71 insertions(+), 63 deletions(-) diff --git a/uploader/templates/genotypes/create-dataset.html b/uploader/templates/genotypes/create-dataset.html index 5a6d3d2..ff174fb 100644 --- a/uploader/templates/genotypes/create-dataset.html +++ b/uploader/templates/genotypes/create-dataset.html @@ -41,9 +41,9 @@

This is a short representative, but constrained name for the genotype dataset.
- The field will only accept letters ('A-Za-z'), numbers (0-9), hyphens - and underscores. Any other character will cause the name to be - rejected.

+ It is used internally by the Genenetwork system. Do not change this + value.

+
diff --git a/uploader/templates/genotypes/list-genotypes.html b/uploader/templates/genotypes/list-genotypes.html index be297a4..5b970ff 100644 --- a/uploader/templates/genotypes/list-genotypes.html +++ b/uploader/templates/genotypes/list-genotypes.html @@ -54,81 +54,72 @@
-

Genetic Markers

+

Genotype Dataset

- + {%if dataset is not none%} + +
- - - - - - + + + - {%for marker in markers%} - - - - - - + + - {%endfor%}
IndexMarker NameChr - Location (Mb)SourceSource2NameFull Name
{{dataset.Name}} + {{dataset.FullName}}
-
- -
-

Some Important Concepts to Consider/Remember

- -

Possible references

- -
- -
-

Genotype Datasets

-

The genotype data is organised under various genotype datasets. You can - click on the link for the relevant dataset to view a little more information - about it.

+
+

Genetic Markers

- {%if dataset is not none%} - +
- - - + + + + + + + {%for marker in markers%} - - + + + + + + + {%endfor%}
NameFull Name
IndexMarker NameChr + Location (Mb)SourceSource2
{{dataset.Name}} - {{dataset.FullName}}
+
+ {%else%} + +

+ Your genotype data will need to be under a dataset. Unfortunately there is + currently no dataset defined for this population. +

+

- There is no genotype dataset defined for this population. + Click the button below to define the genotype dataset for this population.

-

- - NOTE: Currently the GN2 (and related) system(s) expect a - single genotype dataset. If there is more than one, the system apparently - fails in unpredictable ways. -

-

Fix this to allow multiple datasets, each with a different assembly from - all the rest.

+ +
+

Notes

+
+

Genetic Markers: Some Important Concepts to Consider/Remember

+
    +
  • Reference vs. Non-reference alleles
  • +
  • In GenoCode table, items are ordered by InbredSet
  • +
+

Possible references

+
    +
  • https://mr-dictionary.mrcieu.ac.uk/term/genotype/
  • +
  • https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363099/
  • +
+
+ +
+

Genotype Dataset

+

+ + NOTE: Currently the GN2 (and related) system(s) expect a + single genotype dataset per population. If there is more than one, the + system apparently fails in unpredictable ways. +

+
+ {%endblock%} -- cgit 1.4.1