paf2gaps | R Documentation |
This function takes loaded PAF alignments using readPaf
function and then reports all gaps
in subsequent target and query alignments and classify them as either deletions ('D') or insertions ('I').
paf2gaps(paf.table, min.gap.diff = NULL)
paf.table |
A |
min.gap.diff |
A user defined minimum gap size difference in target and query coordinates (and vice versa) to be retained. |
A tibble
of PAF alignment gaps.
David Porubsky
## Get PAF to process ##
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")
## Report gaps between PAF alignments
paf2gaps(paf.table = paf.table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.