View source: R/breakPafAlignment.R
breakPaf | R Documentation |
breakPafAlignment
expanding multiple PAF alignments
into a set of matching bases between query and target sequence.A wrapper function for breakPafAlignment
expanding multiple PAF alignments
into a set of matching bases between query and target sequence.
breakPaf(
paf.table = NULL,
min.deletion.size = 50,
min.insertion.size = 50,
collapse.mismatches = TRUE,
report.sv = TRUE
)
paf.table |
A |
min.deletion.size |
A minimum size (in base pairs) of a deletion to be retained. |
min.insertion.size |
A minimum size (in base pairs) of an insertion to be retained. |
collapse.mismatches |
Set to |
report.sv |
Set to |
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 break
paf.file <- system.file("extdata", "test1.paf", package = "SVbyEye")
## Read in PAF alignment
paf.table <- readPaf(paf.file = paf.file)
## Break PAF alignment at indels of 20 bp and longer
breakPaf(paf.table = paf.table, min.deletion.size = 20, min.insertion.size = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.