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: {}
16 arv:IntermediateOutput:
24 label: Input directory of VCFs
28 label: Input VCFs in array of files
35 label: Whole genome BED
38 label: Reference FASTA
42 label: GQ (Genotype Quality) cutoff for filtering
60 label: Output pairs of FASTAs
62 - gvcf2fasta_nonrefvcf-wf/fas
63 - gvcf2fasta_splitvcf-imputation-wf/fas
64 - gvcf2fasta_splitvcf-wf/fas
65 - gvcf2fasta_splitvcftar-wf/fas
67 pickValue: first_non_null
70 gvcf2fasta_nonrefvcf-wf:
71 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_nonrefvcf-wf.cwl
72 when: $(inputs.sampleid and inputs.vcfsinput.vcf)
73 scatter: [sampleid, vcf]
74 scatterMethod: dotproduct
83 gvcf2fasta_splitvcf-imputation-wf:
84 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcf-imputation-wf.cwl
85 when: $(inputs.sampleids and inputs.splitvcfdirs and inputs.chrs and inputs.refsdir and inputs.mapsdir and inputs.panelcallbed and inputs.panelnocallbed)
86 scatter: [sampleid, splitvcfdir]
87 scatterMethod: dotproduct
90 splitvcfdir: vcfsinput
97 panelnocallbed: panelnocallbed
98 panelcallbed: panelcallbed
101 gvcf2fasta_splitvcf-wf:
102 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcf-wf.cwl
103 when: $(inputs.sampleid and inputs.splitvcfdir)
104 scatter: [sampleid, splitvcfdir]
105 scatterMethod: dotproduct
108 splitvcfdir: vcfsinput
113 gvcf2fasta_splitvcftar-wf:
114 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta_splitvcftar-wf.cwl
115 when: $(inputs.sampleids and inputs.vcftars)
116 scatter: [sampleid, vcftar]
117 scatterMethod: dotproduct
126 run: subworkflows/scatter/helpers/getfiles.cwl
131 run: subworkflows/scatter/gvcf2fasta/gvcf2fasta-wf.cwl
132 scatter: [sampleid, vcf]
133 scatterMethod: dotproduct
135 sampleid: getfiles/samples