BandageNG icon indicating copy to clipboard operation
BandageNG copied to clipboard

[RFC] Load graphs and paths in 'vg' format

Open asl opened this issue 2 years ago • 2 comments

@ekg Do you think it will be useful?

asl avatar Jul 14 '22 11:07 asl

I don't think so. It's equivalent to GFA. So is the odgi format and other custom indexes.

One thing that might help in reducing memory would be to load the GBZ format. Then you get compressed paths in low memory. That's also equivalent to GFA but then you're winning with the succinct data model.

On Thu, Jul 14, 2022, 13:47 Anton Korobeynikov @.***> wrote:

@ekg https://github.com/ekg Do you think it will be useful?

— Reply to this email directly, view it on GitHub https://github.com/asl/BandageNG/issues/89, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABDQEN7MTCDWSH6YNYMSXDVT746XANCNFSM53R7EZBQ . You are receiving this because you were mentioned.Message ID: @.***>

ekg avatar Jul 14 '22 12:07 ekg

Well, it is equivalent, yes. However if things are already in 'vg' format then one would essentially skip the conversion from vg to GFA. Certainly it does not sense to support all plethora of possible custom formats here and there, however, I'm thinking that supporting few most widely used might improve the user experience.

We do support gzip-compressed GFAs now and after some recent improvements the memory consumption was significantly reduced, so I think we are ok so far. Unless you're having some examples where we might want to reduce memory consumption :)

asl avatar Jul 14 '22 12:07 asl