Open ekg opened 4 years ago
Size estimates. GFA is 87MB. vg convert
used 2GB and locked up my system. xg -g ... -o ...
used about 150MB. vg chunk
used about 2GB of memory before I killed it.
I already mentioned this in the chat, for the sake of transparency: the new vg convert
options use the XG
's from_gfa
method:
https://github.com/vgteam/vg/blob/master/src/subcommand/convert_main.cpp#L124
It looks like our xg
submodule is basically up-to-date, so I'm not sure what could be causing the discrepancy.
I'm trying to chunk a small graph.
I wanted to use
vg convert
to make an xg index, but it uses a huge amount of memory.The xg from GFA construction in the xg repo uses around the same amount of memory as the size of the GFA, so I was able to use that.
But, when loading the graph into vg convert, I get this:
It did seem to work, but it was using a huge amount of RAM again, maybe to do the conversion?
How can we fix some part of this?