Description Usage Arguments Value See Also Examples
View source: R/hiReadsProcessor.R
Given filename(s), the function reads the BAM/SAM file, converts into a PSL like format. Any other file format will yield errors or erroneous results. This is intended to be used independently with other short read aligners.
1 | read.BAMasPSL(bamFile = NULL, removeFile = TRUE, asGRanges = TRUE)
|
bamFile |
BAM/SAM filename, or vector of filenames, or a pattern of files to import. |
removeFile |
remove the file(s) supplied in bamFile paramter after importing. Default is FALSE. |
asGRanges |
return a GRanges object. Default is TRUE |
a GRanges or GAlignments object reflecting psl file type.
pairwiseAlignSeqs
, blatSeqs
,
read.blast8
, read.psl
,
pslToRangedObject
, pairUpAlignments
1 2 3 4 |
read.BAMasPSL(bamFile="processed.*.bam$")
read.BAMasPSL(bamFile=c("sample1hits.bam","sample2hits.bam"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.