Skip to content

Commit d7d060d

Browse files
ree-guptaclaude
andcommitted
[ENH] Add age-related columns for participants.tsv to support animal data
Add new optional columns to participants.tsv for richer age and life cycle metadata: - birthdate/birthtime: Date and time of birth - deathdate/deathtime: Date and time of death - age_category: Life cycle stage (embryo, neonate, infant, juvenile, adult, etc.) These columns support animal studies and developmental research where precise life cycle information is important. Human subjects should anonymize or omit sensitive fields like birthdate. Life cycle stage enums are inspired by UBERON ontology. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b766732 commit d7d060d

File tree

3 files changed

+122
-0
lines changed

3 files changed

+122
-0
lines changed

src/schema/objects/columns.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,42 @@ age:
4747
"Units": "year",
4848
"Maximum": 89,
4949
}
50+
age_category:
51+
name: age_category
52+
display_name: Age category
53+
description: |
54+
A non-numeric term for a subject's life cycle stage (for instance, `adult`).
55+
Inspired by the
56+
[UBERON life cycle stage](http://purl.obolibrary.org/obo/UBERON_0000105).
57+
type: string
58+
enum:
59+
- $ref: objects.enums.adolescent.value
60+
- $ref: objects.enums.adult.value
61+
- $ref: objects.enums.embryo.value
62+
- $ref: objects.enums.infant.value
63+
- $ref: objects.enums.juvenile.value
64+
- $ref: objects.enums.late_adult.value
65+
- $ref: objects.enums.neonate.value
66+
- $ref: objects.enums.perinate.value
67+
- $ref: objects.enums.prime_adult.value
68+
- $ref: objects.enums.young_adult.value
69+
birthdate:
70+
name: birthdate
71+
display_name: Birth date
72+
description: |
73+
Date of the start of a subject's neonate stage. Date format (YYYY-MM-DD).
74+
Should not be provided or anonymized for human subjects.
75+
type: string
76+
format: date
77+
birthtime:
78+
name: birthtime
79+
display_name: Birth time
80+
description: |
81+
Time (or estimated time) of birth. Time format (hh:mm:ssZ).
82+
Typically, this field will be combined with birthdate.
83+
Should not be provided or anonymized for human subjects.
84+
type: string
85+
format: time
5086
cardiac:
5187
name: cardiac
5288
display_name: Cardiac measurement
@@ -99,6 +135,23 @@ coordinate_system:
99135
Name of the coordinate system defined in `coordsystem.json` in which the electrode's
100136
`x`, `y`, and (optionally) `z` coordinates are given.
101137
type: string
138+
deathdate:
139+
name: deathdate
140+
display_name: Death date
141+
description: |
142+
Date of the end of a subject's life cycle. Date format (YYYY-MM-DD).
143+
Should not be provided or anonymized for human subjects.
144+
type: string
145+
format: date
146+
deathtime:
147+
name: deathtime
148+
display_name: Death time
149+
description: |
150+
Time (or estimated time) of death. Time format (hh:mm:ssZ).
151+
Typically, this field will be combined with deathdate.
152+
Should not be provided or anonymized for human subjects.
153+
type: string
154+
format: time
102155
detector__channels:
103156
name: detector
104157
display_name: Detector Name

src/schema/objects/enums.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,3 +1481,67 @@ PhysioTypeEyetrack:
14811481
display_name: Eye-tracking recording
14821482
description: |
14831483
A specific physiological recording type: eye-tracking.
1484+
# Life cycle stages for age_category
1485+
adolescent:
1486+
value: adolescent
1487+
display_name: Adolescent
1488+
description: |
1489+
Life cycle stage of a subject loosely defined by the transitional growth
1490+
and development between childhood and adulthood, often described as puberty.
1491+
adult:
1492+
value: adult
1493+
display_name: Adult
1494+
description: |
1495+
Life cycle stage of a subject that starts with sexual maturity and ends with
1496+
death. Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0000113.
1497+
embryo:
1498+
value: embryo
1499+
display_name: Embryo
1500+
description: |
1501+
Life cycle stage of a subject that starts with fertilization and ends with the
1502+
fully formed embryo. If fertilization is unknown the LMP startdate is assumed.
1503+
Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0000068.
1504+
infant:
1505+
value: infant
1506+
display_name: Infant
1507+
description: |
1508+
Life cycle stage of subjects (mammals) that follows the neonate stage and ends at
1509+
weaning. Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0034920.
1510+
juvenile:
1511+
value: juvenile
1512+
display_name: Juvenile
1513+
description: |
1514+
Life cycle stage of a subject that starts with the independence of the nest
1515+
and/or caregivers and ends with sexual maturity. Adapted from
1516+
UBERON - http://purl.obolibrary.org/obo/UBERON_0034919.
1517+
late_adult:
1518+
value: late adult
1519+
display_name: Late adult
1520+
description: |
1521+
Life cycle stage of a subject that follows the prime adult stage and ends with
1522+
death. Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0007222.
1523+
neonate:
1524+
value: neonate
1525+
display_name: Neonate
1526+
description: |
1527+
Life cycle stage of a subject that immediately follows birth.
1528+
Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0007221.
1529+
perinate:
1530+
value: perinate
1531+
display_name: Perinate
1532+
description: |
1533+
Life cycle stage of a subject that starts right before and ends right after birth.
1534+
Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0012101.
1535+
prime_adult:
1536+
value: prime adult
1537+
display_name: Prime adult
1538+
description: |
1539+
Life cycle stage of a subject that starts with sexual maturity or
1540+
the cessation of growth, whichever comes last, and ends before senescence.
1541+
Adapted from UBERON - http://purl.obolibrary.org/obo/UBERON_0018241.
1542+
young_adult:
1543+
value: young adult
1544+
display_name: Young adult
1545+
description: |
1546+
Life cycle stage of a subject that starts with sexual maturity and ends with the
1547+
cessation of growth (if this is reached after sexual maturity).

src/schema/rules/tabular_data/modality_agnostic.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Participants:
1515
handedness: recommended
1616
strain: recommended
1717
strain_rrid: recommended
18+
birthdate: optional
19+
birthtime: optional
20+
deathdate: optional
21+
deathtime: optional
22+
age_category: optional
1823
HED: optional
1924
index_columns: [participant_id]
2025
additional_columns: allowed

0 commit comments

Comments
 (0)