powered by
Converts one or more indexed and sorted BAM files (ending in *.sorted.bam and *.bai) into a run-length encodings (RLEs) list.
*.sorted.bam
*.bai
convert_bam_to_rle(bam_file, paired = FALSE)
A list of coverage profile(s) in RLE format with one or more samples.
path to BAM file(s).
Indicate if the sequencing paired is single-end or paired-end reads. TRUE if paired-end. FALSE if single-end.
TRUE
FALSE
if (FALSE) { ## 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") }
Run the code above in your browser using DataLab