3 label: Gather GVCF using Picard
7 dockerPull: broadinstitute/gatk:4.1.7.0
8 ShellCommandRequirement: {}
9 InlineJavascriptRequirement: {}
15 arv:RuntimeConstraints:
16 outputDirType: keep_output_dir
21 label: Input directory of GVCFs
22 loadListing: 'shallow_listing'
28 format: edam:format_1929 # FASTA
29 label: Reference genome
41 format: edam:format_3016 # GVCF
48 baseCommand: /gatk/gatk
56 ${function compare(a, b) {
57 var baseA = a.basename;
58 var baseB = b.basename;
63 } else if (baseA < baseB) {
70 for (var i = 0; i < inputs.gvcfdir.listing.length; i++) {
71 var name = inputs.gvcfdir.listing[i];
72 if (name.nameext ==='.gz' ) {
73 samples.push(name.path);
76 samples = samples.sort(compare);
79 for (var i = 0; i < samples.length; i++) {
81 sampleinput = sampleinput + "-I " + s1 + " "
87 valueFrom: $(inputs.sample).g.vcf.gz
89 s:codeRepository: https://github.com/arvados/arvados-tutorial
90 s:license: https://www.gnu.org/licenses/agpl-3.0.en.html
93 s: https://schema.org/
94 edam: http://edamontology.org/
95 arv: "http://arvados.org/cwl#"
96 cwltool: "http://commonwl.org/cwltool#"
99 # - https://schema.org/version/latest/schema.rdf
100 # - http://edamontology.org/EDAM_1.18.owl