View source: R/pafAlignmentToBins.R
pafAlignmentToBins | R Documentation |
Function to break PAF alignment into matching bases between query and target sequence. In addition, locations of inserted bases in query and target sequence can be reported as well.
pafAlignmentToBins(paf.aln = NULL, binsize = 10000)
paf.aln |
A |
binsize |
A size of a bin in base pairs to split a PAF alignment into. |
A tibble
object storing binned PAF alignments.
David Porubsky
## Get PAF to bin ##
paf.file <- system.file("extdata", "test3.paf", package = "SVbyEye")
## Read in PAF
paf.table <- readPaf(paf.file = paf.file, include.paf.tags = TRUE, restrict.paf.tags = "cg")
## Split a single PAF alignment into user defined bins
pafAlignmentToBins(paf.aln = paf.table[1, ], binsize = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.