See the package vignette for detailed information on the file format and its representation as an R object.
read_paf(file_name, tibble = FALSE, include_tags = TRUE)
file_name | Path to the .paf file |
---|---|
tibble | logical If TRUE, the genomic alignments are returned as
a tidy |
include_tags | logical if TRUE (default) read additional information about each alignment encoded as PAF tags. Setting this to FALSE will speed up parsing of paf alignments, specially those with large CIGAR strings/ |
Either a pafr
object, which acts as a data.frame
, or a
tbl_df
containing information on genomic alignments. The contents of
this table are described in detail in the pafr package vingette.
#> pafr object with 2501 alignments (36.5Mb) #> 8 query seqs #> 8 target seqs #> 11 tags: NM, ms, AS, nn, tp, cm, s1, s2, dv, cg, zd