convert_bam_to_rle {iimi}R Documentation

convert_bam_to_rle

Description

Converts one or more indexed and sorted BAM files into a run- length encodings (RLEs) list.

Usage

convert_bam_to_rle(bam_file, paired = FALSE)

Arguments

bam_file

path to BAM file(s).

paired

Indicate if the sequencing paired is single-end or paired-end reads. TRUE if paired-end. FALSE if single-end.

Value

A list of coverage profile(s) in RLE format with one or more samples.

Examples

## Not run: 
## Please change the path to your folder where you
## store sorted and indexed BAM files of mapped samples

rles <- convert_bam_to_rle("path/to/bam/file")

## End(Not run)


[Package iimi version 1.1.1 Index]