Skip to content
Prev 2728 / 21312 Next

[Bioc-devel] seqnames missing in headerTabix()

Hi,
thanks for the answer. The download worked fine (sorry I deleted the
output off the download).

In between time I figured out the problem. The file was not bgzip.

$ ./tabix -p gff ../Drosophila_melanogaster.BDGP5.25.62.gtf.gz
[tabix] was bgzip used to compress this
file? ../Drosophila_melanogaster.BDGP5.25.62.gtf.gz

I fixed it with 

$ (grep ^"#" ../Drosophila_melanogaster.BDGP5.25.62.gtf; grep -v
^"#" ../Drosophila_melanogaster.BDGP5.25.62.gtf | sort -k1,1 -k4,4n)
| ./bgzip > ../Drosophila_melanogaster.BDGP5.25.62.gtf.bgz

$ ./tabix ../Drosophila_melanogaster.BDGP5.25.62.gtf.bgz -p gff

There is nothing written about bgzip in the ?TabixFile manual page and
the file extension of example.gtf.gz is misleading.
I never had a look at the ?indexTabix manual page, where it is clearly
written that it has to be bgzip.

Is it possible to forward the error message in future somehow?

I have to mention, that Rsamtools is just great. Thanks a lot for it.
Greetings
Anita
On Tue, 2011-08-23 at 09:14 -0700, Valerie Obenchain wrote: