chrom_sizes {pafr}R Documentation

Extract the sizes of all sequences in a paf alignment

Description

Extract the sizes of all sequences in a paf alignment

Usage

chrom_sizes(ali)

Arguments

ali

pafr or tibble containing the genome alignment (as returned by read_paf)

Value

list with two elements (tlens and qlens) Each element is a dataframe with one column of sequence names and another column containing the length of each sequence

Examples

ali <- read_paf( system.file("extdata", "fungi.paf", package="pafr") )
chrom_sizes(ali)

[Package pafr version 0.0.2 Index]