Closed fedarko closed 7 years ago
An oversight I realized -- since collapsed node groups don't have "label" or "length" data, exporting AGP paths containing collapsed node groups will cause problems (undefined
segments in the data, for one).
Fixes for this:
/[BFCY]\d/
, and if so we know that the given node is a collapsed node group of the corresponding type.)length
attribute which'll be the sum of all its child contig lengths, and to use this length attribute when creating AGP files.wait didn't mean to do that
forgot to mention it in the commit message, but this has been closed by 4fdc120.
This has been on the docket for a while. Gonna take care of it soon.
See the AGP specification for details. I guess we'd export node labels for GML input files and node IDs for other input files.
The main thing I'm unsure about is whether or not to prefix node IDs with anything (e.g.
NODE_-5
instead of just-5
). Will look around a bit to find out.