-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I ran the nf-core/scrnaseq workflow with the nf-prov plugin.
I noticed in the ro-crate json that some inputs of the workflow (so called FormalParameter) like #param/input or #param/fasta with additionalType : File, are mapped to entries of type PropertyValue, where the value of the entry is actually a path to a file (e.g a csv on a GitHub repo, see example of such mapping below and json attached).
I think the type of the "value" entity should rather be File in this case too.
Entries of type PropertyValue are normally for other data-types such as boolean...
From the WF Run specs
"A FormalParameter that maps to a PropertyValue SHOULD have a subclass of DataType (e.g., Integer) — or PropertyValue, in the case of dictionary-like structured types — as its additionalType "
Parameter entry
{
"@id": "#param/input",
"@type": "FormalParameter",
"additionalType": "File",
"conformsTo": {
"@id": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE"
},
"encodingFormat": "text/csv",
"name": "input",
"description": "Path to comma-separated file containing information about the samples in the experiment."
},Value entry
{
"@id": "#param/input/value",
"@type": "PropertyValue", <= here should be "File"
"exampleOfWork": {
"@id": "#param/input"
},
"name": "input",
"value": "https://github.com/nf-core/test-datasets/raw/scrnaseq/samplesheet-2-0.csv"
}