Skip to content

Existing alleles incompatible with mutation model alphabet #2089

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

You must be logged in to vote

Hi, @mshpak76! This is because mutations generated by SLiM do not have 0/1 alleles - SLiM needs to store a lot more information about the mutations. This is covered, for instance, here. The reason you get the error only sometimes is that sometimes when you add mutations, no mutations land on previously-mutated sites, and so sim_mutations never notices that there's existing alleles it doesn't know how to make sense of.

So, probably what you want to do is to add mutations using the SLiM Mutation Model. However, you should think carefully about what's going on here - if you add more mutations to an already-mutated site under selection, that means that there were neutral mutations at that sam…

Replies: 1 comment 3 replies

Comment options

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

@petrelharp
Comment options

@mshpak76
Comment options

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