get_tf_from_cnvkit: Filter BAM file by size using samtools

View source: R/other_code.R

get_tf_from_cnvkitR Documentation

Filter BAM file by size using samtools

Description

Filter BAM file by size using samtools

Usage

get_tf_from_cnvkit(cnr = NULL, cns = NULL, tf = NULL, ...)

Arguments

bam

Path to the input file with the sequence.

bin_samtools

Path to samtools executable. Default path tools/samtools/samtools.

mapq

Flags of the reads to read. Default c(99, 147, 83, 163)

region

Genomic region to search

output_dir

Path to the output directory.

verbose

Enables progress messages. Default False.

threads

Number of threads. Default 3

mode

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

executor_id

Job EXECUTOR ID. Default "mardupsGATK"

task_name

Name of the task. Default "mardupsGATK"

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.