fedarko / MetagenomeScope

Hierarchical scaffold/assembly graph web visualization tool. As of August 9, 2017, the official repository for this has moved to MarBL! Use that repository instead :)
http://github.com/marbl/MetagenomeScope
GNU General Public License v3.0
0 stars 0 forks source link

Add AGP file export functionality for finished paths #242

Closed fedarko closed 7 years ago

fedarko commented 7 years ago

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.

fedarko commented 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:

fedarko commented 7 years ago

wait didn't mean to do that

fedarko commented 7 years ago

forgot to mention it in the commit message, but this has been closed by 4fdc120.