Description Usage Arguments Details Value See Also Examples
View source: R/funclib_polyAtailor.R
Each chromosome was traversed and PA sites were identified by a-rich at the end. Note that the BAM file needs to be indexed.
1 | findPAs(chrinfo, bamfile, resultpath, count)
|
chrinfo |
The path of chrinfo file. |
bamfile |
The path of bam file. |
resultpath |
The path of result file. |
count |
Boolean parameter. If count=T, the PA list after the count will be returned. There will be one more column of count in the PA list. If count=F, all PA site information is returned without counting. |
The findPAs function takes the information from the BAM file and the CHRinfo file that you input, calculates the PA site for each read based on the A-rich in the sequence, and consolidates and saves the PA sites information to the result path that you specify.
Save the calculated PA site results to the result path that you specify.
[findAndAnnoPAs()] to quantitative tails without sequence algin.
Other poly(A) sites detection functions:
findAndAnnoPAs()
1 2 3 4 5 6 | bamfilepath = system.file("extdata", "./GV_algin/PAIso-GV1.sorted.bam",
package = "PolyAtailor", mustWork = TRUE)
chrinfopath = system.file("extdata", "./GV_algin/chrinfo.txt", package =
"PolyAtailor", mustWork = TRUE)
resultpath = "./"
test <- findPAs(chrinfo=chrinfopath,bamfile=bamfilepath,resultpath=resultpath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.