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

Description Usage Arguments Author(s) Examples

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
## Not run: bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
## Not run: createIdxBatch(bam)

wokai/rbamtools documentation built on May 4, 2019, 9:46 a.m.