Skip to content

arg_to_tskit fails with more than one mutation per site #131

@petrelharp

Description

@petrelharp

For instance, running the example with --add_mutations on the convert call (and without --fit_to_data) fails with:

_tskit.LibraryError: Duplicate site positions. (TSK_ERR_DUPLICATE_SITE_POSITION)

Note that in tskit, each site is represented once so that all mutations at a given genomic position refer to the same site.

Perhaps this is not urgent because this workflow (without --fit_to_data) isn't recommended? If there is any threads or arg-needle-lib workflow that produces sites with multiple mutations, then this would be nice to have?

Happy to consult if it's not obvious what to do here - I haven't looked at the code.

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