createIdxBatch: createIdxBatch: Creation of index files for multiple BAM...

Description Usage Arguments Author(s) Examples

View source: R/rbamtools.R

Description

The function takes a vector of BAM-file names (plus optionally accompanying names of BAM-index-files) and checks for existing BAM-index files. When index files do not exist, the function creates the missing index files.

Usage

1
createIdxBatch(bam,idx=paste(bam,".bai",sep=""),rebuild=FALSE)

Arguments

bam

Filenames of BAM-files to be opened.

idx

Optional: Name of BAM-index files

rebuild

Optional: Logical value. When TRUE the function rebuilds existing BAM-index files.

Author(s)

Wolfgang Kaisers

Examples

1
2
bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
createIdxBatch(bam)

rbamtools documentation built on Nov. 11, 2019, 5:09 p.m.