Skip to content

Feature request: least common ancestor for equally scoring haplogroups #31

@stephenturner

Description

@stephenturner

The feature released in 497cf6c in response to #12 allows for the export of the best n haplogroups.

When running with microarray data using the --chip flag, often there are many equally top-ranked haplogroups with the same score, due to the variants on the array being too low-resolution to distinguish between different leaves on the phylogeny.

We have implemented a post-hoc LCA approach where we first parse Phylotree to JSON, then traverse the tree given multiple haplogroups to find the LCA haplogroup node for all the supplied haplogroups.

Having this functionality natively implemented could be useful. I could imagine this option (e.g. --lca) could be exclusive with the --hits option.

Feel free to close this issue if this feature request is beyond the scope of haplogrep itself. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions