flipPaf | R Documentation |
This function takes loaded PAF alignments using readPaf
function and flips
the orientation of PAF alignments given the desired 'majority.strand' orientation (Either '+' or '-').
flipPaf(paf.table, majority.strand = NULL, force = FALSE, flip.seqnames = NULL)
paf.table |
A |
majority.strand |
A desired majority strand directionality to be reported. |
force |
Set to |
flip.seqnames |
User defined query or target sequence IDs to be flipped in orientation. |
A tibble
of PAF alignments flipped based on desired majority strand orientation.
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")
## Force to flip PAF alignments
flipPaf(paf.table = paf.table, force = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.