getSeqlengths4assembly: getSeqlengths4assembly

View source: R/genomicRegions.R

getSeqlengths4assemblyR Documentation

getSeqlengths4assembly

Description

retrieve chromosomes/contigs and their sequence lengths for known assemblies

Usage

getSeqlengths4assembly(assembly, onlyMainChrs = FALSE, adjChrNames = TRUE)

Arguments

assembly

assembly

onlyMainChrs

should only main chromosomes, i.e. chr[1-N] + chr[XYM] be returned (e.g. not ChrUn*, *_random, ...)

adjChrNames

should the prefix "chr" be added to main chromosomes if not already present and chrMT be renamed to chrM?

Value

named vector of chromosomes/contigs and sequence lengths


demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.