gtf_to_gff3 | R Documentation |
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.
gtf_to_gff3(gtfFile, outFile, forceOverwrite = FALSE)
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) |
Path to the generated GFF3 file
## Not run: test_gtf<-system.file("extdata", "AthSmall.gtf", package="Rgff") gtf_to_gff3(test_gtf) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.