tskit icon indicating copy to clipboard operation
tskit copied to clipboard

Record provenance for TableCollection operations

Open jeromekelleher opened this issue 6 years ago • 1 comments

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.

jeromekelleher avatar Jan 10 '19 11:01 jeromekelleher

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.

hyanwong avatar Jun 19 '19 14:06 hyanwong