readPaf | R Documentation |
This function takes an PAF output file from minimap2 and loads the file along with user defined set of additional alignment tags (see PAF specification).
readPaf(
paf.file = NULL,
include.paf.tags = TRUE,
restrict.paf.tags = c("NM", "cg")
)
paf.file |
A path to a PAF file containing alignments to be loaded. |
include.paf.tags |
Set to |
restrict.paf.tags |
Define a set of PAF tag ids (e.g. NM, cg) to be reported in the output. |
A tibble
of loaded PAF alignments
David Porubsky
## Get PAF to read in ##
paf.file <- system.file("extdata", "test1.paf", package = "SVbyEye")
## Read in PAF
paf.table <- readPaf(paf.file = paf.file)
## Read in PAF including all tags
paf.table <- readPaf(paf.file = paf.file, include.paf.tags = TRUE)
## Read in PAF including CIGAR string only
paf.table <- readPaf(paf.file = paf.file, include.paf.tags = TRUE, restrict.paf.tags = "cg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.