| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
|
| 3 |
cwlVersion: v1.2 |
| 4 |
|
| 5 |
class: CommandLineTool |
| 6 |
|
| 7 |
hints: |
| 8 |
- class: ResourceRequirement |
| 9 |
coresMin: 2 |
| 10 |
- class: DockerRequirement |
| 11 |
dockerPull: docker.io/python:3-slim |
| 12 |
|
| 13 |
inputs: |
| 14 |
- id: reference |
| 15 |
type: File |
| 16 |
inputBinding: { position: 2 } |
| 17 |
|
| 18 |
- id: reads |
| 19 |
type: |
| 20 |
type: array |
| 21 |
items: File |
| 22 |
inputBinding: { position: 3 } |
| 23 |
|
| 24 |
- id: minimum_seed_length |
| 25 |
type: int |
| 26 |
inputBinding: { position: 1, prefix: -m } |
| 27 |
|
| 28 |
- id: min_std_max_min |
| 29 |
type: { type: array, items: int } |
| 30 |
inputBinding: |
| 31 |
position: 1 |
| 32 |
prefix: -I |
| 33 |
itemSeparator: "," |
| 34 |
|
| 35 |
- id: args.py |
| 36 |
type: File |
| 37 |
default: |
| 38 |
class: File |
| 39 |
location: args.py |
| 40 |
inputBinding: |
| 41 |
position: -1 |
| 42 |
|
| 43 |
outputs: |
| 44 |
- id: sam |
| 45 |
type: ["null", File] |
| 46 |
outputBinding: { glob: output.sam } |
| 47 |
- id: args |
| 48 |
type: |
| 49 |
type: array |
| 50 |
items: string |
| 51 |
|
| 52 |
baseCommand: python |
| 53 |
|
| 54 |
arguments: |
| 55 |
- bwa |
| 56 |
- mem |
| 57 |
- valueFrom: $(runtime.cores) |
| 58 |
position: 1 |
| 59 |
prefix: -t |
| 60 |
|
| 61 |
stdout: output.sam |