Skip to content

How should I decide the number of Segregating sites? #76

Answered by gaynorr
alanaselli asked this question in Q&A
Discussion options

You must be logged in to vote

AlphaSimR itself doesn't track physical base pair position. It only tracks genetic map position, because that is what really matters when modeling recombination. The order is the same for both, so AlphaSimR is tracking the physical ordering of loci. To get base pair positions, you have to convert genetic map positions to physical base pair positions. How you do this depends on how the simulation was created. If you create a simulation using external genotype data, you probably already have the base pair positions. However, I'm assuming you are more likely to be using MaCS via runMacs or runMacs2, so I'll show how to handle this case.

The first thing to note is that MaCS also doesn't track…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@alanaselli
Comment options

Comment options

You must be logged in to vote
1 reply
@alanaselli
Comment options

Answer selected by alanaselli
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