microbiomedata / metadata_converter

Conversion of schemas/templates/metadata to biolinkml
https://microbiomedata.github.io/metadata_converter/
1 stars 4 forks source link

OWL files not as expected #5

Closed hrshdhgd closed 3 years ago

hrshdhgd commented 3 years ago

This is what the owl files for all 'target' besides 'emp' and 'mixs' read:

YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {'biolinkml': 'https://w3id.org/biolink/biolinkml/', 'mixs.vocab': 'https://w3id.org/mixs/vocab/', 'MIXS': 'https://w3id.org/mixs/terms/'} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {'core field': {'description': 'basic fields'}, 'environment field': {'description': 'field describing environmental aspect of a sample'}, 'investigation field': {'description': 'field describing aspect of the investigation/study to which the sample belongs'}, 'nucleic acid sequence source field': {}, 'sequencing field': {}, 'mixs extension field': {}, 'submitted_to_insdc': {'is_a': 'investigation field', 'aliases': ['submitted to insdc'], 'description': 'Depending on the study (large-scale e.g. done with next generation sequencing technology, or small-scale) sequences have to be submitted to SRA (Sequence Read Archive), DRA (DDBJ Read Archive) or via the classical Webin/Sequin systems to Genbank, ENA and DDBJ. Although this field is mandatory, it is meant as a self-test field, therefore it is not necessary to include this field in contextual data submitted to databases', 'pattern': '{boolean}', 'examples': [{'value': 'yes'}], 'comments': ['Expected value: boolean', 'Preferred unit: ', 'Position: 1.0']}, 'investigation_type': {'is_a': 'investigation field', 'aliases': ['investigation type'], 'description': 'Nucleic Acid Sequence Report is the root element of all MIGS/MIMS compliant reports as standardized by Genomic Standards Consortium. This field is either eukaryote,bacteria,virus,plasmid,organelle, metagenome,mimarks-survey, mimarks-specimen, metatranscriptome, single amplified genome, metagenome-assembled genome, or uncultivated viral genome', 'pattern': '[eukaryote|bacteria_archaea|plasmid|virus|organelle|metagenome|metatranscriptome|mimarks-survey|mimarks-specimen|misag|mimag|miuvig]', 'examples': [{'value': 'metagenome'}], 'comments': ['Expected value: eukaryote, bacteria_archaea, plasmid, virus, organelle, metagenome,mimarks-survey, mimarks-specimen, metatranscriptome, single amplified genome, metagenome-assembled genome, or uncultivated viral genomes', 'Preferred unit: ', 'Position: 2.0']}, 'sample_name': {'is_a': 'core field', 'aliases': ['sample name '], 'description': 'Sample Name is a name that you choose for the sample. It can have any format, but we suggest that you make it concise, unique and consistent within your lab, and as informative as possible. Every Sample Name from a single Submitter must be unique. ', 'pattern': '', 'examples': [{'value': ''}], 'comments': ['Expected value: ', 'Preferred unit: ', 'Position: ']}, 'project_name': {'is_a': 'investigation field', 'aliases': ['project name'],

Due to this bug, the OLS only deploys 'emp' and 'miss' only. (2/7 ontologies)

cmungall commented 3 years ago

Oh dear I was using my dev copy of linkml with debugging prints, bad me. Can you try and refresh via makefile?

On Tue, Feb 2, 2021, 14:22 Harshad notifications@github.com wrote:

This is what the owl files for all 'target' besides 'emp' and 'mixs'

YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {'biolinkml': 'https://w3id.org/biolink/biolinkml/', 'mixs.vocab': 'https://w3id.org/mixs/vocab/', 'MIXS': ' https://w3id.org/mixs/terms/'} YO SLOT: {} YO SLOT: {} YO SLOT: {} YO SLOT: {'core field': {'description': 'basic fields'}, 'environment field': {'description': 'field describing environmental aspect of a sample'}, 'investigation field': {'description': 'field describing aspect of the investigation/study to which the sample belongs'}, 'nucleic acid sequence source field': {}, 'sequencing field': {}, 'mixs extension field': {}, 'submitted_to_insdc': {'is_a': 'investigation field', 'aliases': ['submitted to insdc'], 'description': 'Depending on the study (large-scale e.g. done with next generation sequencing technology, or small-scale) sequences have to be submitted to SRA (Sequence Read Archive), DRA (DDBJ Read Archive) or via the classical Webin/Sequin systems to Genbank, ENA and DDBJ. Although this field is mandatory, it is meant as a self-test field, therefore it is not necessary to include this field in contextual data submitted to databases', 'pattern': '{boolean}', 'examples': [{'value': 'yes'}], 'comments': ['Expected value: boolean', 'Preferred unit: ', 'Position: 1.0']}, 'investigation_type': {'is_a': 'investigation field', 'aliases': ['investigation type'], 'description': 'Nucleic Acid Sequence Report is the root element of all MIGS/MIMS compliant reports as standardized by Genomic Standards Consortium. This field is either eukaryote,bacteria,virus,plasmid,organelle, metagenome,mimarks-survey, mimarks-specimen, metatranscriptome, single amplified genome, metagenome-assembled genome, or uncultivated viral genome', 'pattern': '[eukaryote|bacteria_archaea|plasmid|virus|organelle|metagenome|metatranscriptome|mimarks-survey|mimarks-specimen|misag|mimag|miuvig]', 'examples': [{'value': 'metagenome'}], 'comments': ['Expected value: eukaryote, bacteria_archaea, plasmid, virus, organelle, metagenome,mimarks-survey, mimarks-specimen, metatranscriptome, single amplified genome, metagenome-assembled genome, or uncultivated viral genomes', 'Preferred unit: ', 'Position: 2.0']}, 'sample_name': {'is_a': 'core field', 'aliases': ['sample name '], 'description': 'Sample Name is a name that you choose for the sample. It can have any format, but we suggest that you make it concise, unique and consistent within your lab, and as informative as possible. Every Sample Name from a single Submitter must be unique. ', 'pattern': '', 'examples': [{'value': ''}], 'comments': ['Expected value: ', 'Preferred unit: ', 'Position: ']}, 'project_name': {'is_a': 'investigation field', 'aliases': ['project name'],

Due to this bug, the OLS only deploys 'emp' and 'miss' only. (2/7 ontologies)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/microbiomedata/metadata_converter/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMMOP5YJO6NNHZWPB6WW3S5B3KTANCNFSM4W7XGWBA .

hrshdhgd commented 3 years ago

Re-running the makefile solved the issue.