-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsync_to_synapse.cwl
78 lines (61 loc) · 1.52 KB
/
sync_to_synapse.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
hints:
DockerRequirement:
dockerPull: quay.io/andrewelamb/synapse_python_client
baseCommand: [ python, /usr/local/bin/sync_to_synapse.py ]
arguments: [
"--path",
$(inputs.tsv_file.path),
"--used",
$(inputs.fastq_p1_synapse_ids),
$(inputs.fastq_p2_synapse_ids),
$(inputs.kallisto_index_synapse_id),
"--executed",
"https://github.com/Sage-Bionetworks/fastq_mixing_workflow_cwl",
"https://github.com/Sage-Bionetworks/fastq_mixer",
"https://github.com/Sage-Bionetworks/kallisto_cwl",
"https://github.com/Sage-Bionetworks/synapse_python_client_cwl",
"https://github.com/Sage-Bionetworks/misc_cwl"
]
inputs:
synapse_config_file:
type: File
inputBinding:
prefix: "--synapse_config_file"
tsv_file:
type: File
upload_id:
type: string
inputBinding:
prefix: "--parent"
fastq_p1_synapse_ids:
type:
type: array
items: string
fastq_p2_synapse_ids:
type:
type: array
items: string
kallisto_index_synapse_id:
type: string
activity_name:
type: string
default: "create_and_upload"
inputBinding:
prefix: "--activity_name"
activity_description:
type: string
default: "mix fastqs, and do kallisto quantification"
inputBinding:
prefix: "--activity_description"
yaml_config_file:
type: ["null", File]
inputBinding:
prefix: "--yaml_config_file"
outputs:
output:
type: File
outputBinding:
glob: manifest.tsv