pyslim is a small python package to help analyse and manipulate tree sequences produced by SLiM, e.g., to identify individuals alive at a particular time, or to recapitate the results of a SLiM simulation.
rts = pyslim.recapitate(
ts,
ancestral_Ne=10000
)