Use the DeepVariant module or subworkflow
masterDeepVariant can be executed in two ways depending on your requirements:
- Subcommand (
deepvariant/rundeepvariant): A simpler, single-step execution. - Subworkflow (
deepvariant): A multi-step pipeline consisting of three processes. Use this if you need more granular control, such as runningcallvariantson a GPU.
The subworkflow components are:
makeexamples: Converts input alignment files totfrecordformat.callvariants: Calls variants based ontfrecordinputs (outputstfrecord).postprocessvariants: Convertstfrecordoutputs toVCFand createsGVCFfiles.