fetchChromSizes: fetchChromSizes function.

View source: R/utils.R

fetchChromSizesR Documentation

fetchChromSizes function.

Description

This function tries to automate the fetch of chromosome sizes for assemblies from UCSC.

Usage

  fetchChromSizes(assembly)

Arguments

assembly

A character object: the canonical name of assembly, i.e., ‘hg19’ for UCSC.

Details

This function downloads ‘chromInfo.txt.gz’ from UCSC golden path for UCSC assemblies.

Value

A object of Seqinfo is returned.

Note

Currently, the assemblies from UCSC are supported.

Author(s)

Ge Tan

Examples

  
    fetchChromSizes("hg19")
    fetchChromSizes("mm10")
  

ge11232002/CNEr documentation built on Oct. 26, 2022, 7:08 p.m.