aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/bwa-index.cwl
blob: 775ba8dcd4840bed77079dc3c49683a0d28f81e7 (plain)
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
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
doc: string
requirements:
  DockerRequirement:
    dockerPull: quay.io/biocontainers/bwa:0.7.17--h84994c4_5
  InitialWorkDirRequirement:
    listing:
      - $(inputs.input_fasta)
baseCommand: [bwa, index]
inputs:
  input_fasta:
    type: File
    label: "input fasta file"
    inputBinding:
      position: 1
outputs:
  indexed_fasta:
    type: File
    outputBinding:
      glob: $(inputs.input_fasta.basename)
    secondaryFiles:
      - .amb
      - .ann
      - .bwt
      - .pac
      - .sa
  stdout: stdout
  stderr: stderr
stdout: bwa-index-stdout.log
stderr: bwa-index-stderr.log