-
Notifications
You must be signed in to change notification settings - Fork 4
/
gatk-ir.cwl
74 lines (68 loc) · 1.36 KB
/
gatk-ir.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
class: CommandLineTool
cwlVersion: v1.0
id: ir
requirements:
- class: InlineJavascriptRequirement
- class: DockerRequirement
dockerPull: broadinstitute/gatk3:3.6-0
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.reference_genome)
- entry: $(inputs.dict)
- class: ResourceRequirement
outdirMin: 7500
tmpdirMin: 7700
hints:
- class: ResourceRequirement
coresMin: 15
ramMin: 48000
baseCommand:
- java
- -jar
- /usr/GenomeAnalysisTK.jar
- '-T'
- IndelRealigner
inputs:
- id: input
type:
- File
- type: array
items: File
inputBinding:
position: 2
prefix: '-I'
secondaryFiles:
- ^.bai
- id: rtc_intervals
type: File
inputBinding:
position: 3
prefix: '-targetIntervals'
- id: reference_genome
type: File
inputBinding:
position: 1
prefix: '-R'
secondaryFiles:
- .fai
- id: dict
type: File
arguments:
- position: 5
prefix: '-dt'
valueFrom: 'NONE'
- position: 6
prefix: '--maxReadsForRealignment'
valueFrom: '200000'
- position: 10
prefix: '-o'
valueFrom: $(inputs.input.nameroot).realigned.bam
outputs:
- id: realigned_bam
type: File
outputBinding:
glob: "*.realigned.bam"
# $(inputs.input.nameroot).realigned.bam
secondaryFiles:
- ^.bai
label: ir