You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allow generate_nucleotides to only generate nucleotides for some mutation types? #436
It might be useful to add a mutation_type parameter here. Sometimes people want some mutations to have nucleotides, and others (marker mutations indicating chromosomal inversion points, for example) not to. So being able to attach nucleotides to some mutation types and not others would perhaps be helpful for some.
I'm not sure if this would really fix the potential issue, because these mutations would still show up in VCF output
Yeah. Various ways to cope with that, but they are additional work of course. I can imagine:
a pyslim write_vcf() method that lets you select mutation type(s) or mutations by mutation ID, etc.
OR
extending the tskit write_vcf() to allow a list of mutation (tskit) ids to be passed in, plus a pyslim method that looks up tskit mutation ids corresponding to SLiM mutation type(s) or SLiM mutation IDs.
But maybe not worth the trouble, at least until someone asks for it. Feel free to close this if you think it is going nowhere. :->
Activity
bhaller commentedon Aug 23, 2026
Yeah. Various ways to cope with that, but they are additional work of course. I can imagine:
OR
But maybe not worth the trouble, at least until someone asks for it. Feel free to close this if you think it is going nowhere. :->