[Biopython] pd.df.to_csv(..., compression="bgzip")?

Dan Bolser dan.bolser at outsee.co.uk
Wed Mar 13 06:04:34 EDT 2024


bgzip is a 'bio' thing, so thought I'd ask here. It's perhaps not
'biopython', but it's bio/python.

On Tue, 12 Mar 2024 at 19:11, Sean Brimer <skbrimer at gmail.com> wrote:

> Hi Dan,
>
> This feels more like a panda's issue than a biopython issue. That said, I
> think you could just use gzip. I think. bgzip for samtools was built on top
> of gzip so it probably decompresses in a similar way.
>
> On Tue, Mar 12, 2024 at 12:52 PM Dan Bolser <dan.bolser at outsee.co.uk>
> wrote:
>
>> Hi,
>>
>> I can pass `compression="gzip"` to pandas.DataFrame.to_csv, but not
>> bgzip... how to update pandas to support bgzip?
>>
>>
>> Thanks,
>> _______________________________________________
>> Biopython mailing list  -  Biopython at biopython.org
>> https://mailman.open-bio.org/mailman/listinfo/biopython
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20240313/527ba16f/attachment.htm>


More information about the Biopython mailing list