Skip to content

Taking subsequence of tree sequence object #2753

Answered by jeromekelleher
mshpak76 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, you should probably add simplify=False to keep_intervals. Otherwise I think your populations may be renumbered as a result.

This is quite confusing behaviour, I think you're not the first person to get tripped up on it! I seem to remember we had a discussion about this recently, but can't find it.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@molpopgen
Comment options

@jeromekelleher
Comment options

@mshpak76
Comment options

@jeromekelleher
Comment options

Answer selected by hyanwong
@mshpak76
Comment options

@petrelharp
Comment options

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