对于那些高度积极的人来说,也可以用大量的元数据来注释您的工具。这个例子包含了EDAM本体标签作为关键字(允许对相关工具进行分组),暗示了使用该工具的硬件需求,以及更多的元数据字段。
metadata_example3.cwl
#!/usr/bin/env cwl-runnercwlVersion: v1.0class: CommandLineToollabel: An example tool demonstrating metadata.doc: Note that this is an example and the metadata is not necessarily consistent.hints:ResourceRequirement:coresMin: 4inputs:aligned_sequences:type: Filelabel: Aligned sequences in BAM formatformat: edam:format_2572inputBinding:position: 1baseCommand: [ wc, -l ]stdout: output.txtoutputs:report:type: stdoutformat: edam:format_1964label: A text file that contains a line counts:author:- class: s:Persons:identifier: https://orcid.org/0000-0002-6130-1021s:email: mailto:dyuen@oicr.on.cas:name: Denis Yuens:contributor:- class: s:Persons:identifier: http://orcid.org/0000-0002-7681-6415s:email: mailto:briandoconnor@gmail.coms:name: Brian O'Connors:citation: https://dx.doi.org/10.6084/m9.figshare.3115156.v2s:codeRepository: https://github.com/common-workflow-language/common-workflow-languages:dateCreated: "2016-12-13"s:license: https://spdx.org/licenses/Apache-2.0s:keywords: edam:topic_0091 , edam:topic_0622s:programmingLanguage: C$namespaces:s: https://schema.org/edam: http://edamontology.org/$schemas:- http://schema.org/version/9.0/schemaorg-current-http.rdf- http://edamontology.org/EDAM_1.18.owl
