View source: R/ThreeMostPairBam.R
ThreeMostPairBam | R Documentation |
extract 3 prime most alignment of a paired-end bam file and saved into a new bam file.
ThreeMostPairBam(BamfilePath, OutDirPath, StrandType="NONE")
BamfilePath |
file path of a bam file |
OutDirPath |
output folder path |
StrandType |
strand type of the bam file; "forward-reverse": read 1 forward but read 2 is reverse sequencing, "reverse-forward": read 2 forward but read 1 is reverse sequencing, and "NONE" is non-strand specific, Default is "NONE". |
The function ThreeMostPairBam()
return a single-end bam file
containning 3 prime most alignment of the input paired-end file
Ruijia Wang
## Extract 3 prime most alignment of a paired-end
## bam file and saved into a new bam file
library("pasillaBamSubset")
ThreeMostPairBam (BamfilePath=untreated3_chr4(),
OutDirPath=getwd(),
StrandType='forward-reverse')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.