| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
|
| 3 |
cwlVersion: v1.0 |
| 4 |
class: CommandLineTool |
| 5 |
|
| 6 |
requirements: |
| 7 |
- class: DockerRequirement |
| 8 |
dockerPull: jdidion/bwaindex:latest |
| 9 |
- class: InlineJavascriptRequirement |
| 10 |
|
| 11 |
baseCommand: [bwa, mem] |
| 12 |
|
| 13 |
inputs: |
| 14 |
read_group: |
| 15 |
type: string? |
| 16 |
inputBinding: |
| 17 |
position: 0 |
| 18 |
prefix: -R |
| 19 |
mark_secondary: |
| 20 |
type: boolean |
| 21 |
inputBinding: |
| 22 |
position: 0 |
| 23 |
prefix: -M |
| 24 |
threads: |
| 25 |
type: int? |
| 26 |
inputBinding: |
| 27 |
position: 0 |
| 28 |
prefix: -t |
| 29 |
output_filename: |
| 30 |
type: File |
| 31 |
reference: |
| 32 |
type: File? |
| 33 |
inputBinding: |
| 34 |
position: 1 |
| 35 |
default: /genomes/hg38.fa |
| 36 |
reads: |
| 37 |
type: File[] |
| 38 |
inputBinding: |
| 39 |
position: 2 |
| 40 |
|
| 41 |
stdout: $(inputs.output_filename) |
| 42 |
|
| 43 |
outputs: |
| 44 |
output: |
| 45 |
type: File |
| 46 |
outputBinding: |
| 47 |
glob: $(inputs.output_filename) |