Skip to content

Commit

Permalink
Fix for new props
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Jun 30, 2023
1 parent 5dfa211 commit 4dff155
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
6 changes: 4 additions & 2 deletions modules/Template/Template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ classes:
- Component
- Filename
- resourceType
- title
- author
- citation
- license
Expand Down Expand Up @@ -576,6 +577,7 @@ DatasetTemplate:
- title
- creator
- contributor
- currentVersion
- description
- license
- dataType
Expand All @@ -588,8 +590,8 @@ DatasetTemplate:
- publisher
- yearProcessed
- yearPublished
- fileCount
- fileSize
- datasetItemCount
- datasetSizeInBytes

#######################################
# PartialTemplate
Expand Down
22 changes: 18 additions & 4 deletions modules/props.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4dff155

Please sign in to comment.