aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/freebayes.cwl
blob: 1bf9b2f20c129a48fb6685a99ae84491f4435a15 (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
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.1
hints:
  DockerRequirement:
    dockerPull: "quay.io/biocontainers/freebayes:1.3.2--py37hc088bd4_0"
baseCommand: freebayes
arguments: [
  --bam, $(inputs.bam),
  # --region=$(inputs.contig):1-$(inputs.contig_end)
  --ploidy, "1",
  -f, $(inputs.ref_fasta)]
inputs:
  - id: bam
    type: File
  # - id: contig
  #   type: string
  # - id: contig_end
  #   type: int
  - id: ref_fasta
    type: File
outputs:
  - id: vcf
    type: stdout
stdout: var.vcf