wraper for export to export list of GAlignment into bam files.

writeListOfGAlignments(objs, outPath = ".")

Arguments

objs

A list of GAlignments.

outPath

character(1). Output file path.

Value

status of export.

Author

Jianhong Ou

Examples

library(GenomicAlignments) gal1 <- GAlignments(seqnames=Rle("chr1"), pos=1L, cigar="10M", strand=Rle(strand(c("+"))), names="a", score=1) galist <- GAlignmentsList(a=gal1) writeListOfGAlignments(galist)
#> Error in writeLines(header, sam_con) : object 'header' not found
#> a #> "Error in writeLines(header, sam_con) : object 'header' not found\n"