[ENH] Additional age related columns for participants.tsv file to cover animal data contd.#2340
Draft
ree-gupta wants to merge 1 commit intobids-standard:masterfrom
Draft
[ENH] Additional age related columns for participants.tsv file to cover animal data contd.#2340ree-gupta wants to merge 1 commit intobids-standard:masterfrom
ree-gupta wants to merge 1 commit intobids-standard:masterfrom
Conversation
8 tasks
…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>
43c52fc to
d7d060d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds age-related columns and metadata to
participants.tsvto better support animal data and clarify age specifications across species. Key additions include:life_cycle_stagecolumn with enums based on UBERON ontology (embryo, neonate, juvenile, adult, etc.)AgeReferencemetadata field forparticipants.jsonto specify what theagevalue is relative to (birth, fertilization, LMP_startdate)birthdate/birthtimeanddeathdate/deathtimeoptional columnsAgeReferencewhenagecolumn is presentThis is a continuation of #1839, which was accidentally closed due to a force-push.
Please refer to #1839 for the full discussion history and review comments. Since the commits were too many and too conflicting to do a rebase, only the final edits with a single commit was made to restore from this point. A backup with the history of the commits is here.
Related Issues
TODO:
AgeReferencemust be used in sidecar JSONAgeReferencerule in schema forparticipant.tsvagecolumn definition that would specify that one must useAgeReferencein sidecar?birthdateoragemust be specifiedcc: @bids-standard/bep032 @lzehl @yarikoptic @bendichter