# Module fwdpy11.tskit_tools¶

This module contains various things to help interact with tskit.

New in version 0.8.0.

The following are boolean flags that are used to populate the flags colummn of a tskit.IndividualTable. The flags represent individuals alive at the end of the simulation, those preserved as ancient samples, and those from the very first generation of the simulation, respectively. See here for why the last class of preserved samples are special.

fwdpy11.tskit_tools.INDIVIDUAL_IS_ALIVE
fwdpy11.tskit_tools.INDIVIDUAL_IS_PRESERVED
fwdpy11.tskit_tools.INDIVIDUAL_IS_FIRST_GENERATION