This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Conversion Of Grangeslist To Gff File

Hello!

I work with the RNA Seq data from F.catus (cat). I need a GFF file. Does anyone know a way or already existing method how to produce such a file. I can read into R a GRangesList object from Biomart which contains annotated cat genes. Is there a way to convert GRangesList object to a GFF file?

Thank you!

gff conversion r

have you looked at the granges reference and gff format spec? http://www.bioconductor.org/packages/release/bioc/html/GenomicRanges.html and http://www.sanger.ac.uk/resources/software/gff/spec.html ? it seems like most people do their processing within R so they are mostly looking to import gff instead of export if you want the annotations you might want to check out http://genome.ucsc.edu/cgi-bin/hgTables?command=start or http://uswest.ensembl.org/biomart/martview

1 answer

I think you need rtracklayer and check the function export.gff. This package works with Granges which you already have and you can export to a variety of formats. I used it to export GRanges to a bed file. Also Check this question.

Cheers

Log in to answer this question.