对于那些高度积极的人来说,也可以用大量的元数据来注释您的工具。这个例子包含了EDAM本体标签作为关键字(允许对相关工具进行分组),暗示了使用该工具的硬件需求,以及更多的元数据字段。
    metadata_example3.cwl

    1. #!/usr/bin/env cwl-runner
    2. cwlVersion: v1.0
    3. class: CommandLineTool
    4. label: An example tool demonstrating metadata.
    5. doc: Note that this is an example and the metadata is not necessarily consistent.
    6. hints:
    7. ResourceRequirement:
    8. coresMin: 4
    9. inputs:
    10. aligned_sequences:
    11. type: File
    12. label: Aligned sequences in BAM format
    13. format: edam:format_2572
    14. inputBinding:
    15. position: 1
    16. baseCommand: [ wc, -l ]
    17. stdout: output.txt
    18. outputs:
    19. report:
    20. type: stdout
    21. format: edam:format_1964
    22. label: A text file that contains a line count
    23. s:author:
    24. - class: s:Person
    25. s:identifier: https://orcid.org/0000-0002-6130-1021
    26. s:email: mailto:dyuen@oicr.on.ca
    27. s:name: Denis Yuen
    28. s:contributor:
    29. - class: s:Person
    30. s:identifier: http://orcid.org/0000-0002-7681-6415
    31. s:email: mailto:briandoconnor@gmail.com
    32. s:name: Brian O'Connor
    33. s:citation: https://dx.doi.org/10.6084/m9.figshare.3115156.v2
    34. s:codeRepository: https://github.com/common-workflow-language/common-workflow-language
    35. s:dateCreated: "2016-12-13"
    36. s:license: https://spdx.org/licenses/Apache-2.0
    37. s:keywords: edam:topic_0091 , edam:topic_0622
    38. s:programmingLanguage: C
    39. $namespaces:
    40. s: https://schema.org/
    41. edam: http://edamontology.org/
    42. $schemas:
    43. - http://schema.org/version/9.0/schemaorg-current-http.rdf
    44. - http://edamontology.org/EDAM_1.18.owl