Skip to content

Commit 363164c

Browse files
generate another formats for bke_taxonomy model(s)
1 parent b98f584 commit 363164c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

json-schema-autogen/bke_taxonomy.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@
24092409
},
24102410
"GeneAnnotation": {
24112411
"additionalProperties": false,
2412-
"description": "An annotation describing the location, boundaries, and functions of individual genes within a genome annotation.",
2412+
"description": "Represents a single gene. Includes metadata about the gene, such as its molecular type and the genome annotation it was referenced from.",
24132413
"properties": {
24142414
"category": {
24152415
"description": "Name of the high level ontology class in which this entity is categorized. Corresponds to the label for the biolink entity type class. In a neo4j database this MAY correspond to the neo4j label tag. In an RDF database it should be a biolink model class URI. This field is multi-valued. It should include values for ancestors of the biolink class; for example, a protein such as Shh would have category values `biolink:Protein`, `biolink:GeneProduct`, `biolink:MolecularEntity`. In an RDF database, nodes will typically have an rdf:type triples. This can be to the most specific biolink class, or potentially to a class more specific than something in biolink. For example, a sequence feature `f` may have a rdf:type assertion to a SO class such as TF_binding_site, which is more specific than anything in biolink. Here we would have categories {biolink:GenomicEntity, biolink:MolecularEntity, biolink:NamedThing}. NOTE: The category slot was modified to have a curie range and a pattern for bican categories.",
@@ -2531,7 +2531,7 @@
25312531
"type": "string"
25322532
}
25332533
],
2534-
"description": "The genome annotation that this gene annotation was referenced from.",
2534+
"description": "The genome annotation that this gene was referenced from.",
25352535
"type": "string"
25362536
},
25372537
"source_id": {
@@ -2724,7 +2724,7 @@
27242724
},
27252725
"GenomeAnnotation": {
27262726
"additionalProperties": false,
2727-
"description": "Location and nomenclature of genes and all of the coding regions in a genome assembly and the classification of genes and transcripts into types.",
2727+
"description": "Represents a genome annotation. Includes metadata about the genome, such as its version and reference assembly.",
27282728
"properties": {
27292729
"authority": {
27302730
"$ref": "#/$defs/AuthorityType",
@@ -2911,7 +2911,7 @@
29112911
},
29122912
"GenomeAssembly": {
29132913
"additionalProperties": false,
2914-
"description": "Genome assembly to contain version and label information",
2914+
"description": "Represents a genome assembly. A genome assembly is a computational representation of a genome sequence.",
29152915
"properties": {
29162916
"category": {
29172917
"description": "Name of the high level ontology class in which this entity is categorized. Corresponds to the label for the biolink entity type class. In a neo4j database this MAY correspond to the neo4j label tag. In an RDF database it should be a biolink model class URI. This field is multi-valued. It should include values for ancestors of the biolink class; for example, a protein such as Shh would have category values `biolink:Protein`, `biolink:GeneProduct`, `biolink:MolecularEntity`. In an RDF database, nodes will typically have an rdf:type triples. This can be to the most specific biolink class, or potentially to a class more specific than something in biolink. For example, a sequence feature `f` may have a rdf:type assertion to a SO class such as TF_binding_site, which is more specific than anything in biolink. Here we would have categories {biolink:GenomicEntity, biolink:MolecularEntity, biolink:NamedThing}. NOTE: The category slot was modified to have a curie range and a pattern for bican categories.",

models_py-autogen/bke_taxonomy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5717,7 +5717,7 @@ def pattern_category(cls, v):
57175717

57185718
class GeneAnnotation(Gene):
57195719
"""
5720-
An annotation describing the location, boundaries, and functions of individual genes within a genome annotation.
5720+
Represents a single gene. Includes metadata about the gene, such as its molecular type and the genome annotation it was referenced from.
57215721
"""
57225722
linkml_meta: ClassVar[LinkMLMeta] = LinkMLMeta({'from_schema': 'https://identifiers.org/brain-bican/genome-annotation-schema'})
57235723

@@ -5727,7 +5727,7 @@ class GeneAnnotation(Gene):
57275727
source_id: Optional[str] = Field(default=None, description="""The authority specific identifier.""", json_schema_extra = { "linkml_meta": {'alias': 'source_id',
57285728
'domain_of': ['GeneAnnotation'],
57295729
'slot_uri': 'schema:identifier'} })
5730-
referenced_in: Union[GenomeAnnotation, str] = Field(default=..., description="""The genome annotation that this gene annotation was referenced from.""", json_schema_extra = { "linkml_meta": {'alias': 'referenced_in',
5730+
referenced_in: Union[GenomeAnnotation, str] = Field(default=..., description="""The genome annotation that this gene was referenced from.""", json_schema_extra = { "linkml_meta": {'alias': 'referenced_in',
57315731
'any_of': [{'range': 'GenomeAnnotation'}, {'range': 'string'}],
57325732
'domain_of': ['GeneAnnotation']} })
57335733
id: str = Field(default=..., description="""A unique identifier for an entity. Must be either a CURIE shorthand for a URI or a complete URI""", json_schema_extra = { "linkml_meta": {'alias': 'id',
@@ -6129,7 +6129,7 @@ def pattern_category(cls, v):
61296129

61306130
class GenomeAnnotation(Genome):
61316131
"""
6132-
Location and nomenclature of genes and all of the coding regions in a genome assembly and the classification of genes and transcripts into types.
6132+
Represents a genome annotation. Includes metadata about the genome, such as its version and reference assembly.
61336133
"""
61346134
linkml_meta: ClassVar[LinkMLMeta] = LinkMLMeta({'from_schema': 'https://identifiers.org/brain-bican/genome-annotation-schema'})
61356135

@@ -6542,7 +6542,7 @@ def pattern_category(cls, v):
65426542

65436543
class GenomeAssembly(ThingWithTaxon, NamedThing):
65446544
"""
6545-
Genome assembly to contain version and label information
6545+
Represents a genome assembly. A genome assembly is a computational representation of a genome sequence.
65466546
"""
65476547
linkml_meta: ClassVar[LinkMLMeta] = LinkMLMeta({'from_schema': 'https://identifiers.org/brain-bican/genome-annotation-schema',
65486548
'mixins': ['thing with taxon']})

0 commit comments

Comments
 (0)