aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/bcftools-view-qc.cwl
blob: 37caa19c70f59b495c0a719877075ad158c6c745 (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
#!/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:
  - view
  - -i
  - 'QUAL > 10 && GT="a"'
  - -Oz
  - --threads=$(inputs.threads)
  - $(inputs.bcf)
inputs:
  - id: threads
    type: int
  - id: bcf
    type: File
    secondaryFiles: [.csi]
outputs:
  - id: vcf
    type: stdout
stdout: out.changes.vcf.gz