fetchChromSizes {CNEr} | R 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")

[Package CNEr version 1.20.0 Index]