Skip to content

Multiple chromosomes with pedigree builder #2081

Answered by lakishadavid
lakishadavid asked this question in Q&A
Discussion options

You must be logged in to vote

Update: I now have the multiple chromosomes from the adapted example working. I was missing the trim() method from keep_intervals. This produces the appropriate sequence length for chromosome 5, etc.

ts5 = ts.keep_intervals([[chrom_positions[4], chrom_positions[5]]], simplify=False).trim()
ts5

I'm now left to figure out how to correct the # Missing regions of the genome other than the flanks are currently not supported. error from the code in my original question when I try to use the HapMap genetic maps instead.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@apragsdale
Comment options

@lakishadavid
Comment options

@apragsdale
Comment options

@lakishadavid
Comment options

@apragsdale
Comment options

Comment options

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

@lakishadavid
Comment options

@jeromekelleher
Comment options

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