From 4dff155da528947f85d8ed8d502841e35defbc1e Mon Sep 17 00:00:00 2001 From: Anh Nguyet Vu Date: Fri, 30 Jun 2023 16:58:27 -0600 Subject: [PATCH] Fix for new props --- modules/Template/Template.yaml | 6 ++++-- modules/props.yaml | 22 ++++++++++++++++++---- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/modules/Template/Template.yaml b/modules/Template/Template.yaml index 49ca4f5a..5e9cf0d0 100644 --- a/modules/Template/Template.yaml +++ b/modules/Template/Template.yaml @@ -534,6 +534,7 @@ classes: - Component - Filename - resourceType + - title - author - citation - license @@ -576,6 +577,7 @@ DatasetTemplate: - title - creator - contributor + - currentVersion - description - license - dataType @@ -588,8 +590,8 @@ DatasetTemplate: - publisher - yearProcessed - yearPublished - - fileCount - - fileSize + - datasetItemCount + - datasetSizeInBytes ####################################### # PartialTemplate diff --git a/modules/props.yaml b/modules/props.yaml index 914912eb..6120e995 100644 --- a/modules/props.yaml +++ b/modules/props.yaml @@ -164,11 +164,13 @@ slots: contributor: description: An entity responsible for making contributions to the resource. meaning: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#contributor + required: false creator: description: An entity responsible for making the resource. notes: - Recommended practice is to identify the creator with a URI. If this is not possible or feasible, a literal value that identifies the creator may be provided. meaning: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#creator + required: true createdBy: description: Refers to the user who created the resource. in_subset: @@ -185,6 +187,7 @@ slots: required: false currentVersion: description: (Versionable entities only) The current version number of the resource. + meaning: https://www.w3.org/TR/vocab-dcat-3/#Property:resource_version in_subset: - Synapse notes: @@ -212,6 +215,16 @@ slots: description: | A type of data -- experimental, clinical, or other. Most typically refers to a high-level data type that can be related to an assay type. For example, a file of dataType `genomicVariants` might have an assay value of `whole genome sequencing`. required: false + datasetSizeInBytes: + description: Size of dataset entity in bytes. Auto-calculated by Synapse. + in_subset: + - Synapse + required: false + datasetItemCount: + description: Count of files in dataset. Auto-calculated by Synapse. + in_subset: + - Synapse + required: false description: description: Text describing a resource. required: false @@ -291,9 +304,7 @@ slots: - Synapse required: false fileSize: - description: Size of total file(s) in bytes. - notes: - - This is auto-generated by Synapse for datasets. + description: Size of file in bytes. in_subset: - Synapse required: false @@ -566,12 +577,15 @@ slots: protocolAssay: description: > Main assay type that this protocol is related to, e.g. this is a prep protocol for single-cell RNA-seq assay. This is especially helpful for newly-developed or in-house assays. - range: Assay + range: AssayEnum + required: false protocolPurpose: description: Brief description of the protocol purpose. + required: false publisher: description: An entity responsible for making the resource available. meaning: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/publisher + required: false readDepth: description: If available, the coverage statistic as output from bedtools coverage or samtools stats. notes: