Skip to content

Commit

Permalink
Merge pull request #258 from alliance-genome/HTP-expression-data-mode…
Browse files Browse the repository at this point in the history
…ling-first-pass

HTP expression data modeling first pass
  • Loading branch information
chris-grove authored Jul 22, 2024
2 parents b622740 + 7222b66 commit 1ce3397
Show file tree
Hide file tree
Showing 31 changed files with 2,405 additions and 479 deletions.
1,927 changes: 1,521 additions & 406 deletions generated/jsonschema/allianceModel.schema.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions model/schema/affectedGenomicModel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ classes:
- sequence_targeting_reagent_identifiers
- component_dtos
slot_usage:
mod_entity_id:
primary_external_id:
required: true

AgmSecondaryIdSlotAnnotation:
Expand Down Expand Up @@ -177,7 +177,7 @@ slots:
range: string
multivalued: true
description: >-
Identifiers (curie/mod_entity_id/mod_internal_id) of the STRs
Identifiers (curie/primary_external_id/mod_internal_id) of the STRs
parental_populations:
singular_name: parental_population
Expand Down
2 changes: 1 addition & 1 deletion model/schema/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ classes:
- orcid
- emails
- old_emails
- mod_entity_id
- primary_external_id
- unique_id
- affiliated_alliance_member
exact_mappings:
Expand Down
18 changes: 9 additions & 9 deletions model/schema/allele.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ classes:
slot_usage:
note_dtos:
notes: note_type CV 'Allele Note Type'
mod_entity_id:
primary_external_id:
required: true

# Some classes roughly grouped with the Allele class because they have relationships to Allele and were
Expand All @@ -139,7 +139,7 @@ classes:
description: >-
Dummy cell line DTO class
slot_usage:
mod_entity_id:
primary_external_id:
required: true

GenerationMethod:
Expand Down Expand Up @@ -182,7 +182,7 @@ classes:
- synonyms
- secondary_identifiers
slot_usage:
mod_entity_id:
primary_external_id:
required: true

SequenceTargetingReagentAssociation:
Expand Down Expand Up @@ -708,7 +708,7 @@ slots:

allele_identifier:
description: >-
Identifier (curie/mod_entity_id/mod_internal_id) of the allele
Identifier (curie/primary_external_id/mod_internal_id) of the allele
range: string
required: true

Expand Down Expand Up @@ -892,7 +892,7 @@ slots:
cell_line_identifier:
description: >-
Identifier (curie/mod_entity_id/mod_internal_id) of the cell line
Identifier (curie/primary_external_id/mod_internal_id) of the cell line
range: string
required: true

Expand Down Expand Up @@ -1081,8 +1081,8 @@ slots:

mutation_target_strain_identifier:
description: >-
Identifier (curie/mod_entity_id/mod_internal_id) of the particular strain that is targeted by the generation method
for a particular allele (MGI only)
Identifier (curie/primary_external_id/mod_internal_id) of the particular strain
that is targeted by the generation method for a particular allele (MGI only)
domain: AlleleGenerationMethodAssociationDTO
range: string

Expand Down Expand Up @@ -1117,7 +1117,7 @@ slots:

object_allele_identifier:
description: >-
The identifier (curie/mod_entity_id/mod_internal_id) of the allele that is acting as the object of an AlleleAlleleAssociation
The identifier (curie/primary_external_id/mod_internal_id) of the allele that is acting as the object of an AlleleAlleleAssociation
domain: AlleleAlleleAssociationDTO
range: string

Expand Down Expand Up @@ -1149,7 +1149,7 @@ slots:
multivalued: false
domain: SequenceTargetingReagentAssociationDTO
description: >-
Identifier (curie/mod_entity_id/mod_internal_id) of the STR
Identifier (curie/primary_external_id/mod_internal_id) of the STR
sequence_targeting_reagent_gene_associations:
domain: SequenceTargetingReagent
Expand Down
5 changes: 3 additions & 2 deletions model/schema/allianceModel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ imports:
- expression
- gene
- geneInteraction
- highThroughputExpression
- homology
- image
- ingest
- modCorpusAssociation
- linkml:types
- modCorpusAssociation
- ontologyTerm
- homology
- phenotypeAndDiseaseAnnotation
- reagent
- reference
Expand Down
12 changes: 6 additions & 6 deletions model/schema/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ classes:
Parent class for LinkML classes of submitted entities
that may have a public or internal MOD ID/curie
slots:
- mod_entity_id
- primary_external_id
- mod_internal_id
- data_provider

SubmittedObjectDTO:
is_a: AuditedObjectDTO
slots:
- mod_entity_id
- primary_external_id
- mod_internal_id
- data_provider_dto

Expand Down Expand Up @@ -1243,11 +1243,11 @@ slots:
multivalued: false
range: string

mod_entity_id:
primary_external_id:
description: >-
The model organism database (MOD) identifier/curie for the object. Note
that this may be an external identifier for an object, like a UniProt ID
for a protein, but acts as the MOD's primary key for the entity.
The primary external (non-Alliance) database identifier/curie for the object. Note
that this may be an external (non-Alliance member) identifier for an object, like a UniProt ID
for a protein, and may act as the MOD's/Alliance member's primary key for the entity.
range: string

mod_internal_id:
Expand Down
Loading

0 comments on commit 1ce3397

Please sign in to comment.