tskit
tskit copied to clipboard
Record provenance for TableCollection operations
Add provenance recording for operations on the TableCollection class that change the state, e.g., simplify, sort, compute_mutation_parents and deduplicate_sites. Also include a record_provenance=True parameter like TreeSequence.simplify.
See https://github.com/tskit-dev/tskit/pull/243 for an initial PR suggesting a universal function that does this from TreeSequences. It should be relatively easy to modify it for a TableCollection method.