1 # Copyright (C) The Lightning Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 arv: "http://arvados.org/cwl#"
9 label: Scatter to Convert various gVCF to FASTA
11 SubworkflowFeatureRequirement: {}
12 ScatterFeatureRequirement: {}
13 MultipleInputFeatureRequirement: {}
14 InlineJavascriptRequirement: {}
15 StepInputExpressionRequirement: {}
19 arv:IntermediateOutput:
25 label: Input directory of split gVCFs
29 label: Input directory of VCFs
33 label: Input VCFs in array of files
37 label: Whole genome BED
41 label: Reference FASTA
45 label: GQ (Genotype Quality) cutoff for filtering
68 label: Output pairs of FASTAs
70 - gvcf2fasta_nonrefvcf-wf/fas
71 - gvcf2fasta_splitvcf-imputation-wf/fas
72 - gvcf2fasta_splitvcf-wf/fas
73 - gvcf2fasta_splitvcftar-wf/fas
75 pickValue: first_non_null
79 run: subworkflows/scatter/helpers/getfiles.cwl
80 when: $(inputs.dir !== null)
93 run: subworkflows/scatter/helpers/get_vcfs.cwl
97 run: subworkflows/scatter/helpers/get_sample_ids.cwl
98 when: $(inputs.sampleids === null)
100 vcfs: vcf_throttle/vcfs
104 gvcf2fasta_nonrefvcf-wf:
105 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_nonrefvcf-wf.cwl
106 when: $(inputs.vcf !== null && inputs.genomebed !== null && inputs.ref !== null && inputs.gqcutoff !== null && inputs.nonref === true)
107 scatter: [sampleid, vcf]
108 scatterMethod: dotproduct
111 source: get_sample_ids/sampleids
114 source: vcf_throttle/vcfs
122 gvcf2fasta_splitvcf-imputation-wf:
123 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcf-imputation-wf.cwl
124 when: $(inputs.splitvcfdir !== null && inputs.chrs !== null && inputs.refsdir !== null && inputs.mapsdir !== null && inputs.panelcallbed !== null && inputs.panelnocallbed !== null)
125 scatter: [sampleid, splitvcfdir]
126 scatterMethod: dotproduct
140 panelnocallbed: panelnocallbed
141 panelcallbed: panelcallbed
144 gvcf2fasta_splitvcf-wf:
145 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcf-wf.cwl
146 when: $(inputs.split && inputs.chrs === null)
147 scatter: [sampleid, splitvcfdir]
148 scatterMethod: dotproduct
151 source: get_sample_ids/sampleids
163 gvcf2fasta_splitvcftar-wf:
164 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcftar-wf.cwl
165 when: $(inputs.tar === true && inputs.split === true)
166 scatter: [sampleid, vcftar]
167 scatterMethod: dotproduct
170 source: get_sample_ids/sampleids
173 source: vcf_throttle/vcfs
182 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta-wf.cwl
183 scatter: [sampleid, vcf]
184 when: $(inputs.tar !== true && inputs.split !== true && inputs.nonref !== true)
185 scatterMethod: dotproduct
188 source: get_sample_ids/sampleids
191 source: vcf_throttle/vcfs