-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmaw-py.cwl
64 lines (57 loc) · 1.33 KB
/
maw-py.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
60
61
62
63
64
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
baseCommand: [python3]
requirements:
DockerRequirement:
dockerPull: zmahnoor/maw-py:1.0.7
InlineJavascriptRequirement: {}
inputs:
workflow_script: File
msp_file: File
gnps_dir: Directory
hmdb_dir: Directory
mbank_dir: Directory
metfrag_candidate_list:
type: File[]
inputBinding:
prefix: --metfrag_candidate_list
ms1data: File
score_thresh:
type: float
default: 0.75
arguments:
- $(inputs.workflow_script.path)
- --msp_file
- $(inputs.msp_file.path)
- --gnps_dir
- $(inputs.gnps_dir.path)
- --hmdb_dir
- $(inputs.hmdb_dir.path)
- --mbank_dir
- $(inputs.mbank_dir.path)
- --ms1data
- $(inputs.ms1data.path)
- --score_thresh
- $(inputs.score_thresh)
outputs:
# msp_file_df:
# type: File
# outputBinding:
# glob: "$(runtime.outdir)/spectral_dereplication/spec_results.csv"
# ms1data_df:
# type: File
# outputBinding:
# glob: "$(runtime.outdir)/metfrag/MS1DATA.csv"
candidate_files:
type: File[]
outputBinding:
glob: "*_Candidate_Selection/*.tsv"
result:
type: File
outputBinding:
glob: "*_mergedResults-with-one-Candidates.csv"
# provenance:
# type: File
# outputBinding:
# glob: provenance_python.yaml