forked from jarnolaitinen/RD_pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
picard_markduplicates.cwl
76 lines (69 loc) · 1.45 KB
/
picard_markduplicates.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
class: CommandLineTool
cwlVersion: v1.0
id: picard_markduplicates
baseCommand:
- picard
- MarkDuplicates
requirements:
- class: InlineJavascriptRequirement
- class: DockerRequirement
dockerPull: cnag/picard:2.18.25
- class: ResourceRequirement
outdirMin: 7500
tmpdirMin: 7700
hints:
- class: ResourceRequirement
coresMin: 4
ramMin: 4000
inputs:
input:
type: File
inputBinding:
position: 2
prefix: INPUT=
separate: false
arguments:
- position: 0
prefix: OPTICAL_DUPLICATE_PIXEL_DISTANCE=
valueFrom: '100'
separate: false
- position: 0
prefix: TAGGING_POLICY=
valueFrom: 'All'
separate: false
- position: 0
prefix: CREATE_INDEX=
valueFrom: 'true'
separate: false
- position: 0
prefix: REMOVE_DUPLICATES=
valueFrom: 'true'
separate: false
- position: 0
prefix: TAG_DUPLICATE_SET_MEMBERS=
valueFrom: 'true'
separate: false
- position: 0
prefix: ASSUME_SORT_ORDER=
valueFrom: 'coordinate'
separate: false
- position: 1
prefix: METRICS_FILE=
valueFrom: $(inputs.input.nameroot).metrics.txt
separate: false
- position: 3
prefix: OUTPUT=
valueFrom: $(inputs.input.nameroot).md.bam
separate: false
outputs:
- id: md_bam
type: File
outputBinding:
glob: '*.md.bam'
secondaryFiles:
- ^.bai
- id: output_metrics
type: File
outputBinding:
glob: '*.metrics.txt'
label: picard-MD