graph-genome / component_segmentation

Read in ODGI Bin output and identify co-linear components
Apache License 2.0
3 stars 4 forks source link

v14: pre-render information in output files #43

Closed josiahseaman closed 4 years ago

josiahseaman commented 4 years ago

In order to speed up Schematize, cumulative X coordinates will be included in all the data files. This will bump JSON_VERSION to 14.

bin2file.json

"zoom_levels":{
    "100": [
        { "components": 12
        "link_columns": 5,
        "file": "chunk04_bin100.json"
        }, ...
    ]
}

chunk04_bin100.json

"components":
[
    {"first_bin":154,
    "last_bin":165,
    "x": 573