This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Converting binary GFF3 to text

I'm trying to look at the features of S. Pombe's genome but the GFF3 annotation file (downloaded from here) seems to be binary. This is weird because I know GFF files are text files. How can I convert it to a tab-delimited text file?

gff annotation

PomBase files appear to be corrupt. In my haste I tried unzip instead of gunzip. @Michael has directions for what you need to do.

As an alternate: Ensembl also has the Pombe gff files.

Thank you! Both of these solutions worked.

2 answers

$ file schizosaccharomyces_pombe.chr.gff3
schizosaccharomyces_pombe.chr.gff3: gzip compressed data, from Unix, last modified: Thu Oct 20 13:14:13 2016
$ mv  schizosaccharomyces_pombe.chr.gff3 schizosaccharomyces_pombe.chr.gff3.gz
SunTzu:Downloads$  gunzip schizosaccharomyces_pombe.chr.gff3.gz

Instead of keeping this question labeled "unanswered", I'll copy Michael's answer from the comments.

Basically, the PomBase file is gzip compressed but not labelled appropriately:

$ mv pombe.gff3 pombe.gff3.gz; gunzip pombe.gff3.gz

Go ahead and accept @Michael's answer and I can delete these two posts.

Log in to answer this question.