Skip to content

CS might add links where none are given from odgi bin #48

Description

@subwaystation

Test data set:
svg_opg1_issue_12052020.zip

Command lines used:

odgi build -g svg1.gfa -o svg1.gfa.og
/home/heumos/git/odgi/bin/odgi bin -i svg1.gfa.og -f svg1.gfa.og.fasta -j -w 1 -s -g > svg1.gfa.og.w1.g.json
/home/heumos/git/odgi/bin/odgi bin -i svg1.gfa.og -f svg1.gfa.og.fasta -j -w 1 -s > svg1.gfa.og.w1.json
python ~/git/component_segmentation/segmentation.py -j svg1.gfa.og.w1.json -f svg1.gfa.og.fasta -o ./cs_svg1_issue_12052020

In the resulting JSON output, from e.g. line 182, I can observe the following:

                    "upstream": 4,
                    "downstream": 5,
                    "participants": [
                        true,
                        true,
                        false
                    ]

But if you take a look at the odgi bin output, with including -g option, only 2 links for participant number 3 aka 6 are listed. No links at all should be present for the first two paths. So I am wondering where these links should come from? Am I missing something? @josiahseaman

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions