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.
For instance, running the example with
--add_mutationson theconvertcall (and without--fit_to_data) fails with: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 anythreadsorarg-needle-libworkflow 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.