Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

seqnamesTabix

Retrieve sequence names defined in a tabix file.


Description

This function queries a tabix file, returning the names of the ‘sequences’ used as a key when creating the file.

Usage

seqnamesTabix(file, ...)
## S4 method for signature 'character'
seqnamesTabix(file, ...)

Arguments

file

A character(1) file path or TabixFile instance pointing to a ‘tabix’ file.

...

Additional arguments, currently ignored.

Value

A character() vector of sequence names present in the file.

Author(s)

Martin Morgan <mtmorgan@fhcrc.org>.

Examples

fl <- system.file("extdata", "example.gtf.gz", package="Rsamtools",
                  mustWork=TRUE)
seqnamesTabix(fl)

Rsamtools

Binary alignment (BAM), FASTA, variant call (BCF), and tabix file import

v2.6.0
Artistic-2.0 | file LICENSE
Authors
Martin Morgan, Hervé Pagès, Valerie Obenchain, Nathaniel Hayden
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.