gtf2ids: Extract matching transcript and gene IDs from a GTF file.

View source: R/input.R

gtf2idsR Documentation

Extract matching transcript and gene IDs from a GTF file.

Description

Previously named annot2ids(). The old name will be discontinued.

Usage

gtf2ids(annotfile, transc_header = "target_id", gene_header = "parent_id")

Arguments

annotfile

A GTF file.

transc_header

The title for the transcripts column in the output. (target_id)

gene_header

The title for the genes column in the output. (parent_id)

Details

GFF3 not supported.

Value

A data.table with two columns, matching transcript IDs to gene IDs.


bartongroup/RATS documentation built on June 8, 2022, 12:40 a.m.