Skip to content

Collapse equivalent edges/blocks for EP #513

@nspope

Description

@nspope

Applying hard-masking to tree sequences will result in many split small edges, especially if the mask is fine-scale. It'd be better for the EP algorithm to collapse equivalent edges---those with the same parent and child node---prior to EP, by summing the observed and expected mutational target. This is trivial to do, and will both reduce the runtime and make EP more stable. The catch is that singleton edges need to be handled separately because of how the phase-agnostic algorithm works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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