Skip to content

ARG conversion functionality #44

@hyanwong

Description

@hyanwong

Over in https://github.com/tskit-dev/what-is-an-arg-paper/blob/main/argutils/convert.py we have some utilities to convert KwARG and ARGweaver files into ARG-format tree sequences. There is also a conversion-from-ARGweaver function associated with Guo and Rassmussen's SCAR which has simply lifted the code I wrote in https://github.com/mcveanlab/treeseq-inference/blob/master/src/ts_ARGweaver.py.

I think it would be useful, rather than reusing random bits of untested code, to have some of these in tsconvert. One question is whether we use the 2-RE-node representation (I guess yes, as this allows us to calculate the likelihood).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions