forked from jarnolaitinen/RD_pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bwa-index.cwl
54 lines (47 loc) · 921 Bytes
/
bwa-index.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
cwlVersion: v1.0
class: CommandLineTool
requirements:
- class: InlineJavascriptRequirement
- class: DockerRequirement
dockerPull: cnag/bwa:0.7.17
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.reference_genome)
- class: ResourceRequirement
outdirMin: 10500
tmpdirMin: 10500
hints:
- class: ResourceRequirement
ramMin: 4000
coresMin: 1
baseCommand:
- bwa
- index
inputs:
algorithm:
type: string?
inputBinding:
prefix: -a
doc: |
BWT construction algorithm: bwtsw or is (Default: auto)
reference_genome:
type: File
inputBinding:
# valueFrom: $(self.basename)
position: 4
block_size:
type: int?
inputBinding:
position: 2
prefix: -b
outputs:
output:
type: File
outputBinding:
glob: "*.fa"
secondaryFiles:
- .amb
- .ann
- .bwt
- .pac
- .sa