insertSizePindel: insertSizePindel

Description Usage Arguments Examples

View source: R/variantCalling.R

Description

Calculates the mean insert size and returns the name of a bam-file, the expected average insert size, and a label to indicate the identity of the sample.

Usage

1
2
3
4
5
6
7
insertSizePindel(
  out_path,
  sambamba,
  samtools,
  bam_file,
  size_subsample = 1e+06
)

Arguments

out_path

Path where the output of the analysis will be saved.

sambamba

Path of sambamba binary

samtools

Path of samtools binary.

bam_file

BAM file where to calculate the insert size.

size_subsample

Number of reads in the BAM file used for the insert size calculation.

Examples

1
2
3
4
5
6
## Not run: 
insertSizePindel(bam_file = 'raw/sample_tumor.bam',
               samtools = '/bin/samtools',
               sambamba = '/bin/sambamba')

## End(Not run)

msubirana/ergWgsTools documentation built on June 8, 2020, 8:07 a.m.