Skip to content

Calculating inbreeding coefficients from pedigrees #2711

Discussion options

You must be logged in to vote

Hi @JimmyPeniston 👋

We don't have any code for directly computing pedigree statistics in tskit, but there are some very powerful methods in sgkit like pedigree_inbreeding which will hopefully do what you need.

The sgkit code has just been released and I don't think anyone has linked up simulations with it yet. I guess the main thing is whether SLiM saves the pedigree information in the individual table (which I'm not sure about).

Can you run a very small example, and print out the contents of the individual and node tables here please (e.g. print(ts.tables.nodes))? Hopefully hooking the tskit data to sgkit will then be fairly straightforward.

This is probably quite a useful thing in gener…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@jeromekelleher
Comment options

@JimmyPeniston
Comment options

@jeromekelleher
Comment options

@JimmyPeniston
Comment options

@timothymillar
Comment options

Answer selected by JimmyPeniston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants