to write a GTF file in R; taken from https://r-forge.r-project.org/scm/viewvc.php/pkg/R/read.GTF.R?view=markup&revision=2&root=qrnaseq&pathrev=2