gtf_to_gff3 {Rgff}R Documentation

Converts a GTF file into a GFF3 file

Description

This function converts a GTF file into a GFF3 file mantaining the feature hierarchy defined by the gene_id and transcript_id attributes. The remaining attributes of each feature will be kept with the same name and value.

Usage

gtf_to_gff3(gtfFile, outFile, forceOverwrite = FALSE)

Arguments

gtfFile

Path to the input GTF file

outFile

Path to the output GFF3 file, inf not provided the output will be gtfFile.gff3

forceOverwrite

If output file exists, overwrite the existing file. (default FALSE)

Value

Path to the generated GFF3 file

Examples

## Not run: 
test_gtf<-system.file("extdata", "AthSmall.gtf", package="Rgff")
gtf_to_gff3(test_gtf)

## End(Not run)

[Package Rgff version 0.1.6 Index]