-
Notifications
You must be signed in to change notification settings - Fork 0
/
validation_file_creation.cwl
59 lines (46 loc) · 1.37 KB
/
validation_file_creation.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: CommandLineTool
label: Create a File for Validation
requirements:
InlineJavascriptRequirement: {}
baseCommand: ["echo"]
inputs:
input:
type: string
in_dir:
type: string
input2:
type: string
outputs:
output_file:
type: File
format: edam:format_3245
outputBinding:
glob: $(inputs.input)_validation_file.yml
output_dir:
type: Directory
outputBinding:
glob: .
outputEval: |
${
self[0].basename = inputs.in_dir;
return self[0]
}
stdout: $(inputs.input)_validation_file.yml
arguments: ["in_file:\n class: File\n path: $(inputs.in_dir)/$(inputs.input).mzML\n format: http://edamontology.org/format_3245\nin_dir: $(inputs.in_dir)\nin_file1:\n class: File\n path: $(inputs.input2)"]
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0002-7899-7192
s:email: mailto:sneumann@ipb-halle.de
s:name: Steffen Neumann
s:citation: https://dx.doi.org/10.6084/m9.figshare.3115156.v2
s:codeRepository: https://github.com/common-workflow-language/common-workflow-language
s:dateCreated: "2021-6-14"
s:license: https://spdx.org/licenses/MIT
$namespaces:
s: https://schema.org/
edam: http://edamontology.org/
$schemas:
- https://schema.org/version/latest/schemaorg-current-http.rdf
- http://edamontology.org/EDAM_1.18.owl