forked from bharath-cchmc/ALEA_CWL_workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
workflow.cwl
68 lines (58 loc) · 992 Bytes
/
workflow.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
cwlVersion: v1.0
class: Workflow
inputs:
fastq:
type: File
doc: |
Fastq file
genome1_fasta:
type: File
doc: |
Strain1_Fasta file
secondaryFiles:
- ".amb"
- ".ann"
- ".pac"
- ".sa"
- ".bwt"
saifile:
type: string
doc: |
Sai output prefix with .sai
threads:
type: int?
doc: |
Threads for bwa-align default is 0
output_sam:
type: string
doc: |
Final sam_file with .sam
n:
type: int
default: 0
k:
type: int
default: 0
outputs:
output:
type: File
outputSource: bwa_samse/output
steps:
bwa-align:
run: bwa-align.cwl
in:
prefix: genome1_fasta
input: fastq
output_file_name: saifile
threads: threads
n: n
k: k
out: [output]
bwa_samse:
run: bwa-samse.cwl
in:
fasta: genome1_fasta
input_sai: bwa-align/output
input_fastq: fastq
output_sam: output_sam
out: [output]