Workflow: Subworkflow that runs cnvkit in single sample mode and returns a vcf file

Fetched 2023-10-08 04:26:21 GMT
children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Inputs

ID Type Title Doc
method
diagram Boolean (Optional)
tumor_bam File
scatter_plot Boolean (Optional)
reference_cnn File (Optional)
male_reference Boolean (Optional)
segment_filter
cnvkit_vcf_name String
fasta_reference File
drop_low_coverage Boolean (Optional)

Steps

ID Runs Label Doc
cns_to_vcf
../tools/cnvkit_vcf_export.cwl (CommandLineTool)
Convert default cnvkit .cns output to standard vcf format
cnvkit_main
../tools/cnvkit_batch.cwl (CommandLineTool)

Note: cnvkit batch is a complex command that is capable of running all or part of the cnvkit internal pipeline, depending on the combination of inputs provided to it. In order to take advantage of this, most inputs to this cwl are optional, so that different workflows can use different forms of the command while still using a single cwl file. For further reading, see the relevant cnvkit docs at https://cnvkit.readthedocs.io/en/stable/quickstart.html#build-a-reference-from-normal-samples-and-infer-tumor-copy-ratios https://cnvkit.readthedocs.io/en/stable/pipeline.html#batch In our pipelines, the command form is mainly determined by the components of the reference input. The somatic_exome cwl pipeline provides a fasta file and a normal bam, which causes the batch pipeline to construct a copy number reference (.cnn file) based on the normal bam. The germline_wgs cwl pipeline does not provide a normal bam; instead it passes a cnn reference file as an optional input. This file is intended to be manually generated from a reference normal sample for use in the pipeline. If it is not provided, cnvkit will automatically generate a flat reference file.

Outputs

ID Type Label Doc
cn_diagram File (Optional)
cnvkit_vcf File
cn_scatter_plot File (Optional)
tumor_target_coverage File
tumor_bin_level_ratios File
tumor_segmented_ratios File
tumor_antitarget_coverage File
Permalink: https://w3id.org/cwl/view/git/8da2b1cd6fa379b2c22baf9dad762d39630e6f46/definitions/subworkflows/cnvkit_single_sample.cwl