merge_mutect_stats_gatk: Multiregion parallelization across Mutect2 Gatk Variant...

View source: R/gatk.R

merge_mutect_stats_gatkR Documentation

Multiregion parallelization across Mutect2 Gatk Variant Calling

Description

This function functions calls Mutect2 across multiple regions in parallel

Usage

merge_mutect_stats_gatk(
  sif_gatk = build_default_sif_list()$sif_gatk,
  stats = NA,
  output_name = "",
  output_dir = ".",
  clean = FALSE,
  verbose = TRUE,
  batch_config = build_default_preprocess_config(),
  threads = 1,
  ram = 4,
  mode = "local",
  executor_id = make_unique_id("mergeMutectStats"),
  task_name = "mergeMutectStats",
  time = "48:0:0",
  update_time = 60,
  wait = FALSE,
  hold = NULL
)

Arguments

sif_gatk

Path to gatk sif file.

stats

Path to Mutect2 stats files.

output_name

OPTIONAL Name for the output. If not given the name of one of the samples will be used.

output_dir

Path to the output directory.

verbose

OPTIONAL Enables progress messages. Default False.

threads

OPTIONAL Number of threads to split the work. Default 4

ram

OPTIONAL RAM memory to asing to each thread. Default 4

mode

REQUIRED Where to parallelize. Default local. Options "local","batch"

executor_id

Task EXECUTOR ID. Default "recalCovariates"

task_name

Task name. Default "recalCovariates"

time

OPTIONAL If batch mode. Max run time per job. Default "48:0:0"

update_time

OPTIONAL If batch mode. Job update time in seconds. Default 60.

wait

OPTIONAL If batch mode wait for batch to finish. Default FALSE

hold

OPTIONAL HOld job until job is finished. Job ID.


TearsWillFall/ULPwgs documentation built on April 18, 2024, 3:45 p.m.