aboutsummaryrefslogtreecommitdiff
path: root/workflows/fastq2fasta/bcftools-index.cwl
diff options
context:
space:
mode:
Diffstat (limited to 'workflows/fastq2fasta/bcftools-index.cwl')
-rw-r--r--workflows/fastq2fasta/bcftools-index.cwl23
1 files changed, 23 insertions, 0 deletions
diff --git a/workflows/fastq2fasta/bcftools-index.cwl b/workflows/fastq2fasta/bcftools-index.cwl
new file mode 100644
index 0000000..396b680
--- /dev/null
+++ b/workflows/fastq2fasta/bcftools-index.cwl
@@ -0,0 +1,23 @@
+#!/usr/bin/env cwl-runner
+class: CommandLineTool
+cwlVersion: v1.1
+hints:
+ DockerRequirement:
+ dockerPull: "quay.io/biocontainers/bcftools:1.10.2--hd2cd319_0"
+ InitialWorkDirRequirement:
+ listing:
+ - $(inputs.bcf)
+baseCommand: bcftools
+arguments:
+ - index
+ - $(inputs.bcf)
+inputs:
+ - id: bcf
+ type: File
+outputs:
+ - id: indexed
+ type: File
+ outputBinding:
+ glob: "$(inputs.bcf.basename)"
+ secondaryFiles:
+ - .csi