sort_vcf: Concatenate a list of vcf files

View source: R/bcftools.R

sort_vcfR Documentation

Concatenate a list of vcf files

Description

This function functions concatenates a list of vcf files

Usage

sort_vcf(
  bin_bcftools = build_default_tool_binary_list()$bin_bcftools,
  bin_bgzip = build_default_tool_binary_list()$bin_bgzip,
  bin_tabix = build_default_tool_binary_list()$bin_tabix,
  vcf = "",
  compress = FALSE,
  clean = TRUE,
  format = "vcf",
  output_name = "",
  output_dir = ".",
  tmp_dir = ".",
  verbose = FALSE,
  batch_config = build_default_preprocess_config(),
  threads = 1,
  ram = 4,
  mode = "local",
  executor_id = make_unique_id("sortVCF"),
  task_name = "sortVCF",
  time = "48:0:0",
  update_time = 60,
  wait = FALSE,
  hold = NULL
)

Arguments

vcf

Optional Path to vcf files to merge.

compress

Output compressed file. Default file.

format

Output file format. vcf/bcf

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 1

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.

pon

Optional Path to panel of normal.


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