View source: R/pafAlignmentToBins.R
pafToBins | R Documentation |
pafAlignmentToBins
binning multiple PAF alignments
into a set of binned alignments between query and target sequence.A wrapper function for pafAlignmentToBins
binning multiple PAF alignments
into a set of binned alignments between query and target sequence.
pafToBins(paf.table = NULL, binsize = 10000)
paf.table |
A |
binsize |
A size of a bin in base pairs to split a PAF alignment into. |
A list
of tibble
objects storing matched ('M') alignments as well as structurally variable ('SV') bases if 'report.sv' is TRUE.
David Porubsky
## Get PAF to bin ##
paf.file <- system.file("extdata", "test1.paf", package = "SVbyEye")
## Read in PAF
paf.table <- readPaf(paf.file = paf.file, include.paf.tags = TRUE, restrict.paf.tags = "cg")
## Split multiple PAF alignments into user defined bins
pafToBins(paf.table = paf.table, binsize = 10000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.