Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace string serialisation with enum for HostSex categories #849

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions src/mixs/schema/mixs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,16 @@ enums:
kmer similarity:
other:
provirus:
HostSexEnum:
permissible_values:
female:
hermaphrodite:
non-binary:
male:
transgender:
transgender (female to male):
transgender (male to female):
undeclared:
HostSpecificityEnum:
permissible_values:
family-specific:
Expand Down Expand Up @@ -8494,15 +8504,12 @@ slots:
description: Gender or physical sex of the host
title: host sex
comments:
- example of non-binary from Excel sheets does not match any of the enumerated
values
- example of non-binary from Excel sheets does not match any of the enumerated
values
keywords:
- host
- host.
string_serialization: '[female|hermaphrodite|non-binary|male|transgender|transgender
(female to male)|transgender (male to female)

|undeclared]'
- host
- host.
range: HostSexEnum
slot_uri: MIXS:0000811
host_shape:
description: Morphological shape of host
Expand Down
Loading