From 4befffc49c2b10aa75dcf394b1c29ea040d67c9b Mon Sep 17 00:00:00 2001 From: Brian Raymor Date: Mon, 2 Dec 2024 15:43:12 -0800 Subject: [PATCH] updated genetic ancestry values (#1141) --- schema/drafts/5.3.0.md | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/schema/drafts/5.3.0.md b/schema/drafts/5.3.0.md index a65f74a8..ba1cd0ab 100644 --- a/schema/drafts/5.3.0.md +++ b/schema/drafts/5.3.0.md @@ -583,10 +583,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

+ float. All observations with the same donor_id MUST contain the same value.

If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0010" for African expressed as a float greater than or equal to 0.0 and less than or equal to 1.0 @@ -610,10 +609,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

- If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + float. All observations with the same donor_id MUST contain the same value.

+ If organism_ontolology_term_id is NOT + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0009" for East Asian expressed as a float greater than or equal to 0.0 and less than or equal to 1.0 @@ -637,10 +635,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

+ float. All observations with the same donor_id MUST contain the same value.

If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0005" for European expressed as a float greater than or equal to 0.0 and less than or equal to 1.0 @@ -664,10 +661,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

+ float. All observations with the same donor_id MUST contain the same value.

If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0013" for Indigenous American expressed as a float greater than or equal to 0.0 and less than or equal to 1.0 @@ -691,10 +687,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

+ float. All observations with the same donor_id MUST contain the same value.

If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0017" for Oceanian expressed as a float greater than or equal to 0.0 and less than or equal to 1.0 @@ -718,10 +713,9 @@ If organism_ontolology_term_id is "NCBITaxon:9606" for Value - str or float. All observations with the same donor_id MUST contain the same value.

+ float. All observations with the same donor_id MUST contain the same value.

If organism_ontolology_term_id is NOT - "NCBITaxon:9606" for Homo sapiens, then the - value MUST be "na".

If + "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan").

If organism_ontolology_term_id is "NCBITaxon:9606" for Homo sapiens, then the value MUST be a float("nan") if unavailable; otherwise, the value MUST be the genetic ancestry percentage of "HANCESTRO:0006" for South Asian expressed as a float greater than or equal to 0.0 and less than or equal to 1.0