ExtractChrinfo: Extracting the chromosomes information from the indexed BAM...

Description Usage Arguments Value Examples

View source: R/readChr.R

Description

Extracting the chromosomes information from the indexed BAM file, including names and length.

Usage

1
ExtractChrinfo(in_bamfile)

Arguments

in_bamfile

A indexed BAM file, and the index files (.bai) must be in the same directory of the indexed BAM

Value

A data.table with chromosomes names and length

Examples

1
chr_info <- ExtractChrinfo("input/test.sorted.bam")

HHengUG/hatpal2 documentation built on Dec. 17, 2021, 10:26 p.m.