{"@id":"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","retrievedFrom":{"repoUrl":"https://github.com/genome/analysis-workflows.git","branch":"39ac49f5d080bbb6bfa97246f46a5b621254f622","path":"definitions/pipelines/downsample_and_recall.cwl","packedId":null,"type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/genome/analysis-workflows/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","url":"https://github.com/genome/analysis-workflows/blob/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl"},"retrievedOn":"2026-08-28T07:35:46.692+00:00","lastCommit":"39ac49f5d080bbb6bfa97246f46a5b621254f622","label":"Downsample and HaplotypeCaller","inputs":{"ploidy":{"type":"Integer (Optional)"},"intervals":{"doc":"arrays of intervals to use in each individual run of the haplotypecaller","type":"8c1636c0038906cb57c9c489865d1662[]"},"reference":{"doc":"The reference that was used for the already-completed alignments","type":"File"},"read_filter":{"type":"String (Optional)"},"downsample_seed":{"type":"Integer (Optional)"},"crams_to_downsample":{"type":"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#crams_to_downsample/crams[]"},"downsample_strategy":{},"max_alternate_alleles":{"type":"Integer (Optional)"},"qc_minimum_base_quality":{"type":"Integer"},"emit_reference_confidence":{},"qc_minimum_mapping_quality":{"type":"Integer"}},"outputs":{"gvcfs":{"type":"6660c290ca73b160ee01d9cf1c8e1b86[]"},"wgs_metrics":{"type":"File[]"}},"steps":{"downsample":{"label":"downsample unaligned BAM","run":"../tools/downsample.cwl","runType":"COMMANDLINETOOL","sources":{"downsample":{"sourceIDs":["downsample_strategy"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#downsample/sam":{"sourceIDs":["crams_to_downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#downsample/reference":{"sourceIDs":["reference"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#downsample/probability":{"sourceIDs":["crams_to_downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#downsample/random_seed":{"sourceIDs":["downsample_seed"]}}},"haplotype_caller":{"label":"scatter GATK HaplotypeCaller over intervals","run":"../subworkflows/gatk_haplotypecaller_iterator.cwl","runType":"WORKFLOW","sources":{"haplotype_caller":{"sourceIDs":["read_filter"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/bam":{"sourceIDs":["downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/ploidy":{"sourceIDs":["ploidy"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/intervals":{"sourceIDs":["intervals"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/reference":{"sourceIDs":["reference"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/output_prefix":{"sourceIDs":["downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/max_alternate_alleles":{"sourceIDs":["max_alternate_alleles"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/contamination_fraction":{"sourceIDs":["crams_to_downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#haplotype_caller/emit_reference_confidence":{"sourceIDs":["emit_reference_confidence"]}}},"collect_wgs_metrics":{"label":"collect WGS metrics","run":"../tools/collect_wgs_metrics.cwl","runType":"COMMANDLINETOOL","sources":{"collect_wgs_metrics":{"sourceIDs":["reference"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#collect_wgs_metrics/bam":{"sourceIDs":["downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#collect_wgs_metrics/sample_name":{"sourceIDs":["downsample"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#collect_wgs_metrics/minimum_base_quality":{"sourceIDs":["qc_minimum_base_quality"]},"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl#collect_wgs_metrics/minimum_mapping_quality":{"sourceIDs":["qc_minimum_mapping_quality"]}}}},"cwltoolVersion":"3.1.20230201224320","visualisationDot":"digraph workflow {\n  graph [\n    bgcolor = \"#eeeeee\"\n    color = \"black\"\n    fontsize = \"10\"\n    labeljust = \"left\"\n    clusterrank = \"local\"\n    ranksep = \"0.22\"\n    nodesep = \"0.05\"\n  ]\n  node [\n    fontname = \"Helvetica\"\n    fontsize = \"10\"\n    fontcolor = \"black\"\n    shape = \"record\"\n    height = \"0\"\n    width = \"0\"\n    color = \"black\"\n    fillcolor = \"lightgoldenrodyellow\"\n    style = \"filled\"\n  ];\n  edge [\n    fontname=\"Helvetica\"\n    fontsize=\"8\"\n    fontcolor=\"black\"\n    color=\"black\"\n    arrowsize=\"0.7\"\n  ];\n  subgraph cluster_inputs {\n    rank = \"same\";\n    style = \"dashed\";\n    label = \"Workflow Inputs\";\n    \"reference\" [fillcolor=\"#94DDF4\",label=\"reference\"];\n    \"reference\" [fillcolor=\"#94DDF4\",label=\"reference\"];\n    \"qc_minimum_mapping_quality\" [fillcolor=\"#94DDF4\",label=\"qc_minimum_mapping_quality\"];\n    \"crams_to_downsample\" [fillcolor=\"#94DDF4\",label=\"crams_to_downsample\"];\n    \"downsample_seed\" [fillcolor=\"#94DDF4\",label=\"downsample_seed\"];\n    \"ploidy\" [fillcolor=\"#94DDF4\",label=\"ploidy\"];\n    \"emit_reference_confidence\" [fillcolor=\"#94DDF4\",label=\"emit_reference_confidence\"];\n    \"downsample_strategy\" [fillcolor=\"#94DDF4\",label=\"downsample_strategy\"];\n    \"qc_minimum_base_quality\" [fillcolor=\"#94DDF4\",label=\"qc_minimum_base_quality\"];\n    \"max_alternate_alleles\" [fillcolor=\"#94DDF4\",label=\"max_alternate_alleles\"];\n    \"intervals\" [fillcolor=\"#94DDF4\",label=\"intervals\"];\n    \"read_filter\" [fillcolor=\"#94DDF4\",label=\"read_filter\"];\n  }\n  subgraph cluster_outputs {\n    rank = \"same\";\n    style = \"dashed\";\n    labelloc = \"b\";\n    label = \"Workflow Outputs\";\n    \"gvcfs\" [fillcolor=\"#94DDF4\",label=\"gvcfs\"];\n    \"wgs_metrics\" [fillcolor=\"#94DDF4\",label=\"wgs_metrics\"];\n  }\n  \"downsample\" [label=\"downsample unaligned BAM\"];\n  \"collect_wgs_metrics\" [label=\"collect WGS metrics\"];\n  \"haplotype_caller\" [label=\"scatter GATK HaplotypeCaller over intervals\", fillcolor=\"#F3CEA1\"];\n  \"downsample_strategy\" -> \"downsample\" [label=\"strategy\"];\n  \"crams_to_downsample\" -> \"downsample\" [label=\"probability\"];\n  \"crams_to_downsample\" -> \"downsample\" [label=\"sam\"];\n  \"reference\" -> \"downsample\" [label=\"reference\"];\n  \"downsample_seed\" -> \"downsample\" [label=\"random_seed\"];\n  \"reference\" -> \"collect_wgs_metrics\" [label=\"reference\"];\n  \"qc_minimum_mapping_quality\" -> \"collect_wgs_metrics\" [label=\"minimum_mapping_quality\"];\n  \"downsample\" -> \"collect_wgs_metrics\" [label=\"sample_name\"];\n  \"qc_minimum_base_quality\" -> \"collect_wgs_metrics\" [label=\"minimum_base_quality\"];\n  \"downsample\" -> \"collect_wgs_metrics\" [label=\"bam\"];\n  \"read_filter\" -> \"haplotype_caller\" [label=\"read_filter\"];\n  \"reference\" -> \"haplotype_caller\" [label=\"reference\"];\n  \"ploidy\" -> \"haplotype_caller\" [label=\"ploidy\"];\n  \"max_alternate_alleles\" -> \"haplotype_caller\" [label=\"max_alternate_alleles\"];\n  \"downsample\" -> \"haplotype_caller\" [label=\"bam\"];\n  \"crams_to_downsample\" -> \"haplotype_caller\" [label=\"contamination_fraction\"];\n  \"emit_reference_confidence\" -> \"haplotype_caller\" [label=\"emit_reference_confidence\"];\n  \"intervals\" -> \"haplotype_caller\" [label=\"intervals\"];\n  \"downsample\" -> \"haplotype_caller\" [label=\"output_prefix\"];\n  \"haplotype_caller\" -> \"gvcfs\";\n  \"collect_wgs_metrics\" -> \"wgs_metrics\";\n}\n","licenseLink":"https://spdx.org/licenses/MIT","permalink":"https://w3id.org/cwl/view/git/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","packed":false,"visualisationXdot":"/graph/xdot/github.com/genome/analysis-workflows/blob/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","visualisationPng":"/graph/png/github.com/genome/analysis-workflows/blob/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","visualisationSvg":"/graph/svg/github.com/genome/analysis-workflows/blob/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","roBundle":"/robundle/github.com/genome/analysis-workflows/blob/39ac49f5d080bbb6bfa97246f46a5b621254f622/definitions/pipelines/downsample_and_recall.cwl","licenseName":"MIT License"}