call_bcftools_parallel: Variant calling using bcftools on parallel per genomic region

Description Usage Arguments

View source: R/analysis.R View source: R/analysis.R

Description

This function calls SNPs in a sample

This function calls SNPs in a sample

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
call_bcftools_parallel(
  bin_path = "tools/bcftools/bcftools",
  bam = "",
  ref_genome = "",
  output_dir = "",
  region_bed = "",
  threads = 3,
  verbose = FALSE
)

call_bcftools_parallel(
  bin_path = "tools/bcftools/bcftools",
  bam = "",
  ref_genome = "",
  output_dir = "",
  region_bed = "",
  threads = 3,
  verbose = FALSE
)

Arguments

bin_path

Required Path to bcftools binary. Default path tools/bcftools/bcftools.

bam

Required Path to bam file.

ref_genome

Path to reference genome fasta file.

output_dir

Path to the output directory.

region_bed

Path to bed file with regions to analyze.

threads

Optional Number of threads. Default 3

verbose

Enables progress messages. Default False.


TearsWillFall/variantCall documentation built on Oct. 15, 2021, 8:51 p.m.