pytabix
pytabix copied to clipboard
Show file header
Hi,
pytabix is very useful, thanks for developing it. However I have one issue:
Is there a way to access the header line of the input data file? I am working with tsv-files with may columns and it would be very useful to see the orignal header line.
For example, something like: import tabix tb = tabix.open("infile.tsv.gz") chunk = tb.query("Chr1",10000,20000) print tb.header
or:
print chunk.header
Thanks, Hannes
Thanks, Hannes! I also want this feature, so I'll let you know when I get there.
Hi yes any progress on this? It is quite an essential feature I think!
@pontikos I'd be very happy to review and accept a pull request!