forked from bharath-cchmc/ALEA_CWL_workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bwa-samse.cwl
71 lines (59 loc) · 1.29 KB
/
bwa-samse.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
baseCommand: [bwa, samse]
class: CommandLineTool
requirements:
- $import: bwa-docker.yml
- $import: envvar-global.yml
- class: InlineJavascriptRequirement
inputs:
fasta:
type: File
doc: |
Input fasta file in .fa or .fasta format with all indexed files like .amb, .ann, .pac, .sa, .bwt
inputBinding:
position: 1
secondaryFiles:
- ".amb"
- ".ann"
- ".pac"
- ".sa"
- ".bwt"
input_sai:
type: File
doc: |
Input .sai file
inputBinding:
position: 2
input_fastq:
type: File
doc: |
Input .fq or .fq.gz file
inputBinding:
position: 3
alignments:
type: int?
doc: |
Maximum number of alignments to output in the XA tag for reads paired properly. If a read has more than INT hits, the XA tag will not be written.
inputBinding:
position: 1
prefix: "-n"
read_group:
type: string?
doc: |
Specify the read group in a format like ‘@RG\tID:foo\tSM:bar’.gaps [-1]
inputBinding:
position: 1
prefix: "-r"
output_sam:
type: string
doc: |
Output filename with .sam
inputBinding:
position: 4
prefix: "-f"
outputs:
output:
type: File
outputBinding:
glob: $(inputs.output_sam)