aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/bcftools-norm.cwl
blob: a765e6558ac7ff48f60f0251298dfbea9fc4b158 (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
class: CommandLineTool
cwlVersion: v1.1
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/bcftools:1.10.2--hd2cd319_0"
baseCommand: bcftools
arguments:
  - norm
  - -Ob
  - -f
  - $(inputs.ref_fasta)
  - -o
  - $(inputs.output_name)
  - --threads
  - $(inputs.threads)
  - $(inputs.bcf)
inputs:
  - id: ref_fasta
    type: File
  - id: output_name
    type: string
    default: "normalized.bcf"
  - id: threads
    type: int
  - id: bcf
    type: File
outputs:
 - id: normalized_bcf
   type: File
   outputBinding:
     glob: "$(inputs.output_name)"