Entering edit mode
8.3 years ago
StarCute
▴
110
I have a cwl file:
cwlVersion: cwl:draft-3
class: CommandLineTool
baseCommand: [bwa, mem]
inputs:
- id: reference
type: File
inputBinding:
position: 1
- id: forward
type: File
inputBinding:
position: 2
- id: sam
type: string
inputBinding:
position: 3
prefix: ">"
outputs: []
And a yml file:
reference:
class: File
path: ref.fa
forward:
class: File
path: lane1.fa
sam: res.sam
When I run the command:
cwl-runner bwa.cwl bwa.yml --debug
I get the following error message:
usage: bwa.cwl [-h] --reference REFERENCE --forward FORWARD --sam SAM
[job_order]
bwa.cwl: error: argument --reference is required
Both ref.fa and lane1.fa are in my current working directory. Any advice?