forked from mattions/dna2protein
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdna2protein.cwl
138 lines (138 loc) · 3.15 KB
/
dna2protein.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
class: Workflow
cwlVersion: v1.0
id: dna2protein_cwl
label: dna2protein.cwl.yaml
inputs:
- id: dna
type: File
fileTypes: []
'sbg:x': -707.3352146362032
'sbg:y': 7.558805120071309
- id: verbose_transcribe
type: boolean?
fileTypes: []
'sbg:x': -717.7321961678115
'sbg:y': -145.01937835488542
- id: verbose_translate
type: boolean?
fileTypes: []
'sbg:x': -213.41893005371094
'sbg:y': -179.67202758789062
outputs:
- id: rna
outputSource:
- transcribe/rna
type: File
fileTypes: []
'sbg:x': -373.1210325782998
'sbg:y': -149.92108038234497
- id: protein
outputSource:
- translate/protein
type: File
fileTypes: []
'sbg:x': 147.01910400390625
'sbg:y': -92.385986328125
steps:
- id: transcribe
in:
- id: dna
source:
- dna
- id: verbose_transcribe
source:
- verbose_transcribe
out:
- id: rna
run:
class: CommandLineTool
cwlVersion: v1.0
baseCommand:
- transcribe.py
inputs:
- type: File
id: dna
inputBinding:
position: 1
doc: DNA input file to transcribe
secondaryFiles: []
- default: false
type: boolean?
id: verbose_transcribe
inputBinding:
prefix: '--verbose'
separate: true
secondaryFiles: []
outputs:
- id: rna
type: File
outputBinding:
glob: rna.txt
id: transcribe
requirements:
- class: DockerRequirement
dockerPull: 'sevenbridges/dna2protein:0.5.6'
- class: InitialWorkDirRequirement
listing: []
stdout: transcribe.log
'sbg:job':
inputs:
dna:
class: File
path: /path/to/dna.ext
secondaryFiles: []
size: 0
verbose: true
'sbg:modified': true
'sbg:x': -521.4851027793799
'sbg:y': -83.81255953317253
- id: translate
in:
- id: mRNA
source:
- transcribe/rna
- id: verbose_translate
source:
- verbose_translate
out:
- id: protein
run:
class: CommandLineTool
cwlVersion: v1.0
baseCommand:
- translate.py
inputs:
- type: File
id: mRNA
inputBinding:
position: 1
doc: mRNA to transcribe
secondaryFiles: []
- default: false
type: boolean?
id: verbose_translate
inputBinding:
prefix: '-v'
separate: true
doc: Run in verbose mode
secondaryFiles: []
outputs:
- id: protein
type: File
outputBinding:
glob: protein.txt
id: translate
requirements:
- class: DockerRequirement
dockerPull: 'sevenbridges/dna2protein:0.5.6'
- class: InitialWorkDirRequirement
listing: []
stdout: translate.log
'sbg:job':
inputs: {}
runtime: {}
'sbg:modified': true
'sbg:x': -82.98089599609375
'sbg:y': -64.385986328125
description: ''
'sbg:modified': true