| createIdxBatch {rbamtools} | R Documentation |
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.
createIdxBatch(bam,idx=paste(bam,".bai",sep=""),rebuild=FALSE)
bam |
Filenames of BAM-files to be opened. |
idx |
Optional: Name of BAM-index files |
rebuild |
Optional: Logical value.
When |
Wolfgang Kaisers
## Not run: bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
## Not run: createIdxBatch(bam)