forked from jarnolaitinen/RD_pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatk3-rtc.cwl
69 lines (63 loc) · 1.26 KB
/
gatk3-rtc.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
class: CommandLineTool
cwlVersion: v1.0
id: rtc
requirements:
- class: InlineJavascriptRequirement
- class: DockerRequirement
dockerPull: cnag/gatk:3.6-0
- class: ResourceRequirement
outdirMin: 12500
tmpdirMin: 12500
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.reference_genome)
- entry: $(inputs.dict)
- entry: $(inputs.known_indels)
hints:
- class: ResourceRequirement
coresMin: 4
ramMin: 8000
baseCommand:
- gatk
- '-T'
- RealignerTargetCreator
inputs:
- id: input
type: File
inputBinding:
position: 2
prefix: '-I'
secondaryFiles:
- ^.bai
- id: rtc_intervals_name
type: string?
default: 'rtc_intervals.list'
- id: reference_genome
type: File
inputBinding:
position: 1
prefix: '-R'
secondaryFiles:
- .fai
# - .dict
- id: known_indels
type: File
inputBinding:
position: 4
prefix: '--known'
- id: dict
type: File
arguments:
- position: 5
prefix: '-dt'
valueFrom: NONE
- position: 3
prefix: '-o'
valueFrom: $(inputs.rtc_intervals_name)
outputs:
- id: rtc_intervals_file
type: File
outputBinding:
glob: "*.list"
#$(inputs.rtc_intervals_name)
label: rtc